summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/Kconfig
diff options
context:
space:
mode:
authorAndrei Botila <andrei.botila@nxp.com>2020-09-22 19:03:20 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-10-02 18:02:11 +1000
commit83e8aa9121380b23ebae6e413962fa2a7b52cf92 (patch)
tree2bc301afffa7b766f49fbffbb4d3a8a0e25fa921 /drivers/crypto/caam/Kconfig
parent9d9b14dbe077c8704d8c3546e38820d35aff2d35 (diff)
crypto: caam/qi - add fallback for XTS with more than 8B IV
A hardware limitation exists for CAAM until Era 9 which restricts the accelerator to IVs with only 8 bytes. When CAAM has a lower era a fallback is necessary to process 16 bytes IV. Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc algorithms") Cc: <stable@vger.kernel.org> # v4.12+ 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>
Diffstat (limited to 'drivers/crypto/caam/Kconfig')
-rw-r--r--drivers/crypto/caam/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/caam/Kconfig b/drivers/crypto/caam/Kconfig
index dfeaad8dfe81..8169e6cd04e6 100644
--- a/drivers/crypto/caam/Kconfig
+++ b/drivers/crypto/caam/Kconfig
@@ -115,6 +115,7 @@ config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI
select CRYPTO_AUTHENC
select CRYPTO_SKCIPHER
select CRYPTO_DES
+ select CRYPTO_XTS
help
Selecting this will use CAAM Queue Interface (QI) for sending
& receiving crypto jobs to/from CAAM. This gives better performance