[#EC_GROUP_new_from_params]
= EC&lowbar;GROUP&lowbar;new&lowbar;from&lowbar;params
:mrdocs:

Creates a EC&lowbar;GROUP object with a curve specified by parameters&period; The parameters may be explicit or a named curve,

== 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;from&lowbar;params(
    xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM] const params[],
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    char const* propq);
----

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *params*
| A list of parameters describing the group&period;
| *libctx*
| The associated library context or NULL for the default context
| *propq*
| A property query string
|===


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