EC_KEY_get0_private_key

Returns the private key of a EC_KEY object.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
BIGNUM const*
EC_KEY_get0_private_key(EC_KEY const* key);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

a BIGNUM with the private key (possibly NULL).

Parameters

NameDescription
keyEC_KEY object