From: Terje Mathisen <Terje.Mathisen@hda.hydro.com>
Subject: Re: [++] Re: Steal their thunder (was Re: Alpha window of opportunity?)
Date: 1998/06/11 [thread overview]
Message-ID: <357F877C.3E4B362@hda.hydro.com> (raw)
In-Reply-To: 357F7842.3A27C0C9@shore.net
Russell Sasamori wrote:
>
> >especially if you also have a popcount
> I think Alpha has an instruction that counts the number of ones.
>
> > temp = lfsr & feedback_mask;
> > feedback_term = parity(temp); // # define parity(x) (popcount(x) & 1)
> > lfsr = (lfsr << 1) | feedback_term;
>
> I visualized the circuit in my head but could not figure out what
> it is doing in terms of polynomial algebra. OTOH this I can understand:
>
> if(LFSR & 0x8000000000000000)
> lfsr=(lfsr<<1)^POLYNOMIAL;
> else
> lfsr=(lfsr<<1);
That isn't a LFSR, it is instead the traditional way to implement CRC!
> >On a 500MHz cpu, this would enable up to about 30+ MB/s, still far below
> >what a cheap FPGA should do with no (very low) host cpu overhead.
>
> I agree. Cryptography is one of the fields where you can get a lot
> of mileage out of building a dedicated hardware.
>
> >The Motorola altivec in-register
> What is altivec?
Motorola's 128-bit wide (extended) MMX/VIS style vector processing
extension.
> >However, most (all?) other crypto algorithms are block algorithms,
> What do you mean by block?
> Do you mean as in "block error correcting code" where the elements
> of the group are a^1, a^2, ... a^n?
No, as in the algorithm is defined as working on BLOCK bits
simultaneously, i.e. using IDEA you have to pad the input data until it
is a multiple of 128 bits long.
Similarly, DES works on 64-bit blocks, by doing 16 iterations of
data-dependent bit permuations within that block, before going on to the
next 64-bit block.
A LFSR can work one bit at a time, and every bit is dependent upon all
preceeding bits.
Terje
--
- <Terje.Mathisen@hda.hydro.com>
Using self-discipline, see http://www.eiffel.com/discipline
"almost all programming can be viewed as an exercise in caching"
next prev parent reply other threads:[~1998-06-11 4:00 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-04 4:00 Alpha window of opportunity? (was Re: Intel announces six month Merced delay.) Anil T Maliyekke
1998-06-05 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Alan Chee
1998-06-05 4:00 ` Ketil Z Malde
1998-06-05 4:00 ` Doug Siebert
1998-06-05 4:00 ` Brian Hurt
1998-06-05 4:00 ` Anil T Maliyekke
1998-06-06 4:00 ` Andy Glew
1998-06-09 4:00 ` M Sweger
1998-06-10 4:00 ` 128-bit CPUs (was: Re: Steal their thunder ) Gary Heston
1998-06-12 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Gregg E Economou
1998-06-12 4:00 ` Silliness (was Re: Steal their thunder) Bill Moyer
1998-06-13 4:00 ` Jamie Lokier
1998-06-17 4:00 ` Gregg E Economou
1998-06-18 4:00 ` Bernd Paysan
1998-06-18 4:00 ` James Cownie
1998-06-18 4:00 ` Stanley Chow
1998-06-13 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Jamie Lokier
1998-06-15 4:00 ` M Sweger
1998-06-17 4:00 ` Gregg E Economou
1998-06-05 4:00 ` Stefan Monnier
1998-06-06 4:00 ` Ketil Z Malde
1998-06-06 4:00 ` Gregg E Economou
1998-06-09 4:00 ` M Sweger
1998-06-14 4:00 ` Heikki Kultala
1998-06-05 4:00 ` Kai Harrekilde-Petersen
1998-06-05 4:00 ` Bernd Paysan
1998-06-05 4:00 ` Craig Burley
1998-06-08 4:00 ` Bernd Paysan
1998-06-09 4:00 ` Maynard Handley
1998-06-06 4:00 ` Gregg E Economou
1998-06-06 4:00 ` Thomas Womack
1998-06-08 4:00 ` Gregg E Economou
1998-06-08 4:00 ` Alan Chee
1998-06-07 4:00 ` Pierre Asselin
1998-06-05 4:00 ` JF Mezei
1998-06-05 4:00 ` George Herbert
1998-06-09 4:00 ` M Sweger
1998-06-10 4:00 ` Russell Sasamori
1998-06-10 4:00 ` Bill Moyer
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Bill Moyer
1998-06-10 4:00 ` [++] " Terje Mathisen
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Terje Mathisen [this message]
1998-06-11 4:00 ` Kai Harrekilde-Petersen
1998-06-10 4:00 ` Peter L. Montgomery
1998-06-11 4:00 ` Russell Sasamori
1998-06-06 4:00 ` Ketil Z Malde
1998-06-06 4:00 ` Gregg E Economou
1998-06-08 4:00 ` Terry Shannon
1998-06-08 4:00 ` Miro Jurcevic
1998-06-09 4:00 ` Russell Sasamori
1998-06-09 4:00 ` Ketil Z Malde
1998-06-09 4:00 ` Bernd Paysan
1998-06-09 4:00 ` Joachim Strombergson
1998-06-09 4:00 ` Petter Gustad
1998-06-10 4:00 ` What is bitness? Russell Sasamori
1998-06-10 4:00 ` Bernd Paysan
1998-06-11 4:00 ` Russell Sasamori
1998-06-10 4:00 ` Jan Vorbrueggen
1998-06-10 4:00 ` Alex Colvin
1998-06-10 4:00 ` Jeffrey S. Dutky
1998-06-11 4:00 ` Ketil Z Malde
1998-06-11 4:00 ` Jeffrey S. Dutky
1998-06-12 4:00 ` Ketil Z Malde
1998-06-14 4:00 ` msimon
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Russell Sasamori
1998-06-10 4:00 ` Zalman Stern
1998-06-10 4:00 ` Ketil Z Malde
1998-06-11 4:00 ` Russell Sasamori
1998-06-11 4:00 ` Ketil Z Malde
1998-06-10 4:00 ` Peter da Silva
1998-06-11 4:00 ` Gary Heston
1998-06-11 4:00 ` Peter da Silva
1998-06-12 4:00 ` Mike McCarty
1998-06-08 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Bill Broadley
1998-06-08 4:00 ` Peter da Silva
1998-06-08 4:00 ` stev knowles
[not found] ` <6lhc0e$bak@web.nmti.com>
1998-06-08 4:00 ` stev knowles
1998-06-08 4:00 ` Gregg E Economou
1998-06-08 4:00 ` Terry Shannon
1998-06-09 4:00 ` Donald G. Marchlenski
1998-06-09 4:00 ` Peter da Silva
1998-06-10 4:00 ` Special VMS Sauce on WNT from McDEC: see http://www.acersoft.com Terry Shannon
[not found] ` <6lmt5s$oaa@web.nmti.com>
1998-06-10 4:00 ` Graham Allan
1998-06-10 4:00 ` Peter da Silva
1998-06-11 4:00 ` Graham Allan
1998-06-11 4:00 ` Quentin Fennessy
1998-06-11 4:00 ` Peter da Silva
1998-06-12 4:00 ` Quentin Fennessy
1998-06-18 4:00 ` Fred Kleinsorge
1998-06-18 4:00 ` quodling
1998-06-12 4:00 ` Steal their thunder (was Re: Alpha window of opportunity?) Gregg E Economou
1998-06-09 4:00 ` JF Mezei
1998-06-09 4:00 ` stev knowles
1998-06-13 4:00 ` Andrew C. Stoffel
1998-06-09 4:00 ` [++] " Terje Mathisen
1998-06-06 4:00 ` Alpha window of opportunity? (was Re: Intel announces six month Merced delay.) Matthias Dolder
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox