home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / crypt / 6642 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.8 KB

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