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

Allocate an EC&lowbar;KEY using the EC method from `engine` (deprecated)&period;

== 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&lowbar;method(xref:ENGINE.adoc[ENGINE]* engine);
----

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

New empty EC&lowbar;KEY, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *engine*
| ENGINE supplying an EC&lowbar;KEY&lowbar;METHOD, or NULL for the default method&period;
|===


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