EC_KEY_new_by_curve_name_ex

Creates a new EC_KEY object using a named curve as underlying EC_GROUP object.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
EC_KEY*
EC_KEY_new_by_curve_name_ex(
    OSSL_LIB_CTX* ctx,
    char const* propq,
    int nid);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

EC_KEY object or NULL if an error occurred.

Parameters

NameDescription
ctxThe library context for to use for this EC_KEY. May be NULL in which case the default library context is used.
propqAny property query string
nidNID of the named curve.