| Index: openssl/doc/crypto/hmac.pod
|
| ===================================================================
|
| --- openssl/doc/crypto/hmac.pod (revision 105093)
|
| +++ openssl/doc/crypto/hmac.pod (working copy)
|
| @@ -15,12 +15,12 @@
|
|
|
| void HMAC_CTX_init(HMAC_CTX *ctx);
|
|
|
| - void HMAC_Init(HMAC_CTX *ctx, const void *key, int key_len,
|
| + int HMAC_Init(HMAC_CTX *ctx, const void *key, int key_len,
|
| const EVP_MD *md);
|
| - void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int key_len,
|
| + int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int key_len,
|
| const EVP_MD *md, ENGINE *impl);
|
| - void HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, int len);
|
| - void HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
|
| + int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, int len);
|
| + int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
|
|
|
| void HMAC_CTX_cleanup(HMAC_CTX *ctx);
|
| void HMAC_cleanup(HMAC_CTX *ctx);
|
| @@ -76,11 +76,14 @@
|
|
|
| =head1 RETURN VALUES
|
|
|
| -HMAC() returns a pointer to the message authentication code.
|
| +HMAC() returns a pointer to the message authentication code or NULL if
|
| +an error occurred.
|
|
|
| -HMAC_CTX_init(), HMAC_Init_ex(), HMAC_Update(), HMAC_Final() and
|
| -HMAC_CTX_cleanup() do not return values.
|
| +HMAC_Init_ex(), HMAC_Update() and HMAC_Final() return 1 for success or 0 if
|
| +an error occurred.
|
|
|
| +HMAC_CTX_init() and HMAC_CTX_cleanup() do not return values.
|
| +
|
| =head1 CONFORMING TO
|
|
|
| RFC 2104
|
| @@ -97,4 +100,7 @@
|
| HMAC_CTX_init(), HMAC_Init_ex() and HMAC_CTX_cleanup() are available
|
| since OpenSSL 0.9.7.
|
|
|
| +HMAC_Init_ex(), HMAC_Update() and HMAC_Final() did not return values in
|
| +versions of OpenSSL before 1.0.0.
|
| +
|
| =cut
|
|
|