openssl/util
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
..
perl Update copyright year 2021-01-28 13:54:57 +01:00
add-depends.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
build.info Build: Change all _NO_INST to use attributes instead. 2019-01-22 12:35:39 +01:00
cavs-to-evptest.pl Add the NIST CAVS test vectors for CCM 2019-05-23 10:49:54 +01:00
check-format-test-negatives.c Update copyright year 2021-01-28 13:54:57 +01:00
check-format-test-positives.c Update copyright year 2021-01-28 13:54:57 +01:00
check-format.pl Update copyright year 2021-01-28 13:54:57 +01:00
check-malloc-errs Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
ck_errf.pl Create provider errors and use them 2019-04-19 09:31:54 +01:00
copy.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
dofile.pl configdata.pm.in, util/dofile.pl: Make a HERE document stricter. 2020-10-27 10:17:19 +01:00
echo.pl Windows: fix echo for nmake 2018-07-11 14:49:02 +02:00
engines.num Change the build of engines to use ordinal files for symbol export 2018-10-05 08:22:42 +02:00
err-to-raise Simplify util/err-to-raise 2020-11-18 11:40:52 +01:00
find-doc-nits Update copyright year 2021-01-28 13:54:57 +01:00
find-unused-errs Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
fix-deprecation util/fix-deprecation: DEPRECATEDIN conversion util for public headers 2020-11-20 20:55:03 +01:00
fix-includes Update copyright year 2020-04-23 13:55:52 +01:00
fix-includes.sed CRYPTO: split cipher_platform.h into algorithm specific headers 2019-12-19 13:31:29 +01:00
indent.pro Deprecate OCSP_xxx API for OSSL_HTTP_xxx 2021-01-19 11:13:15 +01:00
libcrypto.num EVP: fix keygen for EVP_PKEY_RSA_PSS 2021-01-28 16:25:16 +01:00
libssl.num Adding TLS group name retrieval 2021-01-08 17:04:46 +00:00
local_shlib.com.in VMS: fix util/[un]local.com.in to handle attributes 2019-03-05 08:56:20 +01:00
markdownlint.rb util/markdownlint.rb: Add two rule exceptions: MD023 and MD026 2020-07-05 11:29:43 +02:00
merge-err-lines Add merge-err-lines script 2019-09-19 09:27:38 -04:00
missingcrypto111.txt APPS: Allow OPENSSL_CONF to be empty, not loading a config file 2021-01-13 11:53:15 +01:00
missingcrypto-internal.txt STORE: Move the built-in 'file:' loader to become an engine module 2020-09-03 17:48:32 +02:00
missingcrypto.txt Deprecate OCSP_xxx API for OSSL_HTTP_xxx 2021-01-19 11:13:15 +01:00
missingmacro111.txt Document some SSL DH related functions/macros 2020-11-18 14:14:53 +00:00
missingmacro.txt Add X509V3_set_issuer_pkey, needed for AKID of self-issued not self-signed cert 2021-01-13 11:53:15 +01:00
missingssl111.txt Adjust all util/missing*.txt to include the section number 2019-12-21 22:53:54 +01:00
missingssl-internal.txt Initialize files that declare internal symbols 2020-04-11 15:51:43 +02:00
missingssl.txt Adjust all util/missing*.txt to include the section number 2019-12-21 22:53:54 +01:00
mkbuildinf.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
mkdef.pl Build: Make NonStop shared libraries only export selected symbols 2020-09-25 12:05:47 +02:00
mkdir-p.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
mkerr.pl ERR: Modify util/mkerr.pl to produce internal err string loaders 2020-11-24 15:18:29 +01:00
mknum.pl Update copyright year 2020-10-15 14:10:06 +01:00
mkpod2html.pl util/mkpod2html.pl: Fix unbalanced quotes 2020-05-28 14:00:49 +02:00
mkrc.pl util/mkrc.pl: Make sure FILEVERSION and PRODUCTVERSION have four numbers 2020-11-17 13:18:16 +01:00
mktar.sh Simplify the tarball generating scripts 2020-09-24 08:03:00 +02:00
opensslwrap.sh util/opensslwrap.sh: adjust to define OPENSSL_MODULES as well 2019-07-15 16:14:35 +02:00
other-internal.syms Initialize files that declare internal symbols 2020-04-11 15:51:43 +02:00
other.syms TLS client: allow cert verify callback return -1 for SSL_ERROR_WANT_RETRY_VERIFY 2021-01-26 17:09:13 +01:00
providers.num Add provider module infrastructure 2019-03-11 20:40:13 +01:00
shlib_wrap.sh.in Rework building: adapt some scripts 2019-01-21 19:31:32 +01:00
su-filter.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
unlocal_shlib.com.in VMS: fix util/[un]local.com.in to handle attributes 2019-03-05 08:56:20 +01:00
withlibctx.pl Perl util to do with_libctx renaming 2020-10-01 09:23:05 +01:00
wrap.pl util/wrap.pl: Correct exit code when signalled 2020-03-25 10:51:21 +01:00