Re: [PATCH v2] crypto: talitos - fix IPsec cipher in length
From: Horia Geantă <horia.geanta@nxp.com>
Date: 2018-03-23 08:17:35
Also in:
linux-crypto, lkml
From: Horia Geantă <horia.geanta@nxp.com>
Date: 2018-03-23 08:17:35
Also in:
linux-crypto, lkml
On 3/22/2018 11:57 AM, Christophe Leroy wrote:=0A=
For SEC 2.x+, cipher in length must contain only the ciphertext length.=
=0A=
^^^^ turns out this should be 3.x+=0A=
=0A=In case of using hardware ICV checking, the ICV length is provided via=0A=
the "extent" field of the descriptor pointer.=0A=
=0A=
Cc: <redacted> # 4.8+=0A=
Fixes: 549bd8bc5987 ("crypto: talitos - Implement AEAD for SEC1 using HMA=C_SNOOP_NO_AFEU")=0A=
Reported-by: Horia Geant=E3 <horia.geanta@nxp.com>=0A= Signed-off-by: Christophe Leroy <redacted>=0A=
Tested-by: Horia Geant=E3 <horia.geanta@nxp.com>=0A= =0A= Thanks,=0A= Horia=0A= =0A=