Building Libraries - GMP (Coldfire+ V1 MCF51GM)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Building Libraries - GMP (Coldfire+ V1 MCF51GM)

跳至解决方案
2,051 次查看
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

标签 (1)
标记 (4)
0 项奖励
回复
1 解答
1,785 次查看
scifi
Senior Contributor I
0 项奖励
回复
4 回复数
1,785 次查看
Monica
Senior Contributor III

Hello Christian,

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

Best regards,

Monica.

0 项奖励
回复
1,785 次查看
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 项奖励
回复
1,785 次查看
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 项奖励
回复
1,786 次查看
scifi
Senior Contributor I
0 项奖励
回复