EC_POINT_is_on_curve

Checks whether the point is on the curve

Synopsis

Declared in <openssl/ec.h>

int
EC_POINT_is_on_curve(
    EC_GROUP const* group,
    EC_POINT const* point,
    BN_CTX* ctx);

Return Value

1 if the point is on the curve, 0 if not, or -1 on error

Parameters

NameDescription
groupunderlying EC_GROUP object
pointEC_POINT object to check
ctxBN_CTX object (optional)