diff options
author | Richard Levitte <levitte@openssl.org> | 2019-12-01 15:01:50 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-02-22 01:07:15 +0100 |
commit | 6f4b7663150e2ee264836dbc5b338bd979828312 (patch) | |
tree | 52d0a120512bb8ea123150e2ffccd0841008cbc2 /providers/defltprov.c | |
parent | e8d0819d52b2741fcb4ddb79ced4d824c3056918 (diff) | |
download | openssl-6f4b7663150e2ee264836dbc5b338bd979828312.zip openssl-6f4b7663150e2ee264836dbc5b338bd979828312.tar.gz openssl-6f4b7663150e2ee264836dbc5b338bd979828312.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index 0b2390a..5bebf66 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 } }; |