openssl/providers/implementations
Jiasheng Jiang 68d6dd3354 rands/drbg_hash.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: 8bf3665196 ("Added DRBG_HMAC & DRBG_HASH + Added defaults for setting DRBG for master/public/private + renamed generate_counter back to reseed_counter + generated new cavs data tests")
Signed-off-by: Jiasheng Jiang <jiasheng@purdue.edu>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23944)
2024-04-02 05:07:02 -04:00
..
asymciphers Add missing settable entry OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS for RSA asym 2023-12-29 10:41:06 +01:00
ciphers riscv: Fix remaining asm checks 2024-03-22 11:03:36 +01:00
digests cleanse stack variable in blake2[b|s] finalization 2024-01-03 12:42:01 -05:00
encode_decode Fix the encoding of SM2 keys 2024-01-12 11:07:39 +01:00
exchange Copyright year updates 2023-09-07 09:59:15 +01:00
include/prov Implement BLAKE2s with the same macro as BLAKE2b 2023-11-08 09:42:13 +01:00
kdfs kdfs/hmacdrbg_kdf.c: Add checks for the EVP_MD_get_size() 2024-04-01 13:58:16 -04:00
kem Copyright year updates 2023-09-07 09:59:15 +01:00
keymgmt Implement PCT for EDDSA 2024-03-01 11:06:03 +01:00
macs macs/kmac_prov.c: Add checks for the EVP_MD_get_size() 2024-04-01 15:16:44 -04:00
rands rands/drbg_hash.c: Add checks for the EVP_MD_get_size() 2024-04-02 05:07:02 -04:00
signature signature/rsa_sig.c: Add checks for the EVP_MD_get_size() 2024-04-01 14:11:52 -04:00
storemgmt Copyright year updates 2023-09-07 09:59:15 +01:00
build.info