[#EVP_KDF_CTX_new]
= EVP&lowbar;KDF&lowbar;CTX&lowbar;new
:mrdocs:

Allocate a key&hyphen;derivation context for a fetched EVP&lowbar;KDF&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_KDF_CTX.adoc[EVP&lowbar;KDF&lowbar;CTX]*
EVP&lowbar;KDF&lowbar;CTX&lowbar;new(xref:EVP_KDF.adoc[EVP&lowbar;KDF]* kdf);
----

== Return Value

New context, or NULL on failure&semi; free with EVP&lowbar;KDF&lowbar;CTX&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *kdf*
| Algorithm from EVP&lowbar;KDF&lowbar;fetch() (not consumed&semi; may be freed after)&period;
|===


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