hcrypto: Add HMAC_CTX_new and HMAC_CTX_free

Add a pair of functions which can be used to allocate and free
an HMAC_CTX structure on the heap. This means that the caller doesn't
need to know the size of the underlying structure.
This commit is contained in:
Simon Wilkinson
2018-05-14 13:18:33 +01:00
committed by Jeffrey Altman
parent ae62cc2341
commit c1eb9828f4
4 changed files with 21 additions and 0 deletions

View File

@@ -243,7 +243,9 @@ HEIMDAL_CRYPTO_1.0 {
hc_EVP_hcrypto_aes_256_cts;
hc_HMAC;
hc_HMAC_CTX_cleanup;
hc_HMAC_CTX_free;
hc_HMAC_CTX_init;
hc_HMAC_CTX_new;
hc_HMAC_Final;
hc_HMAC_Init_ex;
hc_HMAC_Update;