[#EC_GROUP_get_order]
= EC&lowbar;GROUP&lowbar;get&lowbar;order
:mrdocs:

Gets the order of a EC&lowbar;GROUP

== Synopsis

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

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

== Return Value

1 on success and 0 if an error occurred

== Parameters

[cols="1,4"]
|===
| Name| Description
| *group*
| EC&lowbar;GROUP object
| *order*
| BIGNUM to which the order is copied
| *ctx*
| unused
|===


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