Assign an EC_KEY to an EVP_PKEY, incrementing the EC_KEY reference count (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_PKEY_set1_EC_KEY(
    EVP_PKEY* pkey,
    ec_key_st* key);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

pkey

Destination key wrapper.

key

EC_KEY to associate; its reference count is incremented on success.

Created with MrDocs