crypto: caam/qi2 - add support for XTS with 16B IV
authorAndrei Botila <andrei.botila@nxp.com>
Tue, 22 Sep 2020 16:03:28 +0000 (19:03 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Oct 2020 08:02:12 +0000 (18:02 +1000)
commit4fc983266d1eef951a7f44cb70288e331356dca0
treeb24ac5cacd3ebd9524a21eb22c75cea85a4d2df1
parent3a15679b93112f1506e67196a4e514168cf5e6c4
crypto: caam/qi2 - add support for XTS with 16B IV

Newer CAAM versions (Era 9+) support 16B IVs. Since for these devices
the HW limitation is no longer present newer version should process the
requests containing 16B IVs directly in hardware without using a fallback.

Signed-off-by: Andrei Botila <andrei.botila@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg_qi2.c