From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,19ab04458779b99e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,d5991e208f8d5b5b X-Google-Attributes: gid102b75,public From: billm@cygnus.com (Bill Moyer) Subject: Re: Steal their thunder (was Re: Alpha window of opportunity?) Date: 1998/06/10 Message-ID: <6lmgtd$aer$1@andros.cygnus.com>#1/1 X-Deja-AN: 361438466 References: <6l5gh1$vjc$1@piglet.cc.uic.edu> <35787CE8.51BF357E@videotron.ca> <6la6kf$ljm@crl3.crl.com> <357E265D.D42F5D98@shore.net> Organization: Subtle, but there. Newsgroups: comp.arch,comp.sys.dec In article <357E265D.D42F5D98@shore.net> Russell Sasamori writes: > >How would cryptography benefit from wider registers and ALU's? >I thought the most frequently performed operations were emulating LFSR's so I >cannot imagine how having a 128-bit ALU can present such a big benefit over a >64-bit ALU, for example. (Unless the the ALU was custom-designed to do >cryptography work). LFSR's are not too hard to emulate in software. The time-consuming calculations are long-integer multiplication and exponentiation (RSA) and repeated rotates (RC4) in block ciphers. Long-integer multiplica- tion requires (L/R)**2 multiplication operations, where L is the length of the long integer (eg, 1024 bits) and R is the length of the register subset with which it is possible to perform multiply with overflow (eg, 16, 32, or 64 bits). Regarding LFSR's, wide integers still help you here when you are implementing your LFSR ADT as multiple LFSR's operating in parallel, with each register representing a bitslice of all of the LFSR's. -- Bill Moyer