openssl/crypto/sm2
slontis 14c45338e9 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)
2024-08-29 10:29:53 +02:00
..
build.info
sm2_crypt.c EVP_MD_size() updates 2024-08-29 10:29:53 +02:00
sm2_err.c
sm2_key.c
sm2_sign.c EVP_MD_size() updates 2024-08-29 10:29:53 +02:00