EC_GROUP_get_curve_GFp

Gets the parameters of an ec curve. Synonym for EC_GROUP_get_curve

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_GROUP_get_curve_GFp(
    EC_GROUP const* group,
    BIGNUM* p,
    BIGNUM* a,
    BIGNUM* 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

NameDescription
groupEC_GROUP object
pBIGNUM with the prime number (GFp) or the polynomial defining the underlying field (GF2m)
aBIGNUM for parameter a of the equation
bBIGNUM for parameter b of the equation
ctxBN_CTX object (optional)