EC_curve_nist2nid

Map a NIST curve name such as "P-256" to the corresponding OpenSSL NID.

Synopsis

Declared in <openssl/ec.h>

int
EC_curve_nist2nid(char const* name);

Return Value

Curve NID on success, or NID_undef if name is not recognized.

Parameters

NameDescription
nameNIST short name (for example "P-256", "B-571").