EC_GROUP_new_from_params

Creates a EC_GROUP object with a curve specified by parameters. The parameters may be explicit or a named curve,

Synopsis

Declared in <openssl/ec.h>

EC_GROUP*
EC_GROUP_new_from_params(
    OSSL_PARAM const params[],
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

newly created EC_GROUP object with specified parameters or NULL if an error occurred

Parameters

NameDescription
paramsA list of parameters describing the group.
libctxThe associated library context or NULL for the default context
propqA property query string