[#EVP_MAC_names_do_all]
= EVP&lowbar;MAC&lowbar;names&lowbar;do&lowbar;all
:mrdocs:

Invoke a callback for every name (including aliases) associated with a MAC implementation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;MAC&lowbar;names&lowbar;do&lowbar;all(
    xref:EVP_MAC.adoc[EVP&lowbar;MAC] const* mac,
    void(* fn)(char const*, void*),
    void* data);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *mac*
| MAC algorithm whose names are enumerated&period;
| *fn*
| Callback receiving each name and `data&period;`
| *data*
| Opaque pointer forwarded to `fn&period;`
|===


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