[PATCH] Add CMAC mode (Cipher-based MAC)

Werner Koch wk at gnupg.org
Thu Nov 7 09:02:04 CET 2013


On Fri,  1 Nov 2013 14:35, jussi.kivilinna at iki.fi said:

> Since adding GCM mode kind of adds GHASH to gcry_cipher as side product
> and CBC-MAC already is provided in gcry_cipher, adding CMAC to
> gcry_cipher seems much cleaner option.

If we decide for separate gcry_mac_ functions we could keep your
gcry_cipher based approach internally but don't put it into the public
API.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list