At 13:22 23.8.1999 +0300, you wrote: >I've been toying with the idea of running that popular RC5 key search on a >PIC. Now, I realize it probably won't be cost effective, because I have >estimated the performance of it on a PIC - with $1 per a 20 MHz pic, I'd spend >more money on just the PICs than buying a complete K6-2 or Celeron system, to >get equivalent performance. > >What really hurts the performance is the 32-bit data, and how to handle it. >I've managed to do a 32-bit rotate (which can roll the data 0-31 bits left), >which takes 17-47 instruction cycles (average 35.25), but haven't looked >further into it. I'd be ecstatic if I managed to get above 5000 keys/second >from a single PIC, but I have a feeling that it will be difficult if not even >impossible. > What about to use some external PLD chip like Lattice isp1016 for 32bit rotation ? Put 2 x +υ bits in and than only clock rotation via one pin and read the data back ? PavelK ************************************************************************** * Pavel KorenskyΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚ * * DATOR3 LAN Services spol. s r.o.ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚ * * Styblova 13, 140 00, Prague 4, Czech Republic ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚ * *ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚ * * PGP Key fingerprint:Κ F3 E1 AE BC 34 18 CB A6Κ CC D0 DA 9E 79 03 41 D4 * *ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚ * * SUMMA SCIENTIA - NIHIL SCIREΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚ * **************************************************************************