Test whether a MAC implementation matches an algorithm name.

Synopsis

Declared in <openssl/evp.h>

int
EVP_MAC_is_a(
    EVP_MAC const* mac,
    char const* name);

Return Value

1 if mac is known as name, or 0 otherwise.

Parameters

Name

Description

mac

MAC method to query.

name

Algorithm name (for example "HMAC" or "CMAC").

Created with MrDocs