[#EVP_CIPHER_CTX_reset]
= EVP&lowbar;CIPHER&lowbar;CTX&lowbar;reset
:mrdocs:

Reset a cipher context to a reusable empty state without freeing it&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;CIPHER&lowbar;CTX&lowbar;reset(xref:EVP_CIPHER_CTX.adoc[EVP&lowbar;CIPHER&lowbar;CTX]* c);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| Context to clear&semi; may be reused with EVP&lowbar;EncryptInit&lowbar;ex &sol; EVP&lowbar;DecryptInit&lowbar;ex afterward&period;
|===


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