nisse@lysator.liu.se (Niels Möller) writes:
Here's a tentative Nettle interface for umac. Comments appreciated.
Implemented now. I added some more testvectors, using the python code as reference (I should check that in some day soon too). Still no coverage of all unlikely cases, I'm afraid.
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.
Regards, /Niels