From: Pauli Date: Thu, 25 Feb 2021 03:50:45 +0000 (+1000) Subject: core: update to use the extra MAC init arguments X-Git-Tag: openssl-3.0.0-alpha13~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b58e1f74905fe0a51f00cd0c2d8e9a9b0469326b;p=thirdparty%2Fopenssl.git core: update to use the extra MAC init arguments Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14310) --- diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index 634159524d9..97939a46fe8 100644 --- a/include/openssl/core_dispatch.h +++ b/include/openssl/core_dispatch.h @@ -337,7 +337,8 @@ OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, cipher_gettable_ctx_params, OSSL_CORE_MAKE_FUNC(void *, mac_newctx, (void *provctx)) OSSL_CORE_MAKE_FUNC(void *, mac_dupctx, (void *src)) OSSL_CORE_MAKE_FUNC(void, mac_freectx, (void *mctx)) -OSSL_CORE_MAKE_FUNC(int, mac_init, (void *mctx)) +OSSL_CORE_MAKE_FUNC(int, mac_init, (void *mctx, const unsigned char *key, + size_t keylen, const OSSL_PARAM params[])) OSSL_CORE_MAKE_FUNC(int, mac_update, (void *mctx, const unsigned char *in, size_t inl)) OSSL_CORE_MAKE_FUNC(int, mac_final,