Re: [PATCH v2] crypto: talitos - fix IPsec cipher in length
From: Horia Geantă
Date: Fri Mar 23 2018 - 04:17:39 EST
On 3/22/2018 11:57 AM, Christophe Leroy wrote:
> For SEC 2.x+, cipher in length must contain only the ciphertext length.
^^^^ turns out this should be 3.x+
> In case of using hardware ICV checking, the ICV length is provided via
> the "extent" field of the descriptor pointer.
>
> Cc: <stable@xxxxxxxxxxxxxxx> # 4.8+
> Fixes: 549bd8bc5987 ("crypto: talitos - Implement AEAD for SEC1 using HMAC_SNOOP_NO_AFEU")
> Reported-by: Horia Geantă <horia.geanta@xxxxxxx>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
Tested-by: Horia Geantă <horia.geanta@xxxxxxx>
Thanks,
Horia