Big Integer Math

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Big Integer Math

1,242 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
Reply
3 Replies

641 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
Reply

641 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
Reply

641 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
Reply