From ecdf858d16bcab60c535bd54df320b055de8e85e Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 20 Jun 2015 13:26:08 +0000 Subject: Provide EC_curve_nid2nist() and EC_curve_nist2nid(). From OpenSSL. Rides libcrypto bump. ok miod@ (a while ago) --- src/lib/libcrypto/ec/ec.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/ec/ec.h') 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 @@ -/* $OpenBSD: ec.h,v 1.9 2014/06/12 15:49:29 deraadt Exp $ */ +/* $OpenBSD: ec.h,v 1.10 2015/06/20 13:26:08 jsing Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -395,6 +395,8 @@ typedef struct { * are filled with the data of the first nitems internal groups */ size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems); +const char *EC_curve_nid2nist(int nid); +int EC_curve_nist2nid(const char *name); /********************************************************************/ /* EC_POINT functions */ -- cgit v1.2.3-55-g6feb