openssl/crypto/rsa
slontis 7efc653c43 Make RSA_generate_multi_prime_key() not segfault if e is NULL.
This is not a big problem for higher level keygen, as these set e
beforehand to a default value. But the logic at the lower level is
incorrect since it was doing a NULL check in one place but then
segfaulting during a later BN_copy().

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/20025)
2023-01-12 10:46:22 -05:00
..
build.info
rsa_acvp_test_params.c
rsa_ameth.c signature: Clamp PSS salt len to MD len 2022-12-08 11:02:52 +01:00
rsa_asn1.c
rsa_backend.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_chk.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_crpt.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_depr.c
rsa_err.c crypto: updates to pass size_t to RAND_bytes_ex() 2021-06-01 18:13:56 +10:00
rsa_gen.c Make RSA_generate_multi_prime_key() not segfault if e is NULL. 2023-01-12 10:46:22 -05:00
rsa_lib.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_local.h
rsa_meth.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_mp.c Replace "a RSA" with "an RSA" 2022-12-07 09:37:25 +11:00
rsa_mp_names.c
rsa_none.c
rsa_oaep.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_ossl.c rsa: Add option to disable implicit rejection 2022-12-12 11:30:52 +01:00
rsa_pk1.c rsa: add implicit rejection in PKCS#1 v1.5 2022-12-12 11:30:52 +01:00
rsa_pmeth.c rsa: Add option to disable implicit rejection 2022-12-12 11:30:52 +01:00
rsa_prn.c Update copyright year 2021-07-29 15:41:35 +01:00
rsa_pss.c signature: Clamp PSS salt len to MD len 2022-12-08 11:02:52 +01:00
rsa_saos.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_schemes.c
rsa_sign.c Refine the documents of several APIs 2022-12-16 18:59:28 +01:00
rsa_sp800_56b_check.c Allow small RSA exponents in the default provider 2021-08-13 10:35:56 +02:00
rsa_sp800_56b_gen.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
rsa_x931.c
rsa_x931g.c