Return the short name of a built‐in elliptic curve given its NID.

Synopsis

Declared in <openssl/ec.h>

char const*
OSSL_EC_curve_nid2name(int nid);

Return Value

NUL‐terminated curve name, or NULL if nid is not a known EC curve.

Parameters

Name

Description

nid

Curve NID (for example NID_X9_62_prime256v1).

Created with MrDocs