diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-25 13:48:48 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-28 17:25:49 +1000 |
commit | cc2314a9f630c47860afbddd29ef5b4223371a8a (patch) | |
tree | 7f90a35d55d67e1efab7e09be3d1a2bd17e30c41 /include | |
parent | 1dc28e742d0a7e37f76353680afac547e88375ef (diff) |
evp: updates for the new additional MAC_init arguments
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/evp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index 6a2202d954..a6a05b1ba6 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -1144,7 +1144,8 @@ int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]); int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]); size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx); -int EVP_MAC_init(EVP_MAC_CTX *ctx); +int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, + const OSSL_PARAM params[]); int EVP_MAC_update(EVP_MAC_CTX *ctx, const unsigned char *data, size_t datalen); int EVP_MAC_final(EVP_MAC_CTX *ctx, unsigned char *out, size_t *outl, size_t outsize); |