PSA_ALG_IS_HMAC macro
Whether the specified algorithm is an HMAC algorithm. HMAC is a family of MAC algorithms that are based on a hash function.
Arguments
alg
An algorithm identifier (value of type #psa_algorithm_t).
Return value
1 if \p alg is an HMAC algorithm, 0 otherwise. This macro may return either 0 or 1 if \p alg is not a supported algorithm identifier.