Hi all,
I need some math functions to work with big integers (256 Bit) for ecdsa signature verifying
Can I build Libraries like GNU GMP also for the Coldfire MCU? Or maybe there`s another math library probably suiting better for this architecture?
Regards
Christian
Solved! Go to Solution.
Hello Christian,
was that suggestion helpful? Please keep us posted, we'd like to know :smileywink:
Best regards,
Monica.
Hello Monica,
yes the suggestion was helpful. I've implemented the ECDSA signature verifying algorithm successfully with the BigDigits Library for multiprecision math. The performance is slower than the GMP functions (implemented in mini-gmp.c subset). Therefor I have to optimize the math functions which are written in standard c with assembly functions. Unfortunately the calling convention between C-Compiler (CW 10.2) and assembly functions I have found for this problem (using emac Hardware) is different, so if anyone has this problem too, alsp take a look at Problems with MAC and EMAC macros in ColdFire V1+
Kind regards
Christian
Christian,
great to know that issue was resolved, thanks for sharing.
We'll be keeping an eye on the other post :smileywink:
Best,
Monica.