EC_GROUP_new_curve_GF2m

Creates a new EC_GROUP object with the specified parameters defined over GF2m (defined by the equation y^2 + xy = x^3 + ax^2 + b)

Synopsis

Declared in <openssl/ec.h>

EC_GROUP*
EC_GROUP_new_curve_GF2m(
    BIGNUM const* p,
    BIGNUM const* a,
    BIGNUM const* b,
    BN_CTX* ctx);

Return Value

newly created EC_GROUP object with the specified parameters

Parameters

NameDescription
pBIGNUM with the polynomial defining the underlying field
aBIGNUM with the parameter a of the equation
bBIGNUM with the parameter b of the equation
ctxBN_CTX object (optional)