EC_KEY_new_ex

Create a new empty EC_KEY using a library context (deprecated).

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
EC_KEY*
EC_KEY_new_ex(
    OSSL_LIB_CTX* ctx,
    char const* propq);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

New EC_KEY, or NULL if an error occurred.

Parameters

NameDescription
ctxLibrary context for algorithm fetches, or NULL for the default.
propqOptional property query string for provider selection, or NULL.