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
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
rsa_backend.c
rsa_chk.c
rsa_crpt.c
rsa_depr.c
rsa_err.c
rsa_gen.c
rsa_lib.c EVP: fix keygen for EVP_PKEY_RSA_PSS 2021-01-28 16:25:16 +01:00
rsa_local.h
rsa_meth.c
rsa_mp_names.c
rsa_mp.c Update copyright year 2020-11-26 14:18:57 +00:00
rsa_none.c
rsa_oaep.c Update copyright year 2021-01-28 13:54:57 +01:00
rsa_ossl.c
rsa_pk1.c
rsa_pmeth.c
rsa_prn.c
rsa_pss.c
rsa_saos.c
rsa_schemes.c
rsa_sign.c RSA: correct digestinfo_ripemd160_der[] 2020-11-30 12:42:03 +01:00
rsa_sp800_56b_check.c
rsa_sp800_56b_gen.c
rsa_ssl.c
rsa_x931.c
rsa_x931g.c Update copyright year 2021-01-28 13:54:57 +01:00