EC_GROUP_cmp

Compares two EC_GROUP objects

Synopsis

Declared in <openssl/ec.h>

int
EC_GROUP_cmp(
    EC_GROUP const* a,
    EC_GROUP const* b,
    BN_CTX* ctx);

Return Value

0 if the groups are equal, 1 if not, or -1 on error

Parameters

NameDescription
afirst EC_GROUP object
bsecond EC_GROUP object
ctxBN_CTX object (optional)