On Fri, 30 May 2003, Major Variola (ret) wrote: > >On Fri, May 23, 2003 at 11:36:58AM -0700, Major Variola (ret.) wrote: > >> Anyone know of any open-source modexp code for 8-bit cpus? > > Thank you for your response, however (for the record) that code requires > > at least a 16bit CPU. From bnlib.doc (an amusing read, BTW): > > It is written in C, and should compile on any platform with an ANSI C > compiler and 16 and 32-bit unsigned data types > > "Small" is defined as less than 65536, the minimum 16-bit word size > supported by the library.
It can't be that hard to modify it to work with an 8 bitter. I've written an aweful lot of 40 bit floating point routines for everything from 6809's to PIC's. 8 bit modulus code should be easy. Patience, persistence, truth, Dr. mike