From: Pauli Date: Tue, 23 Feb 2021 01:03:08 +0000 (+1000) Subject: core: core: support modified gettable/settable ctx calls for MACs X-Git-Tag: openssl-3.0.0-alpha13~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a7134ee102f2a975d20353a0cfa0031d155dfcf;p=thirdparty%2Fopenssl.git core: core: support modified gettable/settable ctx calls for MACs Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14240) --- diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index 8b0d28ce859..cb4506f6174 100644 --- a/include/openssl/core_dispatch.h +++ b/include/openssl/core_dispatch.h @@ -345,9 +345,9 @@ OSSL_CORE_MAKE_FUNC(int, mac_final, unsigned char *out, size_t *outl, size_t outsize)) OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, mac_gettable_params, (void *provctx)) OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, mac_gettable_ctx_params, - (void *provctx)) + (void *mctx, void *provctx)) OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, mac_settable_ctx_params, - (void *provctx)) + (void *mctx, void *provctx)) OSSL_CORE_MAKE_FUNC(int, mac_get_params, (OSSL_PARAM params[])) OSSL_CORE_MAKE_FUNC(int, mac_get_ctx_params, (void *mctx, OSSL_PARAM params[])) diff --git a/util/libcrypto.num b/util/libcrypto.num index f65796e506c..ac6a7ace64f 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5304,6 +5304,8 @@ EVP_PKEY_public_check_quick ? 3_0_0 EXIST::FUNCTION: EVP_PKEY_CTX_is_a ? 3_0_0 EXIST::FUNCTION: EVP_KDF_CTX_gettable_params ? 3_0_0 EXIST::FUNCTION: EVP_KDF_CTX_settable_params ? 3_0_0 EXIST::FUNCTION: +EVP_MAC_CTX_gettable_params ? 3_0_0 EXIST::FUNCTION: +EVP_MAC_CTX_settable_params ? 3_0_0 EXIST::FUNCTION: EVP_RAND_CTX_gettable_params ? 3_0_0 EXIST::FUNCTION: EVP_RAND_CTX_settable_params ? 3_0_0 EXIST::FUNCTION: RAND_set_DRBG_type ? 3_0_0 EXIST::FUNCTION: