diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-02-20 16:16:21 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-03-12 07:36:04 +1000 |
commit | 1c725f463edf0a5b33a2a93e9a43a9ab682af7db (patch) | |
tree | 3072468d1ed7f159768cebc152a7dcb1bda870b8 /include/crypto | |
parent | a173cc9c388cbe8105f78ba5a8fdfbf20a35be1a (diff) |
Add ECDH to fips provider
Note: This PR has not attempted to move the curves into the provider dispatch table.
Mappings between the curve name / nid have been added to the inbuilt curve table.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11133)
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/ec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/ec.h b/include/crypto/ec.h index 9ebf45d0f4..91540fd856 100644 --- a/include/crypto/ec.h +++ b/include/crypto/ec.h @@ -54,5 +54,7 @@ int ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx); int ec_key_private_check(const EC_KEY *eckey); int ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx); OPENSSL_CTX *ec_key_get_libctx(const EC_KEY *eckey); +const char *ec_curve_nid2name(int nid); +int ec_curve_name2nid(const char *name); # endif /* OPENSSL_NO_EC */ #endif |