EVP_PKEY_get1_EC_KEY

Return a new reference to the EC_KEY held by pkey (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
ec_key_st*
EVP_PKEY_get1_EC_KEY(EVP_PKEY* pkey);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

EC_KEY with an incremented reference count, or NULL if not an EC key; free with EC_KEY_free().

Parameters

NameDescription
pkeyKey that must hold an EC key.