EC_KEY_new_method

Allocate an EC_KEY using the EC method from engine (deprecated).

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
EC_KEY*
EC_KEY_new_method(ENGINE* engine);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

New empty EC_KEY, or NULL on error.

Parameters

NameDescription
engineENGINE supplying an EC_KEY_METHOD, or NULL for the default method.