diff options
Diffstat (limited to 'src/lib/libcrypto/hmac/hmac.h')
-rw-r--r-- | src/lib/libcrypto/hmac/hmac.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.h b/src/lib/libcrypto/hmac/hmac.h index fc38ffb52b..1be0022190 100644 --- a/src/lib/libcrypto/hmac/hmac.h +++ b/src/lib/libcrypto/hmac/hmac.h | |||
@@ -90,15 +90,16 @@ void HMAC_CTX_cleanup(HMAC_CTX *ctx); | |||
90 | 90 | ||
91 | #define HMAC_cleanup(ctx) HMAC_CTX_cleanup(ctx) /* deprecated */ | 91 | #define HMAC_cleanup(ctx) HMAC_CTX_cleanup(ctx) /* deprecated */ |
92 | 92 | ||
93 | void HMAC_Init(HMAC_CTX *ctx, const void *key, int len, | 93 | int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, |
94 | const EVP_MD *md); /* deprecated */ | 94 | const EVP_MD *md); /* deprecated */ |
95 | void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | 95 | int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, |
96 | const EVP_MD *md, ENGINE *impl); | 96 | const EVP_MD *md, ENGINE *impl); |
97 | void HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len); | 97 | int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len); |
98 | void HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len); | 98 | int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len); |
99 | unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, | 99 | unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, |
100 | const unsigned char *d, size_t n, unsigned char *md, | 100 | const unsigned char *d, size_t n, unsigned char *md, |
101 | unsigned int *md_len); | 101 | unsigned int *md_len); |
102 | int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx); | ||
102 | 103 | ||
103 | void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags); | 104 | void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags); |
104 | 105 | ||