Big Integer Math

cancel
Showing results for 
Search instead for 
Did you mean: 

Big Integer Math

785 Views
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!

Labels (1)
0 Kudos
3 Replies

184 Views
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 Kudos

184 Views
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 Kudos

184 Views
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 Kudos