On 04/11/2013 09:38 PM, Niels Möller wrote:
Here's a tentative Nettle interface for umac. Comments appreciated.
Implemented now.
Nice.
I also added some benchmark code, but I'm not sure if it measures short (< 16 Mbyte) or larger messages, since the benchmarking function keeps calling the update function with a stop condition based on elapsed time. It's clearly a bit faster than the other hash functions, even with 128-bit output.
It is a bit unfair to compare umac with plain hashes. In the last patch there was an addition to the benchmarks to have HMAC performance as well.
regards, Nikos