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

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 public key. 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

from examples