EC_GROUP_get_curve_GF2m

Gets the parameter of the ec over GF2m defined by y^2 + x*y = x^3 + a*x^2 + b

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

Parameters

group const(.EC_GROUP)*

EC_GROUP object

p libressl_d.openssl.ossl_typ.BIGNUM*

BIGNUM for the polynomial defining the underlying field

a libressl_d.openssl.ossl_typ.BIGNUM*

BIGNUM for parameter a of the equation

b libressl_d.openssl.ossl_typ.BIGNUM*

BIGNUM for parameter b of the equation

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