Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C RSA key generator

I create a program on a microntroller (which does not run any OS), and I can't find any library in C which can give me a RSA (PKCS#1) key generator (public and private).

I suppose that OpenSSH isn't an option because it's link to Linux or Unix. I found some SSH implementation, but it supports only the client side (encoding through a public key).

Does a such C lib exists (RSA (PKCS#1) key generator (public and private) + encoding, decoding)?

like image 352
Nicolas Voron Avatar asked Oct 06 '22 10:10

Nicolas Voron


1 Answers

I highly doubt that there is a library like that, that makes no use of operating system functionality and runs on a microcontroller. A quick google search brought this up:

polarssl.org/rsa-source-code

Maybe you can use or adapt that.

like image 145
Benjamin Maurer Avatar answered Oct 10 '22 02:10

Benjamin Maurer