Building Libraries - GMP (Coldfire+ V1 MCF51GM)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Building Libraries - GMP (Coldfire+ V1 MCF51GM)

Jump to solution
861 Views
chbecker
Contributor II

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

Labels (1)
0 Kudos
1 Solution
595 Views
scifi
Senior Contributor I
0 Kudos
4 Replies
595 Views
Monica
Senior Contributor III

Hello Christian,

was that suggestion helpful? Please keep us posted, we'd like to know :smileywink:

Best regards,

Monica.

0 Kudos
595 Views
chbecker
Contributor II

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

0 Kudos
595 Views
Monica
Senior Contributor III

Christian,

great to know that issue was resolved, thanks for sharing.

We'll be keeping an eye on the other post :smileywink:

Best,

Monica.

0 Kudos
596 Views
scifi
Senior Contributor I
0 Kudos