Building Libraries - GMP (Coldfire+ V1 MCF51GM)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Building Libraries - GMP (Coldfire+ V1 MCF51GM)

ソリューションへジャンプ
1,178件の閲覧回数
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 解決策
912件の閲覧回数
scifi
Senior Contributor I
0 件の賞賛
返信
4 返答(返信)
912件の閲覧回数
Monica
Senior Contributor III

Hello Christian,

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

Best regards,

Monica.

0 件の賞賛
返信
912件の閲覧回数
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 件の賞賛
返信
912件の閲覧回数
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 件の賞賛
返信
913件の閲覧回数
scifi
Senior Contributor I
0 件の賞賛
返信