crypto: caam/jr - add support for XTS with 16B IV
authorAndrei Botila <andrei.botila@nxp.com>
Tue, 22 Sep 2020 16:03:26 +0000 (19:03 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Oct 2020 08:02:12 +0000 (18:02 +1000)
commit78eebbfafbe721c9d9feadd4bcde958ff9c784a6
tree1ed69ff6d28e3660d9d16cb096ef67447de8716a
parent297b931c2a3cada230d8b84432ee982fc68cf76a
crypto: caam/jr - 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.c
drivers/crypto/caam/caamalg_desc.c