Hi Pablo,

> -----Original Message-----
> From: Trahe, Fiona
> Sent: Friday, July 14, 2017 4:48 PM
> To: De Lara Guarch, Pablo <[email protected]>; Doherty, Declan
> <[email protected]>; Jain, Deepak K <[email protected]>; 
> Griffin, John
> <[email protected]>; Kusztal, ArkadiuszX <[email protected]>
> Cc: [email protected]
> Subject: RE: [PATCH v2] cryptodev: fix KASUMI F9 expected parameters
> 
> 
> 
> > -----Original Message-----
> > From: De Lara Guarch, Pablo
> > Sent: Friday, July 14, 2017 8:07 AM
> > To: Doherty, Declan <[email protected]>; Trahe, Fiona 
> > <[email protected]>; Jain, Deepak
> K
> > <[email protected]>; Griffin, John <[email protected]>; Kusztal, 
> > ArkadiuszX
> > <[email protected]>
> > Cc: [email protected]; De Lara Guarch, Pablo <[email protected]>
> > Subject: [PATCH v2] cryptodev: fix KASUMI F9 expected parameters
> >
> > For KASUMI F9 algorithm, COUNT, FRESH and DIRECTION
> > input values need to be contiguous with
> > the message, as described in the KASUMI and QAT PMD
> > documentation.
> >
> > Before, the COUNT and FRESH values were set
> > as part of the AAD (now IV), but always set before
> > the beginning of the message.
> > Since now the IV is set after the crypto operation,
> > it is not possible to have these values in the
> > expected location.
> >
> > Therefore, as these are required to be contiguous,
> > cryptodev API will expect these them to be passed
> > as a single buffer, already constructed, so
> > authentication IV parameters not needed anymore.
> >
> > Fixes: 681f540da52b ("cryptodev: do not use AAD in wireless algorithms")
> >
> > Signed-off-by: Pablo de Lara <[email protected]>
> Acked-by: Fiona Trahe <[email protected]>

The limitation in QAT documentation stating that Kasumi F9 auth_len and 
auth_offset must be byte-multiples can be removed as this is now a limitation 
on the API, not on QAT. 

Reply via email to