[PATCH 1/2] [v2] Add API to support AEAD cipher modes
    Jussi Kivilinna 
    jussi.kivilinna at iki.fi
       
    Mon Oct 21 21:40:57 CEST 2013
    
    
  
On 21.10.2013 18:41, Werner Koch wrote:
> 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.
> 
I think _authenticate would be better if block cipher based MACs are to be
added. So we'd have _authenticate for buffers to MAC modes and AAD buffers
to AEAD modes. _setaad makes it should more AEAD specific.
> 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.
Ok.
-Jussi
> 
> 
> Salam-Shalom,
> 
>    Werner
> 
    
    
More information about the Gcrypt-devel
mailing list