[#EC_GROUP_new_from_ecparameters]
= EC&lowbar;GROUP&lowbar;new&lowbar;from&lowbar;ecparameters
:mrdocs:

Creates a new EC&lowbar;GROUP object from an ECPARAMETERS object

== 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;ecparameters(xref:ECPARAMETERS.adoc[ECPARAMETERS] const* params);
----

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *params*
| pointer to the ECPARAMETERS object
|===


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