I was developing a crypto cracking challenge where the ultimate task is to factor a RSA key. To make the process feasible I want to use small key sizes (512 bits and lower). The challenge is a compiled binary for the ARM platform written in C.
Is there any open source libraries that I may use which supports small key sizes and preferably be used in embedded environments ?
Further, it would be great if it also can import OpenSSL generated keys in
I tried using libtomcrypt but apparently it does not support key sizes of less than 1024 bits.