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

MAC speeds



Tero Kivinen reports a time of 154000 cycles (308 microseconds) for
HMAC-MD5 on 2048 bytes on a 500MHz Alpha.

That's slower than today's fast ciphers, notably the AES candidates,
which are below 40 cycles/byte. Some people seem to be making decisions
on this basis.

But there are faster implementations of MD5. Furthermore, there are
much faster MACs. My hash127 takes under 9800 cycles, plus the time to
encrypt one 16-byte block, on an Alpha, UltraSPARC, Pentium, Pentium-II,
etc. The forgery chance/bit is provably below 1/2^130 if the encryption
is secure. See http://cr.yp.to/hash127/faq.html for precise guarantees.

---Dan



Follow-Ups: References: