Add new APIs EC_curve_nist2nid and EC_curve_nid2nist which convert
between NIDs and the more common NIST names such as "P-256". Enhance ecparam utility and ECC method to recognise the NIST names for curves. (backport from HEAD)
This commit is contained in:
@@ -396,6 +396,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 */
|
||||
|
||||
Reference in New Issue
Block a user