[#EC_KEY_new]
= EC&lowbar;KEY&lowbar;new
:mrdocs:

Creates a new EC&lowbar;KEY object&period; Same as calling EC&lowbar;KEY&lowbar;new&lowbar;ex with a NULL library context

== Synopsis

Declared in `&lt;openssl&sol;ec&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:EC_KEY.adoc[EC&lowbar;KEY]*
EC&lowbar;KEY&lowbar;new();
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

EC&lowbar;KEY object or NULL if an error occurred&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
