diff options
author | Richard Levitte <levitte@openssl.org> | 2020-05-02 13:39:40 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-05-14 12:16:35 +0200 |
commit | ea297dca509b16190ad0a915f1324777b08ed8d8 (patch) | |
tree | d5ee56bf0edd4797bf4ae0ed488cb7791db1e609 /providers/defltprov.c | |
parent | 8a758e96f2865f0aee417025630626f095bb3ae3 (diff) |
PROV & SERIALIZER: Adapt the RSA serializers for PSS-parameters
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11710)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r-- | providers/defltprov.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index 68a1a2b222..cedbddb80e 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -392,6 +392,18 @@ static const OSSL_ALGORITHM deflt_serializer[] = { rsa_priv_pem_serializer_functions }, { "RSA", "provider=default,fips=yes,format=pem,type=public", rsa_pub_pem_serializer_functions }, + { "RSA-PSS", "provider=default,fips=yes,format=text,type=private", + rsa_priv_text_serializer_functions }, + { "RSA-PSS", "provider=default,fips=yes,format=text,type=public", + rsa_pub_text_serializer_functions }, + { "RSA-PSS", "provider=default,fips=yes,format=der,type=private", + rsa_priv_der_serializer_functions }, + { "RSA-PSS", "provider=default,fips=yes,format=der,type=public", + rsa_pub_der_serializer_functions }, + { "RSA-PSS", "provider=default,fips=yes,format=pem,type=private", + rsa_priv_pem_serializer_functions }, + { "RSA-PSS", "provider=default,fips=yes,format=pem,type=public", + rsa_pub_pem_serializer_functions }, #ifndef OPENSSL_NO_DH { "DH", "provider=default,fips=yes,format=text,type=private", |