[#EVP_MAC_CTX_set_params]
= EVP&lowbar;MAC&lowbar;CTX&lowbar;set&lowbar;params
:mrdocs:

Apply an OSSL&lowbar;PARAM array of parameters to a MAC context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;MAC&lowbar;CTX&lowbar;set&lowbar;params(
    xref:EVP_MAC_CTX.adoc[EVP&lowbar;MAC&lowbar;CTX]* ctx,
    xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM] const params[]);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| MAC context to update&period;
| *params*
| Parameter array terminated by OSSL&lowbar;PARAM&lowbar;construct&lowbar;end()&period;
|===


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