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

Name

Description

group

underlying EC_GROUP object

point

EC_POINT object to check

ctx

BN_CTX object (optional)

Created with MrDocs