Fetch a MAC algorithm implementation from providers.
Declared in <openssl/evp.h>
EVP_MAC*
EVP_MAC_fetch(
OSSL_LIB_CTX* libctx,
char const* algorithm,
char const* properties);
Fetched EVP_MAC (refcount 1), or NULL on error; free with EVP_MAC_free().
| Name | Description |
|---|---|
| libctx | Library context for the fetch, or NULL for the default. |
| algorithm | MAC algorithm name (for example "HMAC" or "CMAC"). |
| properties | Property query string, or NULL. |