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

Name

Description

ctx

Library context for algorithm fetches, or NULL for the default.

propq

Optional property query string for provider selection, or NULL.

Created with MrDocs