Return a new reference to the EC_KEY held by pkey (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
ec_key_st*
EVP_PKEY_get1_EC_KEY(EVP_PKEY* pkey);
Deprecated. Use of this entity is allowed but discouraged.
EC_KEY with an incremented reference count, or NULL if not an EC key; free with EC_KEY_free().
| Name | Description |
|---|---|
| pkey | Key that must hold an EC key. |