I wrote: > > I've just thrown together a PIC16 implementation [of the Tiny > > Encryption Algorithm. It encrypts or decrypts] a 64-bit block > > in about 6600 cycles .... The "encode" and "decode" routines > > occupy [a total of] 275 words of code space and Marco DI LEO replied: > I got 6538 cycles for encipher and a little more for decipher .... > 269 words!! That's impressive, Marco. > For a quick check: enciphering an all zero's data block using an > all zero's key gives a 0xed285da1 0x455b33c1 cipher block. Hmm... My code returns 0x66750736 0x5CF66BDD. There's a bug in either your code or mine (or in both)... Later today, when Dr. Shepherd gives me his results, I'll know whether mine is correct. > BTW: if there is someone willing to have my code I can post it here > (it is a good practice?) or I can send individual copy. Programs as large as these shouldn't be sent to the PICLIST. After my code is verified by Dr. Shepherd, I'll post it on my web page. -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === http://www.geocities.com/SiliconValley/2499