RSA doesn't run as expected. With expopent=3 and length=512, program doesn't crash but after four hours (@ 16 MHz on simavr), gdb shows that program stays in RSA subroutines and doesn't return to main routine. Something is probably broken somewhere.
I have found a uECC library but I don't understand how use this library to encrypt data (I think I have understand how I can sign data). Best regards, JB