| OLD | NEW |
| 1 /* | 1 /* |
| 2 * crypto.h - public data structures and prototypes for the crypto library | 2 * blapi.h - public prototypes 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 _BLAPI_H_ | 8 #ifndef _BLAPI_H_ |
| 9 #define _BLAPI_H_ | 9 #define _BLAPI_H_ |
| 10 | 10 |
| 11 #include "blapit.h" | 11 #include "blapit.h" |
| 12 #include "hasht.h" | 12 #include "hasht.h" |
| (...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1601 /************************************************************************** | 1601 /************************************************************************** |
| 1602 * Verify Are Own Shared library signature * | 1602 * Verify Are Own Shared library signature * |
| 1603 **************************************************************************/ | 1603 **************************************************************************/ |
| 1604 PRBool BLAPI_VerifySelf(const char *name); | 1604 PRBool BLAPI_VerifySelf(const char *name); |
| 1605 | 1605 |
| 1606 /*********************************************************************/ | 1606 /*********************************************************************/ |
| 1607 extern const SECHashObject * HASH_GetRawHashObject(HASH_HashType hashType); | 1607 extern const SECHashObject * HASH_GetRawHashObject(HASH_HashType hashType); |
| 1608 | 1608 |
| 1609 extern void BL_SetForkState(PRBool forked); | 1609 extern void BL_SetForkState(PRBool forked); |
| 1610 | 1610 |
| 1611 #ifndef NSS_DISABLE_ECC |
| 1612 /* |
| 1613 ** pepare an ECParam structure from DEREncoded params |
| 1614 */ |
| 1615 extern SECStatus EC_FillParams(PLArenaPool *arena, |
| 1616 const SECItem *encodedParams, ECParams *params); |
| 1617 extern SECStatus EC_DecodeParams(const SECItem *encodedParams, |
| 1618 ECParams **ecparams); |
| 1619 extern SECStatus EC_CopyParams(PLArenaPool *arena, ECParams *dstParams, |
| 1620 const ECParams *srcParams); |
| 1621 #endif |
| 1622 |
| 1611 SEC_END_PROTOS | 1623 SEC_END_PROTOS |
| 1612 | 1624 |
| 1613 #endif /* _BLAPI_H_ */ | 1625 #endif /* _BLAPI_H_ */ |
| OLD | NEW |