[#OSSL_EC_curve_nid2name]
= OSSL&lowbar;EC&lowbar;curve&lowbar;nid2name
:mrdocs:

Return the short name of a built&hyphen;in elliptic curve given its NID&period;

== Synopsis

Declared in `&lt;openssl&sol;ec&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
char const*
OSSL&lowbar;EC&lowbar;curve&lowbar;nid2name(int nid);
----

== Return Value

NUL&hyphen;terminated curve name, or NULL if `nid` is not a known EC curve&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nid*
| Curve NID (for example NID&lowbar;X9&lowbar;62&lowbar;prime256v1)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
