FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/rsa.c
/* Checks the PSS data to ensure that the signature matches.
 * Salt length is equal to hash length.
 *
 * in        Hash of the data that is being verified.
 * inSz      Length of hash.
 * sig       Buffer holding PSS data.
 * sigSz     Size of PSS data.
 * hashType  Hash algorithm.
 * returns BAD_PADDING_E when the PSS data is invalid, BAD_FUNC_ARG when
 * NULL is passed in to in or sig or inSz is not the same as the hash
 * algorithm length and 0 on success.
 */
Checks the PSS data to ensure that the signature matches.
Salt length is equal to hash length.

in        Hash of the data that is being verified.
inSz      Length of hash.
sig       Buffer holding PSS data.
sigSz     Size of PSS data.
hashType  Hash algorithm.
returns BAD_PADDING_E when the PSS data is invalid, BAD_FUNC_ARG when
NULL is passed in to in or sig or inSz is not the same as the hash
algorithm length and 0 on success.
Checks the PSS data to ensure that the signature matches . Salt length is equal to hash length . in Hash of the data that is being verified . inSz Length of hash . sig Buffer holding PSS data . sigSz Size of PSS data . hashType Hash algorithm . returns BAD_PADDING_E when the PSS data is invalid BAD_FUNC_ARG when NULL is passed in to in or sig or inSz is not the same as the hash algorithm length and 0 on success .
int wc_RsaPSS_CheckPadding(const byte* in, word32 inSz, byte* sig,
                           word32 sigSz, enum wc_HashType hashType)
{
    return wc_RsaPSS_CheckPadding_ex(in, inSz, sig, sigSz, hashType, inSz, 0);
}
int wc_RsaPSS_CheckPadding ( const byte * in , word32 inSz , byte * sig , word32 sigSz , enum wc_HashType hashType ) { return wc_RsaPSS_CheckPadding_ex ( in , inSz , sig , sigSz , hashType , inSz , 0 ) ; }
Checks the PSS data to ensure that the signature matches.
Checks the PSS data to ensure that the signature matches .