EVP_PKEY_get0_EC_KEY

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

NameDescription
pkeyKey that must hold an EC key.