mbedtls_rsa_rsassa_pss_verify() is only used within mbed TLS Library.
 
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 \c hash_id set in \p ctx (when calling mbedtls_rsa_init() or by calling mbedtls_rsa_set_padding() afterwards) selects the hash used for the encoding operation and for the mask generation function (MGF1). For more details on the encoding operation and the mask generation function, consult RFC-3447: Public-Key Cryptography Standards (PKCS) #1 v2.1: RSA Cryptography Specifications. If the \c hash_id set in \p ctx is #MBEDTLS_MD_NONE, the \p md_alg parameter 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