[#EVP_MAC_CTX_new] = EVP_MAC_CTX_new :mrdocs: Allocate a new MAC operation context for `mac.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:EVP_MAC_CTX.adoc[EVP_MAC_CTX]* EVP_MAC_CTX_new(xref:EVP_MAC.adoc[EVP_MAC]* mac); ---- == Return Value New EVP_MAC_CTX, or NULL on failure; free with EVP_MAC_CTX_free(). == Parameters [cols="1,4"] |=== | Name| Description | *mac* | MAC method obtained from EVP_MAC_fetch() (reference is up‐reffed). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#