[#CMAC_CTX_copy]
= CMAC&lowbar;CTX&lowbar;copy
:mrdocs:

Copy CMAC state from `in` into `out` (deprecated)&period;

== Synopsis

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

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

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

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| Destination CMAC context (already allocated)&period;
| *in*
| Source CMAC context to duplicate&period;
|===


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