summaryrefslogtreecommitdiffstats
path: root/providers/defltprov.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-12-01 15:01:50 +0100
committerRichard Levitte <levitte@openssl.org>2020-02-22 01:07:15 +0100
commit6f4b7663150e2ee264836dbc5b338bd979828312 (patch)
tree52d0a120512bb8ea123150e2ffccd0841008cbc2 /providers/defltprov.c
parente8d0819d52b2741fcb4ddb79ced4d824c3056918 (diff)
PROV: add RSA signature implementation
This includes legacy PSS controls to params conversion, and an attempt to generalise the parameter names when they are suitable for more than one operation. Also added crypto/rsa/rsa_aid.c, containing proper AlgorithmIdentifiers for known RSA+hash function combinations. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10557)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r--providers/defltprov.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c
index 0b2390a291..5bebf6665d 100644
--- a/providers/defltprov.c
+++ b/providers/defltprov.c
@@ -384,6 +384,7 @@ static const OSSL_ALGORITHM deflt_signature[] = {
#ifndef OPENSSL_NO_DSA
{ "DSA:dsaEncryption", "provider=default", dsa_signature_functions },
#endif
+ { "RSA:rsaEncryption", "default=yes", rsa_signature_functions },
{ NULL, NULL, NULL }
};