diff options
author | jsing <> | 2015-06-20 13:26:08 +0000 |
---|---|---|
committer | jsing <> | 2015-06-20 13:26:08 +0000 |
commit | ecdf858d16bcab60c535bd54df320b055de8e85e (patch) | |
tree | 084b2eb66357efe77748467dcb0b1ebc4303b10b /src/lib/libcrypto/ec/ec.h | |
parent | c20a320b71eec149be5b817565a280f26954a04b (diff) | |
download | openbsd-ecdf858d16bcab60c535bd54df320b055de8e85e.tar.gz openbsd-ecdf858d16bcab60c535bd54df320b055de8e85e.tar.bz2 openbsd-ecdf858d16bcab60c535bd54df320b055de8e85e.zip |
Provide EC_curve_nid2nist() and EC_curve_nist2nid().
From OpenSSL.
Rides libcrypto bump.
ok miod@ (a while ago)
Diffstat (limited to 'src/lib/libcrypto/ec/ec.h')
-rw-r--r-- | src/lib/libcrypto/ec/ec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h index db0b99a8e9..3b409ff92d 100644 --- a/src/lib/libcrypto/ec/ec.h +++ b/src/lib/libcrypto/ec/ec.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec.h,v 1.9 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: ec.h,v 1.10 2015/06/20 13:26:08 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Originally written by Bodo Moeller for the OpenSSL project. | 3 | * Originally written by Bodo Moeller for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -395,6 +395,8 @@ typedef struct { | |||
395 | * are filled with the data of the first nitems internal groups */ | 395 | * are filled with the data of the first nitems internal groups */ |
396 | size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems); | 396 | size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems); |
397 | 397 | ||
398 | const char *EC_curve_nid2nist(int nid); | ||
399 | int EC_curve_nist2nid(const char *name); | ||
398 | 400 | ||
399 | /********************************************************************/ | 401 | /********************************************************************/ |
400 | /* EC_POINT functions */ | 402 | /* EC_POINT functions */ |