On 04/11/2013 09:38 PM, Niels Möller wrote:

> [email protected] (Niels Möller) writes:
> 
>> Here's a tentative Nettle interface for umac. Comments appreciated.


I modified gnutls to use that code. I noticed that the context size is
quite excessive (may be an issue when is used as stack variable), but as
I understand there is not much that can be done about it.

Something I noticed is that for the nonce increment you could also use
the INCREMENT macro used in ctr.

Also because I work using an abstraction layer, and the umac_set_key()
is different from hmac_xhash_set_key() which all have a length
parameter, requires me to use a wrapper over it. It may be nicer (for me
at least) if umac_set_key() accepted the length as well.

regards,
Nikos

_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to