Fetch a MAC algorithm implementation from providers.

Synopsis

Declared in <openssl/evp.h>

EVP_MAC*
EVP_MAC_fetch(
    OSSL_LIB_CTX* libctx,
    char const* algorithm,
    char const* properties);

Return Value

Fetched EVP_MAC (refcount 1), or NULL on error; free with EVP_MAC_free().

Parameters

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.

Created with MrDocs