Hi, I appreciate these complete and easy to use libraries!
I'm interest in using libtomcrypt for PK (RSA and DH) for small embedded applications. I created a a sample application that links against libtomcrypt and libtommath math provider. When only AES is enabled the binary size is about ~13KB, however when I enable RSA and DH the resulting binary is a bit over 100KB which is concerning since I'm working on a device that has < 300KB of memory, and most of the memory is already occupied by other applications.
In libtomcrypt I have made sure to disable everything except what is needed, I'm trying to do the same for libtommath now, but doesn't seem as configurable in this manner.
So, I guess my question is, is it expected to have a binary this large to support RSA and DH? Or should I be able to significantly decrease the binary size? I'd like to keep the binary size around 60-70KB if possible..