diff options
author | Neil Horman <nhorman@openssl.org> | 2023-12-14 12:15:21 -0500 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2023-12-26 10:36:00 -0500 |
commit | 62457fd9415d707baf76f219bbb9a29106ba092b (patch) | |
tree | d135738617dbb74606389abd273db03f63c8714c /crypto/bf/bf_ecb.c | |
parent | d6e4056805f54bb1a0ef41fa3a6a35b70c94edba (diff) |
Ignore OSSL_MAC_PARAM_DIGEST_NOINIT/OSSL_MAC_PARAM_DIGEST_ONESHOT
The hmac flags OSSL_MAC_PARAM_DIGEST_NOINIT and
OSSL_MAC_PARAM_DIGEST_ONESHOT dont add any real value to the provider,
and the former causes a segfault when the provider attempts to call
EVP_MAC_init on an EVP_MAC object that has been instructed not to be
initalized (as the update function will not have been set in the MAC
object, which is unilaterally called from EVP_MAC_init
Remove the tests for the above flags, and document them as being
deprecated and ignored.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/23054)
Diffstat (limited to 'crypto/bf/bf_ecb.c')
0 files changed, 0 insertions, 0 deletions