Arm Mbed and Pelion Device Management support forum

Steps to generate RSA public/private key and use it to encrypt and decrypt data

Hi, I want to do implement some functions with mbedtls. Here is the features what I want: a API to generate RSA public/private key.
2.Parse the public/private key and store them as char array(with means it needs a api to set key).
3.set RSA public with char array to encrypt data and set private key with char array to decrypt data.

Could u please help me?

HI @jwcesign

As mentioned in this post, Mbed TLS is now maintained under open governance at

Does this answer your question?

Mbed Support