Creates a new EC_KEY object using a named curve as underlying EC_GROUP object. Same as calling EC_KEY_new_by_curve_name_ex with a NULL library context and property query string.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
EC_KEY*
EC_KEY_new_by_curve_name(int nid);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

EC_KEY object or NULL if an error occurred.

Parameters

Name

Description

nid

NID of the named curve.

Created with MrDocs