PSA_ALG_IS_SIGN_MESSAGE macro
Whether the specified algorithm is a signature algorithm that can be used with psa_sign_message() and psa_verify_message().
Arguments
alg
An algorithm identifier (value of type #psa_algorithm_t).
Return value
1 if alg is a signature algorithm that can be used to sign a message. 0 if \p alg is a signature algorithm that can only be used to sign an already-calculated hash. 0 if \p alg is not a signature algorithm. This macro can return either 0 or 1 if \p alg is not a supported algorithm identifier.