mbedtls_pk_decrypt() function
Decrypt message (including padding if relevant).
Arguments
ctx
The PK context to use. It must have been set up with a private key.
olen
Decrypted message length
osize
Size of the output buffer
Return value
0 on success, or a specific error code.
Notes
For RSA keys, the default padding type is PKCS#1 v1.5.