зеркало из https://github.com/mozilla/pjs.git
Fixed the comment. The length of the secret may be larger than 64 bytes.
This commit is contained in:
Родитель
57d0b056c3
Коммит
36702e0594
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче