[#EVP_MAC_finalXOF]
= EVP&lowbar;MAC&lowbar;finalXOF
:mrdocs:

Finalize an XOF&hyphen;style MAC and write `outsize` bytes of output&period;

== Synopsis

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

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

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| MAC context that has absorbed input via EVP&lowbar;MAC&lowbar;update()&period;
| *out*
| Buffer receiving the MAC output&period;
| *outsize*
| Number of output bytes requested&period;
|===


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