Isn't there a better metric available? CPU cycles per bit or something?
/ Martin Nilsson (saturator)
Previous text:
2004-02-05 20:29: Subject: Nettle
I think it may be possible to do the sha1 compression function all in x86 registers. Five registers for the state, one for pointing to the input, and then one free temporary.
Benchmark for the C implementation of various hashes:
md2 (Update): 2.327MB/s md4 (Update): 171.846MB/s md5 (Update): 114.488MB/s sha1 (Update): 81.916MB/s sha256 (Update): 43.055MB/s
/ Niels Möller (vässar rödpennan)