openssl/crypto/rsa
Tomas Mraz 3410a72dce Compute RSA-PSS algorithm params in libcrypto for legacy
Fixes regression of RSA signatures for legacy keys caused
by quering the provider for the algorithm id with parameters.

Legacy keys do not have a method that would create the
algorithm id. So we revert to what was done in 3.0.7 and
earlier versions for these keys.

Fixes #21008

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21019)
2023-06-01 10:02:28 +10:00
..
build.info Remove RSA SSLv23 padding mode 2021-03-01 10:56:12 +01:00
rsa_acvp_test_params.c Update copyright year 2021-04-08 13:04:41 +01:00
rsa_ameth.c Compute RSA-PSS algorithm params in libcrypto for legacy 2023-06-01 10:02:28 +10:00
rsa_asn1.c Update copyright year 2021-04-08 13:04:41 +01:00
rsa_backend.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_chk.c Fix the LCM computation in the RSA multiprime key check 2023-04-13 15:23:05 +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 Update copyright year 2020-04-23 13:55:52 +01:00
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 Fix change in behaviour of EVP_PKEY_CTRL_RSA_KEYGEN_BITS 2021-03-30 19:22:33 +02:00
rsa_meth.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_mp_names.c rsa: add ossl_ prefix to internal rsa_ calls. 2020-10-07 09:04:51 +10:00
rsa_mp.c Replace "a RSA" with "an RSA" 2022-12-07 09:37:25 +11:00
rsa_none.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_oaep.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_ossl.c Optimise locking in rsa_get_blinding() 2023-05-30 17:39:29 +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 Remove ossl_rsa_pss_params_30_set_maskgenalg(). 2023-03-01 20:04:10 +11: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: add ossl_ prefix to internal rsa_ calls. 2020-10-07 09:04:51 +10:00
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 Avoid generating RSA keys with p < q 2023-04-28 19:48:46 +02:00
rsa_x931.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_x931g.c Add libctx to x931 keygen. 2023-05-05 17:11:16 +01:00