mbedtls_rsa_rsassa_pss_verify() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

\c 0 if the verify operation was successful. An \c MBEDTLS_ERR_RSA_XXX error code on failure.

Notes

The \p hash_id in the RSA context is the one used for the verification. \p md_alg in the function call is the type of hash that is verified. According to RFC-3447: Public-Key Cryptography Standards (PKCS) #1 v2.1: RSA Cryptography Specifications it is advised to keep both hashes the same. If \p hash_id in the RSA context is unset, the \p md_alg from the function call is used. Alternative implementations of RSA need not support mode being set to #MBEDTLS_RSA_PRIVATE and might instead return #MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED.

References

from examples