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

Name

Description

pkey

Key that must hold an EC key.

Created with MrDocs