summaryrefslogtreecommitdiffstats
path: root/crypto/hmac/hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmac/hmac.h')
-rw-r--r--crypto/hmac/hmac.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h
index e70b01b2fb..58ac3d0993 100644
--- a/crypto/hmac/hmac.h
+++ b/crypto/hmac/hmac.h
@@ -86,8 +86,12 @@ typedef struct hmac_ctx_st
void HMAC_CTX_init(HMAC_CTX *ctx);
void HMAC_CTX_cleanup(HMAC_CTX *ctx);
+#define HMAC_cleanup(ctx) HMAC_CTX_cleanup(ctx) /* deprecated */
+
void HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
- const EVP_MD *md);
+ const EVP_MD *md); /* deprecated */
+void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
+ const EVP_MD *md);
void HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, int len);
void HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,