openssl/crypto/rsa
Daniel Bevenius e947a0642d EVP: fix keygen for EVP_PKEY_RSA_PSS
This commit attempts to fix the an issue when generating a key of type
EVP_PKEY_RSA_PSS. Currently, EVP_PKEY_CTX_set_rsa_keygen_bits will
return -1 if the key id is not of type EVP_PKEY_RSA. This commit adds
EVP_PKEY_RSA_PSS to also be accepted.

The macro EVP_PKEY_CTX_set_rsa_pss_keygen_md si converted into a
function and it is now called in legacy_ctrl_to_param.

Fixes #12384

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13099)
2021-01-28 16:25:16 +01:00
..
build.info bn: Deprecate the X9.31 RSA key generation related functions 2021-01-25 10:20:48 +01:00
rsa_acvp_test_params.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_ameth.c Fix rsa_pss_asn1_meth to refert to rsa_sig_info_set 2021-01-28 15:05:04 +01:00
rsa_asn1.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_backend.c Deprecate RSA harder 2020-11-18 23:38:34 +01:00
rsa_chk.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_crpt.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_depr.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
rsa_gen.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_lib.c EVP: fix keygen for EVP_PKEY_RSA_PSS 2021-01-28 16:25:16 +01:00
rsa_local.h Deprecate RSA harder 2020-11-18 23:38:34 +01:00
rsa_meth.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_mp_names.c rsa: add ossl_ prefix to internal rsa_ calls. 2020-10-07 09:04:51 +10:00
rsa_mp.c Update copyright year 2020-11-26 14:18:57 +00: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 Update copyright year 2021-01-28 13:54:57 +01:00
rsa_ossl.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_pk1.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_pmeth.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_prn.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_pss.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_saos.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_schemes.c rsa: add ossl_ prefix to internal rsa_ calls. 2020-10-07 09:04:51 +10:00
rsa_sign.c RSA: correct digestinfo_ripemd160_der[] 2020-11-30 12:42:03 +01:00
rsa_sp800_56b_check.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_sp800_56b_gen.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
rsa_ssl.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01: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 Update copyright year 2021-01-28 13:54:57 +01:00