[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SHA-1



Housley, Russ says:
> We just ran some independent tests with our SHA-1 implemntation.  We ran
> 10,000,000 bytes through the hash function.  On a 486/66 PC, we got around
> 160,000 bytes/sec.  On a Sun SPARC20 (single CPU), we got around 2,070,000
> bytes/sec.  In both cases, the code was compiled with speed optimization on.

How did you measure the time, if I may ask? I measured CPU time (tms_utime, as
a matter of fact) and got about 940,000 bytes/sec on 486DX2/50. Using GCC with
"-O6 -m486 -fomit-frame-pointer". Obviously our results don't match - I'd like
to find out whether my numbers are goofed, or yours.  Oh, and I ran SHS-1 over
1,000 blocks of 10,000 bytes, which should be similar to what you did.
--
Regards,
Uri         uri@watson.ibm.com      N2RIU
===========
<Disclamer>



References: