[#EC_GROUP_new_by_curve_name_ex]
= EC&lowbar;GROUP&lowbar;new&lowbar;by&lowbar;curve&lowbar;name&lowbar;ex
:mrdocs:

Creates a EC&lowbar;GROUP object with a curve specified by a NID

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EC_GROUP.adoc[EC&lowbar;GROUP]*
EC&lowbar;GROUP&lowbar;new&lowbar;by&lowbar;curve&lowbar;name&lowbar;ex(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    char const* propq,
    int nid);
----

== Return Value

newly created EC&lowbar;GROUP object with specified curve or NULL if an error occurred

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| The associated library context or NULL for the default context
| *propq*
| A property query string
| *nid*
| NID of the OID of the curve name
|===


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