diff options
author | Richard Levitte <levitte@openssl.org> | 2020-07-20 16:13:18 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-07-27 12:15:29 +0200 |
commit | a4e55cccc9991b35c3f4b3f4aac32b59aa598584 (patch) | |
tree | b0a469f471dc8bbb7092ef707311f2d7bfcbac15 /providers/implementations/serializers/serializer_rsa.c | |
parent | EVP, PROV: Add misc missing bits for RSA-PSS (diff) | |
download | openssl-a4e55cccc9991b35c3f4b3f4aac32b59aa598584.tar.xz openssl-a4e55cccc9991b35c3f4b3f4aac32b59aa598584.zip |
PROV: Add a DER to RSA-PSS deserializer implementation
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12492)
Diffstat (limited to '')
-rw-r--r-- | providers/implementations/serializers/serializer_rsa.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/providers/implementations/serializers/serializer_rsa.c b/providers/implementations/serializers/serializer_rsa.c index d2a5459828..9250d49735 100644 --- a/providers/implementations/serializers/serializer_rsa.c +++ b/providers/implementations/serializers/serializer_rsa.c @@ -27,6 +27,11 @@ OSSL_FUNC_keymgmt_new_fn *ossl_prov_get_keymgmt_rsa_new(void) return ossl_prov_get_keymgmt_new(rsa_keymgmt_functions); } +OSSL_FUNC_keymgmt_new_fn *ossl_prov_get_keymgmt_rsapss_new(void) +{ + return ossl_prov_get_keymgmt_new(rsapss_keymgmt_functions); +} + OSSL_FUNC_keymgmt_free_fn *ossl_prov_get_keymgmt_rsa_free(void) { return ossl_prov_get_keymgmt_free(rsa_keymgmt_functions); @@ -42,6 +47,11 @@ OSSL_FUNC_keymgmt_export_fn *ossl_prov_get_keymgmt_rsa_export(void) return ossl_prov_get_keymgmt_export(rsa_keymgmt_functions); } +OSSL_FUNC_keymgmt_export_fn *ossl_prov_get_keymgmt_rsapss_export(void) +{ + return ossl_prov_get_keymgmt_export(rsapss_keymgmt_functions); +} + int ossl_prov_print_rsa(BIO *out, RSA *rsa, int priv) { const char *modulus_label; |