[#EC_curve_nist2nid]
= EC&lowbar;curve&lowbar;nist2nid
:mrdocs:

Map a NIST curve name such as &quot;P&hyphen;256&quot; to the corresponding OpenSSL NID&period;

== Synopsis

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

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

== Return Value

Curve NID on success, or NID&lowbar;undef if `name` is not recognized&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| NIST short name (for example &quot;P&hyphen;256&quot;, &quot;B&hyphen;571&quot;)&period;
|===


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