EC_POINT_set_compressed_coordinates_GFp

Sets the x9.62 compressed coordinates of a EC_POINT. A synonym of EC_POINT_set_compressed_coordinates

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_POINT_set_compressed_coordinates_GFp(
    EC_GROUP const* group,
    EC_POINT* p,
    BIGNUM const* x,
    int y_bit,
    BN_CTX* ctx);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success and 0 if an error occurred

Parameters

NameDescription
groupunderlying EC_GROUP object
pEC_POINT object
xBIGNUM with x-coordinate
y_bitinteger with the y-Bit (either 0 or 1)
ctxBN_CTX object (optional)