PSA_ALG_IS_RSA_PSS macro
Whether the specified algorithm is RSA PSS. This includes any of the RSA PSS algorithm variants, regardless of the constraints on salt length.
Syntax
#define PSA_ALG_IS_RSA_PSS(alg) \
(PSA_ALG_IS_RSA_PSS_STANDARD_SALT(alg) || \
PSA_ALG_IS_RSA_PSS_ANY_SALT(alg))
Arguments
alg
An algorithm value or an algorithm policy wildcard.
Return value
1 if \p alg is of the form #PSA_ALG_RSA_PSS(\c hash_alg) or #PSA_ALG_RSA_PSS_ANY_SALT_BASE(\c hash_alg), where \c hash_alg is a hash algorithm or #PSA_ALG_ANY_HASH. 0 otherwise. This macro may return either 0 or 1 if \p alg is not a supported algorithm identifier or policy.