EVP, PROV: Add misc missing bits for RSA-PSS
authorRichard Levitte <levitte@openssl.org>
Mon, 20 Jul 2020 14:09:47 +0000 (16:09 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 27 Jul 2020 10:15:29 +0000 (12:15 +0200)
commit456b3b97a489d4be42f4258cb65bf76dfd8bab00
tree378dea24d9c3249170ad419d63d95f4633369b98
parent51d9ac870acda2c818ce19c1174ed85f9a2f6eb7
EVP, PROV: Add misc missing bits for RSA-PSS

- EVP_PKEY_is_a() didn't recognise "RSA-PSS" for legacy keys.
- The RSA-PSS keymgmt didn't have a OSSL_FUNC_keymgmt_match() function.
- ossl_prov_prepare_rsa_params() didn't return 1 for unrestricted
  RSA-PSS params.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12492)
crypto/evp/p_lib.c
providers/implementations/keymgmt/rsa_kmgmt.c
providers/implementations/serializers/serializer_rsa.c