Big Integer Math

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

Big Integer Math

1,026 次查看
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 回复数

425 次查看
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 项奖励

425 次查看
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 项奖励

425 次查看
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 项奖励