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
..
2020-12-03 11:22:06 +10:00
2021-01-28 13:54:57 +01:00
2021-01-07 13:38:50 +00:00
2020-04-23 13:55:52 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2020-04-23 13:55:52 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2020-12-20 12:19:42 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 16:25:16 +01:00
2020-08-29 17:40:11 +10:00
2021-01-28 13:54:57 +01:00
2020-04-23 13:55:52 +01:00
2019-11-12 13:30:35 +01:00
2020-11-26 14:18:57 +00:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-11-26 14:18:57 +00:00
2020-04-23 13:55:52 +01:00
2020-11-26 14:18:57 +00:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2021-01-28 13:54:57 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-09-10 09:50:56 +02:00
2021-01-28 16:25:16 +01:00
2020-04-23 13:55:52 +01:00
2020-11-26 14:18:57 +00:00
2020-08-29 17:40:11 +10:00
2021-01-28 13:54:57 +01:00
2019-12-18 14:46:01 +10:00
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2020-04-23 13:55:52 +01:00
2021-01-28 13:54:57 +01:00
2020-04-23 13:55:52 +01:00
2020-10-15 14:10:06 +01:00
2020-12-14 10:45:27 +10:00
2020-04-23 13:55:52 +01:00
2021-01-28 13:54:57 +01:00
2021-01-28 13:54:57 +01:00
2020-10-15 14:10:06 +01:00
2019-09-28 20:26:34 +02:00
2020-10-01 11:25:12 +10:00
2020-10-15 14:10:06 +01:00
2020-06-22 02:35:01 +02:00
2020-12-31 13:14:38 +01:00
2021-01-28 13:54:57 +01:00
2020-04-28 15:37:37 +02:00
2020-11-26 14:18:57 +00:00
2020-07-16 14:47:04 +02:00
2021-01-28 13:54:57 +01:00
2020-04-23 13:55:52 +01:00
2019-09-28 20:26:36 +02:00
2021-01-28 13:54:57 +01:00
2020-04-23 13:55:52 +01:00
2021-01-28 13:54:57 +01:00
2020-10-15 14:10:06 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-10-15 14:10:06 +01:00
2020-12-14 10:45:27 +10:00
2020-11-11 12:43:27 +01:00
2019-07-01 13:32:46 -04:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00