]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9b3b189c260b2d133e91b02a9bb6d2bc1e3ac91
treeb24ac5cacd3ebd9524a21eb22c75cea85a4d2df1
parent29161f4c3c5a90996f738138b6a6a9c95232b118
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