diff options
author | slontis <shane.lontis@oracle.com> | 2024-08-26 03:24:24 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-08-29 10:29:53 +0200 |
commit | 14c45338e986d5827f1e944d0cffe54a7f4697ea (patch) | |
tree | 0fb707b13a5e83909a33f5b46eba40537ea5810a /util/libcrypto.num | |
parent | Update code to use EVP_MD_xof() (diff) | |
download | openssl-14c45338e986d5827f1e944d0cffe54a7f4697ea.tar.xz openssl-14c45338e986d5827f1e944d0cffe54a7f4697ea.zip |
EVP_MD_size() updates
For SHAKE algorithms we now return 0 from EVP_MD_size().
So all the places that check for < 0 needed to change to <= 0
(Otherwise the behaviour will be to digest nothing in most cases).
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25285)
Diffstat (limited to 'util/libcrypto.num')
-rw-r--r-- | util/libcrypto.num | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index 2c485fb153..f2f925d09a 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5726,6 +5726,8 @@ EVP_PKEY_verify_message_init ? 3_4_0 EXIST::FUNCTION: EVP_PKEY_verify_message_update ? 3_4_0 EXIST::FUNCTION: EVP_PKEY_verify_message_final ? 3_4_0 EXIST::FUNCTION: EVP_PKEY_verify_recover_init_ex2 ? 3_4_0 EXIST::FUNCTION: +EVP_MD_xof ? 3_4_0 EXIST::FUNCTION: +EVP_MD_CTX_get_size_ex ? 3_4_0 EXIST::FUNCTION: EVP_CIPHER_CTX_set_algor_params ? 3_4_0 EXIST::FUNCTION: EVP_CIPHER_CTX_get_algor_params ? 3_4_0 EXIST::FUNCTION: EVP_CIPHER_CTX_get_algor ? 3_4_0 EXIST::FUNCTION: |