openssl/crypto/rsa
rkarmaka98 dc231eb598 Avoid generating RSA keys with p < q
We swap p and q in that case except when ACVP tests are being run.

Fixes #20823

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20833)
2023-04-28 19:48:46 +02: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
rsa_chk.c Fix the LCM computation in the RSA multiprime key check 2023-04-13 15:23:05 +02:00
rsa_crpt.c
rsa_depr.c
rsa_err.c
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
rsa_local.h
rsa_meth.c
rsa_mp_names.c
rsa_mp.c
rsa_none.c
rsa_oaep.c
rsa_ossl.c Alternative fix for CVE-2022-4304 2023-04-04 12:13:27 +02: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
rsa_pss.c Remove ossl_rsa_pss_params_30_set_maskgenalg(). 2023-03-01 20:04:10 +11:00
rsa_saos.c
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
rsa_sp800_56b_gen.c Avoid generating RSA keys with p < q 2023-04-28 19:48:46 +02:00
rsa_x931.c
rsa_x931g.c