Creates a new ec private (and optional a new public) key.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_KEY_generate_key(EC_KEY* key);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success and 0 if an error occurred.

Parameters

Name

Description

key

EC_KEY object

Created with MrDocs