Searching -- What libraries exist for doing RSA on a 16-bit microcontroller? http://www.microchip.com/mplab/microchip-libraries-for-applications <> It SAYS it's RSA for PIC24!!! http://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=SW300052 <> This says it's compatible with PIC24! https://www.cryptolux.org/index.php/Links_to_Embedded_Crypto_Implementations <> look through these http://www.matrixssl.org/ https://www.wolfssl.com/wolfSSL/Home.html https://github.com/awslabs/s2n http://axtls.sourceforge.net/ https://tls.mbed.org/ <> look through these https://sites.google.com/site/ortegaalfredo/pic18rsa RSA on 8-bit microcontrollers ======== journal articles ======== https://www.iacr.org/archive/ches2004/31560117/31560117.pdf Journal article on implementing RSA on 8-bit microcontrollers ^^ It gives a sense of how fast it can run, and gives tips for optimizing it on a microcontroller. http://www.embedded.com/design/prototyping-and-development/4006433/Implementing-SSL-on-8-bit-micros SSL on 8-bit microcontrollers, which normally uses RSA http://eprint.iacr.org/2008/122.pdf ECC on 8-bit microCPU https://eprint.iacr.org/2015/343.pdf ECC on 8-bit, 16-bit, and 32-bit microCPUs <> Would any of the "normal" libraries designed for 32-bit or 64-bit processors work on a 16-bit processor? All processors must have some kind of BigNum library that allows them to do 1024-bit etc math, and 'int' isn't the same size everywhere.