home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / sci / crypt / 3135 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.6 KB

  1. Path: sparky!uunet!mcsun!uknet!stl!robobar!ibmpcug!mantis!jc
  2. From: jc@mantis.co.uk (John Cox)
  3. Newsgroups: sci.crypt
  4. Subject: Re: SHS/SHA source code + random thoughts
  5. Keywords: SHS SHA message digest
  6. Message-ID: <iJ4PqB1w165w@mantis.co.uk>
  7. Date: 7 Sep 92 08:46:05 GMT
  8. References: <1992Sep5.151837.14322@cs.sandia.gov>
  9. Organization: Mantis Consultants, Cambridge. UK.
  10. Lines: 56
  11.  
  12. mccurley@cs.sandia.gov (Kevin S. McCurley) writes:
  13.  
  14. > In article <1992Sep4.060230.28313@cs.aukuni.ac.nz> Peter Gutmann (pgut1@cs.au
  15. > >SHA Speed
  16. > >=========
  17. > >
  18. > >  I ran the SHA code against the distributed version of MD5 (which is
  19. > >significantly less optimised than the SHA code).  The results were as follow
  20. > >
  21. > >          25 MHz PClone     DECstation 2100     DECstation 5000
  22. > >
  23. > >    SHA         31 K/sec           120 K/sec           208 K/sec
  24. > >    MD5         55 K/sec           169 K/sec           278 K/sec
  25. > >
  26. > > [misc comment deleted]
  27. >
  28. > machine                                  bytes/second
  29. > ---------------------------------------------------------
  30. > IBM RS/6000 530H, xlc -O                   1,098,000 
  31. > SGI IRIS (33 MHz Model 4D340), cc -O3      1,038,200
  32. > Sun Sparcstation 2, cc -O4                 1,009,000
  33. > IBM RS/6000 530, xlc -O -Q                   832,600
  34. > SGI IRIS (25 MHz Model 4D240), cc -O3        806,000
  35. > DECstation 5000, cc -O4                      598,000
  36. > Sun Sparcstation 1+, cc -O3                  507,000
  37. > Sun Sparcstation 1, cc -O4                   498,000
  38. > DECstation 3100, gcc -O2                     495,000
  39. > NeXTstation cc -O                            347,000
  40. > Gateway 2000 (50MHz 80486Dx2), gcc -O2       244,710
  41. > Sequent Symmetry (Intel 386), cc -O4          87,128
  42. > Zenith 386 (16MHz), gcc -O2                   81,761
  43. > Gateway 2000, Turbo C 2.0                     57,569
  44. > Zenith 386, Turbo C 2.0.                      17,700
  45. > The only direct comparision I see to Peter's figures are for the
  46. > Decstation 5000, where my results are about a factor of 2.8 faster.
  47. > This comparison may not be fair, since I don't know how Peter could
  48. > find a better compiler for his, or maybe he is reading stuff from a
  49. > file.
  50. > [more comment deleted]
  51. > Kevin McCurley
  52. > Sandia National Laboratories
  53.  
  54. As a note about speed on PCs without going to the level of using
  55. assembler - in fact without changing a byte of the distribution source
  56. of MD5, MS C7 will produce the following result:
  57.  
  58. Ti'ko 486/50, MS C7.0, cl /Oazxb2 /Gr /G2     555,555 Kb/sec
  59.  
  60. Which compares favourably with the result of the gateway 2000 above.
  61.  
  62.  
  63. John Cox, jc@mantis.co.uk, jc@cix.compulink.co.uk
  64. Mantis Consultants, Unit 56, St. John's Innovation Centre, Cambridge. CB4 4WS.
  65.