[#EC_KEY_new_by_curve_name] = EC_KEY_new_by_curve_name :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:EC_KEY.adoc[EC_KEY]* EC_KEY_new_by_curve_name(int nid); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value EC_KEY object or NULL if an error occurred. == Parameters [cols="1,4"] |=== | Name| Description | *nid* | NID of the named curve. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#