Creates a new EC_GROUP object with the specified parameters defined over GFp (defined by the equation yˆ2 = xˆ3 + a*x + b)

Synopsis

Declared in <openssl/ec.h>

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

Return Value

newly created EC_GROUP object with the specified parameters

Parameters

Name

Description

p

BIGNUM with the prime number

a

BIGNUM with the parameter a of the equation

b

BIGNUM with the parameter b of the equation

ctx

BN_CTX object (optional)

Created with MrDocs