openssl/crypto/dsa
Tomas Mraz 9c85f6cd2d Rename BN_generate_dsa_nonce() to ossl_bn_gen_dsa_nonce_fixed_top()
And create a new BN_generate_dsa_nonce() that corrects the BIGNUM top.
We do this to avoid leaking fixed top numbers via the public API.

Also add a slight optimization in ossl_bn_gen_dsa_nonce_fixed_top()
and make it LE/BE agnostic.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24265)
2024-05-02 09:21:30 +02:00
..
build.info
dsa_ameth.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
dsa_asn1.c
dsa_backend.c Copyright year updates 2023-09-07 09:59:15 +01:00
dsa_check.c Copyright year updates 2024-04-09 13:43:26 +02:00
dsa_depr.c
dsa_err.c Fix infinite loops in DSA sign code. 2023-03-01 09:20:49 +11:00
dsa_gen.c
dsa_key.c Copyright year updates 2023-09-07 09:59:15 +01:00
dsa_lib.c Don't (re-)initialize the FFC_PARAMs in dh_init and dsa_init 2023-10-04 12:22:04 +02:00
dsa_local.h Implement deterministic ECDSA sign (RFC6979) 2022-11-30 07:31:53 +00:00
dsa_meth.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
dsa_ossl.c Rename BN_generate_dsa_nonce() to ossl_bn_gen_dsa_nonce_fixed_top() 2024-05-02 09:21:30 +02:00
dsa_pmeth.c dsa/dsa_pmeth.c: Add the checks for the EVP_MD_CTX_get_size() 2024-03-30 14:49:37 -04:00
dsa_prn.c
dsa_sign.c Fix handling of NULL sig parameter in ECDSA_sign and similar 2024-04-02 17:47:29 +02:00
dsa_vrf.c