diff options
author | Matt Caswell <matt@openssl.org> | 2020-03-05 15:42:13 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-03-09 07:59:15 +0000 |
commit | 3965480c824c9823db7803cc1a403be863cecc00 (patch) | |
tree | b10a87f0b52e3bc7fba8497685f082915589bae7 /providers/defltprov.c | |
parent | eea1e780a1c2c6952af7b9e00129f5aaefb7207e (diff) |
Implement provider support for Ed25519 annd Ed448
At the moment we only provider support for these algorithms in the default
provider. These algorithms only support "one shot" EVP_DigestSign() and
EVP_DigestVerify() as per the existing libcrypto versions.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11261)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r-- | providers/defltprov.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index a410eea13d..7bb23e300e 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -385,6 +385,10 @@ static const OSSL_ALGORITHM deflt_signature[] = { { "DSA:dsaEncryption", "provider=default", dsa_signature_functions }, #endif { "RSA:rsaEncryption", "provider=default", rsa_signature_functions }, +#ifndef OPENSSL_NO_EC + { "ED25519:Ed25519", "provider=default", ed25519_signature_functions }, + { "ED448:Ed448", "provider=default", ed448_signature_functions }, +#endif { NULL, NULL, NULL } }; |