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

Notes

Set padding to #MBEDTLS_RSA_PKCS_V21 for the RSAES-OAEP encryption scheme and the RSASSA-PSS signature scheme. The \p hash_id parameter is ignored when using #MBEDTLS_RSA_PKCS_V15 padding. The choice of padding mode is strictly enforced for private key operations, since there might be security concerns in mixing padding modes. For public key operations it is a default value, which can be overriden by calling specific \c rsa_rsaes_xxx or \c rsa_rsassa_xxx functions. The hash selected in \p hash_id is always used for OEAP encryption. For PSS signatures, it is always used for making signatures, but can be overriden for verifying them. If set to #MBEDTLS_MD_NONE, it is always overriden.

References

from examples