openssl/providers/implementations/signature
Jiasheng Jiang f4174b6db4 signature/dsa_sig.c: Add checks for the EVP_MD_get_size()
Add checks for the EVP_MD_get_size() to avoid integer overflow and then explicitly cast from int to size_t.

Fixes: 45a845e40b ("Add EVP_DigestSign/EVP_DigestVerify support for DSA")
Signed-off-by: Jiasheng Jiang <jiasheng@purdue.edu>

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23948)
2024-04-09 20:45:26 +02:00
..
build.info configure: introduce no-ecx to remove ECX related feature 2023-06-14 13:06:22 +10:00
dsa_sig.c signature/dsa_sig.c: Add checks for the EVP_MD_get_size() 2024-04-09 20:45:26 +02:00
ecdsa_sig.c signature/ecdsa_sig.c: Add checks for the EVP_MD_get_size() 2024-04-09 20:44:17 +02:00
eddsa_sig.c Copyright year updates 2023-09-07 09:59:15 +01:00
mac_legacy_sig.c Copyright year updates 2023-09-07 09:59:15 +01:00
rsa_sig.c signature/rsa_sig.c: Add checks for the EVP_MD_get_size() 2024-04-01 14:11:52 -04:00
sm2_sig.c Break the if statement up into 2 if statements 2024-03-30 09:05:32 -04:00