RSA RSA in c : simplify from https://github.com/ARMmbed/mbedtls create RSA keys: in rsa_test.c generateRSAKeys public && private key encrpytion in rsa_test.c pubEn maybe this project can help you.