diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-23 11:03:08 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-26 18:08:41 +1000 |
commit | 5a7134ee102f2a975d20353a0cfa0031d155dfcf (patch) | |
tree | 4bf0aecc1893ea849c5978a4c56130e0fb3ccd39 | |
parent | eee323c3390fbee9e7129719473809ab1634c2d7 (diff) |
core: core: support modified gettable/settable ctx calls for MACs
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14240)
-rw-r--r-- | include/openssl/core_dispatch.h | 4 | ||||
-rw-r--r-- | util/libcrypto.num | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index 8b0d28ce85..cb4506f617 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 f65796e506..ac6a7ace64 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: |