Assign an EC_KEY to an EVP_PKEY, incrementing the EC_KEY reference count (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
int
EVP_PKEY_set1_EC_KEY(
EVP_PKEY* pkey,
ec_key_st* key);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| pkey | Destination key wrapper. |
| key | EC_KEY to associate; its reference count is incremented on success. |