[#EVP_DigestSqueeze]
= EVP&lowbar;DigestSqueeze
:mrdocs:

Squeeze additional output from an XOF digest context (for example SHAKE)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;DigestSqueeze(
    xref:EVP_MD_CTX.adoc[EVP&lowbar;MD&lowbar;CTX]* ctx,
    unsigned char* out,
    size&lowbar;t outlen);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Digest context after EVP&lowbar;DigestFinalXOF() &sol; absorb phase as required by the algorithm&period;
| *out*
| Buffer that receives `outlen` bytes of XOF output&period;
| *outlen*
| Number of bytes to squeeze&period;
|===


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