Sets the parameter of an ec curve. Synonym for EC_GROUP_set_curve

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_GROUP_set_curve_GF2m(
    EC_GROUP* group,
    BIGNUM const* p,
    BIGNUM const* a,
    BIGNUM const* b,
    BN_CTX* ctx);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success and 0 if an error occurred

Parameters

Name

Description

group

EC_GROUP object

p

BIGNUM with the prime number (GFp) or the polynomial defining the underlying field (GF2m)

a

BIGNUM with parameter a of the equation

b

BIGNUM with parameter b of the equation

ctx

BN_CTX object (optional)

Created with MrDocs