[#EVP_MAC_CTX_get_mac_size]
= EVP&lowbar;MAC&lowbar;CTX&lowbar;get&lowbar;mac&lowbar;size
:mrdocs:

Return the MAC output size for the algorithm bound to `ctx&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
EVP&lowbar;MAC&lowbar;CTX&lowbar;get&lowbar;mac&lowbar;size(xref:EVP_MAC_CTX.adoc[EVP&lowbar;MAC&lowbar;CTX]* ctx);
----

== Return Value

Tag&sol;MAC length in bytes, or 0 if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Initialized MAC context&period;
|===


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