EC_POINT_set_compressed_coordinates_GF2m

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

version(!LIBRESSL_INTERNAL && !OPENSSL_NO_EC2M)
extern (C) nothrow @nogc
int
EC_POINT_set_compressed_coordinates_GF2m

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