EC_POINT_cmp

Compares two EC_POINTs

Synopsis

Declared in <openssl/ec.h>

int
EC_POINT_cmp(
    EC_GROUP const* group,
    EC_POINT const* a,
    EC_POINT const* b,
    BN_CTX* ctx);

Return Value

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

Parameters

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