[#EC_GROUP_cmp]
= EC&lowbar;GROUP&lowbar;cmp
:mrdocs:

Compares two EC&lowbar;GROUP objects

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EC&lowbar;GROUP&lowbar;cmp(
    xref:EC_GROUP.adoc[EC&lowbar;GROUP] const* a,
    xref:EC_GROUP.adoc[EC&lowbar;GROUP] const* b,
    xref:BN_CTX.adoc[BN&lowbar;CTX]* ctx);
----

== Return Value

0 if the groups are equal, 1 if not, or &hyphen;1 on error

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| first EC&lowbar;GROUP object
| *b*
| second EC&lowbar;GROUP object
| *ctx*
| BN&lowbar;CTX object (optional)
|===


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