diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-06-20 16:32:44 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-06-21 14:11:01 +0100 |
commit | d2916a5b29b3ef83126cfbc7be5c16e0c3c9a521 (patch) | |
tree | ac4f6dd7aefa296e3913c776cd938181b6a5fa7d /include | |
parent | 29b0cab0174e1c1d02e549c0aaa2b08ab3051bd2 (diff) |
Use EVP_PKEY_X25519, EVP_PKEY_ED25519 instead of NIDs where appropriate.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3585)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/evp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index 4d7326b9ff..89a64aeb8e 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -56,6 +56,8 @@ # define EVP_PKEY_HKDF NID_hkdf # define EVP_PKEY_POLY1305 NID_poly1305 # define EVP_PKEY_SIPHASH NID_siphash +# define EVP_PKEY_X25519 NID_X25519 +# define EVP_PKEY_ED25519 NID_ED25519 #ifdef __cplusplus extern "C" { |