PSA_ALG_IS_HASH macro
Whether the specified algorithm is a hash algorithm.
Arguments
alg
An algorithm identifier (value of type #psa_algorithm_t).
Return value
1 if \p alg is a hash algorithm, 0 otherwise. This macro may return either 0 or 1 if \p alg is not a supported algorithm identifier.