Index: nss/lib/freebl/blapi.h |
diff --git a/nss/lib/freebl/blapi.h b/nss/lib/freebl/blapi.h |
index c807b6df781079748cffbf3d722c743bb6bdd28b..97fa28b1ba097775e3305d87cc64b916dd1bd7c2 100644 |
--- a/nss/lib/freebl/blapi.h |
+++ b/nss/lib/freebl/blapi.h |
@@ -1,5 +1,5 @@ |
/* |
- * crypto.h - public data structures and prototypes for the crypto library |
+ * blapi.h - public prototypes for the freebl library |
* |
* This Source Code Form is subject to the terms of the Mozilla Public |
* License, v. 2.0. If a copy of the MPL was not distributed with this |
@@ -1608,6 +1608,18 @@ extern const SECHashObject * HASH_GetRawHashObject(HASH_HashType hashType); |
extern void BL_SetForkState(PRBool forked); |
+#ifndef NSS_DISABLE_ECC |
+/* |
+** pepare an ECParam structure from DEREncoded params |
+ */ |
+extern SECStatus EC_FillParams(PLArenaPool *arena, |
+ const SECItem *encodedParams, ECParams *params); |
+extern SECStatus EC_DecodeParams(const SECItem *encodedParams, |
+ ECParams **ecparams); |
+extern SECStatus EC_CopyParams(PLArenaPool *arena, ECParams *dstParams, |
+ const ECParams *srcParams); |
+#endif |
+ |
SEC_END_PROTOS |
#endif /* _BLAPI_H_ */ |