EC_POINT_set_affine_coordinates

Sets the affine coordinates of an EC_POINT

Synopsis

Declared in <openssl/ec.h>

int
EC_POINT_set_affine_coordinates(
    EC_GROUP const* group,
    EC_POINT* p,
    BIGNUM const* x,
    BIGNUM const* y,
    BN_CTX* ctx);

Return Value

1 on success and 0 if an error occurred

Parameters

NameDescription
groupunderlying EC_GROUP object
pEC_POINT object
xBIGNUM with the x-coordinate
yBIGNUM with the y-coordinate
ctxBN_CTX object (optional)