EC_POINT_set_compressed_coordinates_GFp

Sets the x9.62 compressed coordinates of a EC_POINT over GFp

version(!LIBRESSL_INTERNAL)
extern (C) nothrow @nogc
int
EC_POINT_set_compressed_coordinates_GFp

Parameters

group const(.EC_GROUP)*

underlying EC_GROUP object

p .EC_POINT*

EC_POINT object

x const(libressl_d.openssl.ossl_typ.BIGNUM)*

BIGNUM with x-coordinate

y_bit int

integer with the y-Bit (either 0 or 1)

ctx libressl_d.openssl.ossl_typ.BN_CTX*

BN_CTX object (optional)

Return Value

Type: int

1 on success and 0 if an error occured

Meta