EC_GROUP_get_order

Gets the order of a EC_GROUP

Synopsis

Declared in <openssl/ec.h>

int
EC_GROUP_get_order(
    EC_GROUP const* group,
    BIGNUM* order,
    BN_CTX* ctx);

Return Value

1 on success and 0 if an error occurred

Parameters

NameDescription
groupEC_GROUP object
orderBIGNUM to which the order is copied
ctxunused