mbedtls_pk_encrypt() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

0 on success, or a specific error code.

Notes

For keys of type #MBEDTLS_PK_RSA, the signature algorithm is either PKCS#1 v1.5 or OAEP, depending on the padding mode in the underlying RSA context. For a pk object constructed by parsing, this is PKCS#1 v1.5 by default. \p f_rng is used for padding generation.

References