Article View: sci.crypt
Article #3091Re: How fast is DES?
From: Andrew Haley
Date: Mon, 11 Jan 1993 15:25
Date: Mon, 11 Jan 1993 15:25
31 lines
1929 bytes
1929 bytes
Germano Caronni (caronni@nessie.cs.id.ethz.ch) wrote: : In article <1494@eouk9.eoe.co.uk> ahaley@eoe.co.uk (Andrew Haley) writes: : > : >The only thing I have seen which might be faster is Khufu. Certainly : >IDEA (as used in PGP) isn't any faster, and if you use enough rounds : : Have you tried it ? (pgp -c is not a very fair test, as there are : some tmpfiles which let me think that pgp tries compression&encryption:-) ) I tried IDEA when it was still called PES [*] (Proposed Encryption Standard.) This was long before PGP became available. My implementation was entirely in carefully optimized 386 assembler, as was my DES implementation, so I think that the comparision is fair. That IDEA should not be a great deal faster than DES isn't very surprising. IDEA has four modular multiplications in its inner loop, (each one of which involves multiplication, test, and shift) and a few additions and XORs. DES requires four mask/lookup/XOR/shift operations in its inner loop, but has 16 rounds, compared to IDEA's 8. The speed advantage of IDEA depends on the speed ratio of 32 bit table lookup/ XOR to 16 bit multiply. Interestingly enough, if you were to use a machine (such as a DSP) with a flash multiplier things would be very different. I would expect IDEA to be much faster than DES on such a machine, always assuming that the other IDEA operations could be efficiently coded. Andrew. [*] In fact, PES is slightly different from IDEA, but runs at almost identical speed.
Technical Details
Message-ID:
<1495@eouk9.eoe.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!uknet!acorn!eoe!ahaleyReferences:
<1993Jan8.144207.9539@bernina.ethz.ch>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!uknet!acorn!eoe!ahaley From: ahaley@eoe.co.uk (Andrew Haley) Newsgroups: sci.crypt Subject: Re: How fast is DES? Message-ID: <1495@eouk9.eoe.co.uk> Date: 11 Jan 93 15:25:58 GMT References: <1993Jan8.144207.9539@bernina.ethz.ch> Organization: EO Europe Limited, Cambridge, UK Lines: 31 X-Newsreader: TIN [version 1.1 PL6]