[PATCH 1/2] [v2] Add API to support AEAD cipher modes

Werner Koch wk at gnupg.org
Mon Oct 21 17:41:37 CEST 2013


On Mon, 21 Oct 2013 12:30, jussi.kivilinna at iki.fi said:

> Ok, I changed API back to _authenticate() and added GCRYCTL_SET_CCM_PARAMS

I still think that _setaad is a better symbol name than _authenticate.

The use of new GCRYCTL codes should be limited because it bypasses type
checking.  However, for the length paramteer of CCM, I think the use of
GCRYCTL_SET_CCM_LENGTH is fine.


Salam-Shalom,

   Werner

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




More information about the Gcrypt-devel mailing list