| Index: nss/lib/cryptohi/keyhi.h
|
| diff --git a/nss/lib/cryptohi/keyhi.h b/nss/lib/cryptohi/keyhi.h
|
| index 88a77f15ce7caa20520905c623c502617b4fd19d..0ed3698ebf2dae2bb259a424eb440ae6baf43769 100644
|
| --- a/nss/lib/cryptohi/keyhi.h
|
| +++ b/nss/lib/cryptohi/keyhi.h
|
| @@ -37,6 +37,11 @@ extern SECStatus SECKEY_CopySubjectPublicKeyInfo(PLArenaPool *arena,
|
| extern SECStatus
|
| SECKEY_UpdateCertPQG(CERTCertificate * subjectCert);
|
|
|
| +/*
|
| +** Return the number of bits in the provided big integer. This assumes that the
|
| +** SECItem contains a big-endian number and counts from the first non-zero bit.
|
| +*/
|
| +extern unsigned SECKEY_BigIntegerBitLength(const SECItem *number);
|
|
|
| /*
|
| ** Return the strength of the public key in bytes
|
| @@ -255,6 +260,14 @@ extern int SECKEY_ECParamsToKeySize(const SECItem *params);
|
| */
|
| extern int SECKEY_ECParamsToBasePointOrderLen(const SECItem *params);
|
|
|
| +/*
|
| + * Returns the object identifier of the curve, of the provided
|
| + * elliptic curve parameters structures.
|
| + *
|
| + * Return 0 on failure (unknown EC domain parameters).
|
| + */
|
| +SECOidTag SECKEY_GetECCOid(const SECKEYECParams * params);
|
| +
|
| SEC_END_PROTOS
|
|
|
| #endif /* _KEYHI_H_ */
|
|
|