[#HMAC_CTX_reset]
= HMAC&lowbar;CTX&lowbar;reset
:mrdocs:

Reset an HMAC context to a reusable empty state (deprecated&semi; prefer EVP&lowbar;MAC)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
HMAC&lowbar;CTX&lowbar;reset(xref:HMAC_CTX.adoc[HMAC&lowbar;CTX]* ctx);
----

[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
| *ctx*
| Context to clear and reinitialize for a new HMAC&lowbar;Init&lowbar;ex sequence&period;
|===


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