pkix_pl_bigint.h (799B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 /* 5 * pkix_pl_bigint.h 6 * 7 * Bigint Object Definitions 8 * 9 */ 10 11 #ifndef _PKIX_PL_BIGINT_H 12 #define _PKIX_PL_BIGINT_H 13 14 #include "pkix_pl_common.h" 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 struct PKIX_PL_BigIntStruct { 21 char *dataRep; 22 PKIX_UInt32 length; 23 }; 24 25 /* see source file for function documentation */ 26 27 PKIX_Error * 28 pkix_pl_BigInt_CreateWithBytes( 29 char *bytes, 30 PKIX_UInt32 length, 31 PKIX_PL_BigInt **pBigInt, 32 void *plContext); 33 34 PKIX_Error *pkix_pl_BigInt_RegisterSelf(void *plContext); 35 36 #ifdef __cplusplus 37 } 38 #endif 39 40 #endif /* _PKIX_PL_BIGINT_H */