Big Integer Math

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

Big Integer Math

977件の閲覧回数
lolachampcar
Contributor I

I am doing some RSA stuff and was looking for a Big Integer math library for use in the JM128.  Please let me know if you can point me in the right direction.

 

Thanks!

ラベル(1)
0 件の賞賛
3 返答(返信)

376件の閲覧回数
ElioMussini
Contributor I

Hi, what you need is called an arbitrary precision arithmetic library. Some time ago I coded a prototype of the DSA Digital Signature algorythm using a 16 bit freescale part, I used the MIRACL library at that time,and after some tweaking it worked great. Maybe there is something more specific for embedded processors today, but I dont know.

 

Elio

 

 

0 件の賞賛

376件の閲覧回数
kef
Specialist I

How big is big? 64bits long long is supported natively in CW for MCUs when targeting Coldfire V1. Long long is 32bits wide targeting S08.

0 件の賞賛

376件の閲覧回数
lolachampcar
Contributor I

I would have to go back and check but it is my divide with remainder that is giving me problems and it works on 128 byte inptus (yes, BYTES).

0 件の賞賛