| OLD | NEW |
| 1 /* | 1 /* |
| 2 * blapit.h - public data structures for the freebl library | 2 * blapit.h - public data structures for the freebl library |
| 3 * | 3 * |
| 4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
| 5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 7 | 7 |
| 8 #ifndef _BLAPIT_H_ | 8 #ifndef _BLAPIT_H_ |
| 9 #define _BLAPIT_H_ | 9 #define _BLAPIT_H_ |
| 10 | 10 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 typedef struct MD5ContextStr MD5Context; | 234 typedef struct MD5ContextStr MD5Context; |
| 235 typedef struct SHA1ContextStr SHA1Context; | 235 typedef struct SHA1ContextStr SHA1Context; |
| 236 typedef struct SHA256ContextStr SHA256Context; | 236 typedef struct SHA256ContextStr SHA256Context; |
| 237 /* SHA224Context is really a SHA256ContextStr. This is not a mistake. */ | 237 /* SHA224Context is really a SHA256ContextStr. This is not a mistake. */ |
| 238 typedef struct SHA256ContextStr SHA224Context; | 238 typedef struct SHA256ContextStr SHA224Context; |
| 239 typedef struct SHA512ContextStr SHA512Context; | 239 typedef struct SHA512ContextStr SHA512Context; |
| 240 /* SHA384Context is really a SHA512ContextStr. This is not a mistake. */ | 240 /* SHA384Context is really a SHA512ContextStr. This is not a mistake. */ |
| 241 typedef struct SHA512ContextStr SHA384Context; | 241 typedef struct SHA512ContextStr SHA384Context; |
| 242 typedef struct AESKeyWrapContextStr AESKeyWrapContext; | 242 typedef struct AESKeyWrapContextStr AESKeyWrapContext; |
| 243 typedef struct SEEDContextStr SEEDContext; | 243 typedef struct SEEDContextStr SEEDContext; |
| 244 typedef struct ChaCha20Poly1305ContextStr ChaCha20Poly1305Context;» | 244 typedef struct ChaCha20Poly1305ContextStr ChaCha20Poly1305Context; |
| 245 | 245 |
| 246 /*************************************************************************** | 246 /*************************************************************************** |
| 247 ** RSA Public and Private Key structures | 247 ** RSA Public and Private Key structures |
| 248 */ | 248 */ |
| 249 | 249 |
| 250 /* member names from PKCS#1, section 7.1 */ | 250 /* member names from PKCS#1, section 7.1 */ |
| 251 struct RSAPublicKeyStr { | 251 struct RSAPublicKeyStr { |
| 252 PLArenaPool * arena; | 252 PLArenaPool * arena; |
| 253 SECItem modulus; | 253 SECItem modulus; |
| 254 SECItem publicExponent; | 254 SECItem publicExponent; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 int, | 415 int, |
| 416 unsigned int , | 416 unsigned int , |
| 417 unsigned int ); | 417 unsigned int ); |
| 418 typedef SECStatus (*BLapiEncrypt)(void *cx, unsigned char *output, | 418 typedef SECStatus (*BLapiEncrypt)(void *cx, unsigned char *output, |
| 419 unsigned int *outputLen, | 419 unsigned int *outputLen, |
| 420 unsigned int maxOutputLen, | 420 unsigned int maxOutputLen, |
| 421 const unsigned char *input, | 421 const unsigned char *input, |
| 422 unsigned int inputLen); | 422 unsigned int inputLen); |
| 423 | 423 |
| 424 #endif /* _BLAPIT_H_ */ | 424 #endif /* _BLAPIT_H_ */ |
| OLD | NEW |