[#EVP_MD_CTX_reset]
= EVP&lowbar;MD&lowbar;CTX&lowbar;reset
:mrdocs:

Reset `ctx` so it can be reused with EVP&lowbar;DigestInit&lowbar;ex() without freeing it&period;

== Synopsis

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

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

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Digest context to clear&period;
|===


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