[#EVP_MAC_get0_provider]
= EVP&lowbar;MAC&lowbar;get0&lowbar;provider
:mrdocs:

Return the provider that implements a MAC algorithm&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_PROVIDER.adoc[OSSL&lowbar;PROVIDER] const*
EVP&lowbar;MAC&lowbar;get0&lowbar;provider(xref:EVP_MAC.adoc[EVP&lowbar;MAC] const* mac);
----

== Return Value

Provider pointer, or NULL if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *mac*
| MAC method obtained from EVP&lowbar;MAC&lowbar;fetch()&period;
|===


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