[#EC_GROUP_new_curve_GF2m]
= EC&lowbar;GROUP&lowbar;new&lowbar;curve&lowbar;GF2m
:mrdocs:

Creates a new EC&lowbar;GROUP object with the specified parameters defined over GF2m (defined by the equation y&circ;2 &plus; x_y &equals; x&circ;3 &plus; a_x&circ;2 &plus; b)

== 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;curve&lowbar;GF2m(
    xref:BIGNUM.adoc[BIGNUM] const* p,
    xref:BIGNUM.adoc[BIGNUM] const* a,
    xref:BIGNUM.adoc[BIGNUM] const* b,
    xref:BN_CTX.adoc[BN&lowbar;CTX]* ctx);
----

== Return Value

newly created EC&lowbar;GROUP object with the specified parameters

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| BIGNUM with the polynomial defining the underlying field
| *a*
| BIGNUM with the parameter a of the equation
| *b*
| BIGNUM with the parameter b of the equation
| *ctx*
| BN&lowbar;CTX object (optional)
|===


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