[#CMAC_CTX_new]
= CMAC&lowbar;CTX&lowbar;new
:mrdocs:

Allocate a new CMAC context (deprecated&semi; prefer EVP&lowbar;MAC)&period;

== Synopsis

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

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

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

New CMAC&lowbar;CTX, or NULL on allocation failure&period;


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