openssl/crypto/ec
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
..
asm Unable to run asm code on OpenBSD (amd64) 2024-04-17 09:38:06 +02:00
curve448 Copyright year updates 2024-04-09 13:43:26 +02:00
build.info Fix a few incorrect paths in some build.info files 2024-02-02 14:12:49 +01:00
curve25519.c Copyright year updates 2023-09-07 09:59:15 +01:00
ec2_oct.c
ec2_smpl.c crypto: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
ec_ameth.c Honor OSSL_PKEY_PARAM_EC_POINT_CONVERSION_FORMAT as set and default to UNCOMPRESSED 2022-11-29 16:03:04 +01:00
ec_asn1.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ec_backend.c Cleanup : directly include of `internal/nelem.h` when required. 2022-11-23 18:08:25 +01:00
ec_check.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ec_curve.c Optimize SM2 on aarch64 2023-08-24 14:57:35 +02:00
ec_cvt.c
ec_deprecated.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ec_err.c Fix potential infinite loops in ECDSA signing. 2023-03-01 09:20:49 +11:00
ec_key.c Copyright year updates 2023-09-07 09:59:15 +01:00
ec_kmeth.c Copyright year updates 2023-09-07 09:59:15 +01:00
ec_lib.c Copyright year updates 2023-09-07 09:59:15 +01:00
ec_local.h Copyright year updates 2023-09-07 09:59:15 +01:00
ec_mult.c Copyright year updates 2023-09-07 09:59:15 +01:00
ec_oct.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ec_pmeth.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ec_print.c
ecdh_kdf.c
ecdh_ossl.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ecdsa_ossl.c Rename BN_generate_dsa_nonce() to ossl_bn_gen_dsa_nonce_fixed_top() 2024-05-02 09:21:30 +02:00
ecdsa_sign.c
ecdsa_vrf.c
eck_prn.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ecp_mont.c crypto: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
ecp_nist.c
ecp_nistp224.c Copyright year updates 2023-09-07 09:59:15 +01:00
ecp_nistp256.c Copyright year updates 2023-09-07 09:59:15 +01:00
ecp_nistp384.c ecc: Remove extraneous parentheses in secp384r1 2023-09-01 10:06:54 +01:00
ecp_nistp521.c Copyright year updates 2023-09-07 09:59:15 +01:00
ecp_nistputil.c
ecp_nistz256.c Copyright year updates 2023-09-07 09:59:15 +01:00
ecp_nistz256_table.c
ecp_oct.c
ecp_ppc.c
ecp_s390x_nistp.c Copyright year updates 2023-09-28 14:23:29 +01:00
ecp_sm2p256.c Fix declspec align syntax 2023-12-19 13:57:32 +01:00
ecp_sm2p256_table.c Optimize SM2 on aarch64 2023-08-24 14:57:35 +02:00
ecp_smpl.c nit: fix some pointer comparisons 2022-10-12 16:55:28 +11:00
ecx_backend.c Copyright year updates 2024-04-09 13:43:26 +02:00
ecx_backend.h
ecx_key.c Copyright year updates 2023-09-07 09:59:15 +01:00
ecx_meth.c Copyright year updates 2023-09-07 09:59:15 +01:00
ecx_s390x.c