EC_KEY_check_key

Verifies that a private and/or public key is valid.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_KEY_check_key(EC_KEY const* key);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success and 0 otherwise.

Parameters

NameDescription
keythe EC_KEY object