Return a borrowed pointer to the EC_KEY held by pkey (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
ec_key_st const*
EVP_PKEY_get0_EC_KEY(EVP_PKEY const* pkey);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Internal EC_KEY pointer (do not free), or NULL if not an EC key.

Parameters

Name

Description

pkey

Key that must hold an EC key.

Created with MrDocs