mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
Fixed the comment. The length of the secret may be larger than 64 bytes.
This commit is contained in:
parent
e151b93125
commit
869ca6f82b
@ -46,9 +46,9 @@ HMAC_Destroy(HMACContext *cx);
|
||||
* hash_alg the algorithm with which the HMAC is performed. This
|
||||
* should be, SEC_OID_MD5, SEC_OID_SHA1, or SEC_OID_MD2.
|
||||
* secret the secret with which the HMAC is performed.
|
||||
* secret_len the length of the secret, limited to at most 64 bytes.
|
||||
* secret_len the length of the secret.
|
||||
*
|
||||
* NULL is returned if an error occurs or the secret is > 64 bytes.
|
||||
* NULL is returned if an error occurs.
|
||||
*/
|
||||
extern HMACContext *
|
||||
HMAC_Create(const SECHashObject *hashObj, const unsigned char *secret,
|
||||
|
Loading…
x
Reference in New Issue
Block a user