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

Return value

On success, the number of bytes written to the output buffer (i.e. a value > 0). MBEDTLS_ERR_RSA_BAD_INPUT_DATA if the RSA context does not contain a valid key pair. MBEDTLS_ERR_ASN1_xxx in case of failure while writing to the output buffer.

Notes

The output buffer is filled backward, i.e. starting from its end and moving toward its start.

References