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

Return value

\c 0 on success. An \c MBEDTLS_ERR_RSA_XXX error code on failure.

Notes

The output buffer must be as large as the size of ctx->N. For example, 128 Bytes if RSA-1024 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