diff options
author | Richard Levitte <levitte@openssl.org> | 2018-10-24 21:20:00 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-10-30 05:49:54 +0100 |
commit | 6723f86746ab7e8ff9a914603db4f85c53eafc7c (patch) | |
tree | 55d8bd25665c11ea596d0fa7d4dd913ecc8f330b /include | |
parent | 56adb7d93721a72bfae532845cbebc4a565ceb65 (diff) |
EVP_MAC: Add HMAC implementation
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7483)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/evp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index 5e6c0394bf..657bedb34c 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -988,6 +988,7 @@ void EVP_MD_do_all_sorted(void (*fn) /* MAC stuff */ # define EVP_MAC_CMAC NID_cmac +# define EVP_MAC_HMAC NID_hmac EVP_MAC_CTX *EVP_MAC_CTX_new(const EVP_MAC *mac); EVP_MAC_CTX *EVP_MAC_CTX_new_id(int nid); |