[PATCH v2] crypto: talitos - fix IPsec cipher in length

Horia Geantă horia.geanta at nxp.com
Fri Mar 23 19:17:30 AEDT 2018


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 at vger.kernel.org> # 4.8+
> Fixes: 549bd8bc5987 ("crypto: talitos - Implement AEAD for SEC1 using HMAC_SNOOP_NO_AFEU")
> Reported-by: Horia Geantă <horia.geanta at nxp.com>
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
Tested-by: Horia Geantă <horia.geanta at nxp.com>

Thanks,
Horia



More information about the Linuxppc-dev mailing list