[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240626155724.4045056-1-m.felsch@pengutronix.de>
Date: Wed, 26 Jun 2024 17:57:23 +0200
From: Marco Felsch <m.felsch@...gutronix.de>
To: "horia.geanta@....com, pankaj.gupta@....com, gaurav.jain@....com, Herbert Xu" <herbert@...dor.apana.org.au>
Cc: kernel@...gutronix.de,
linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] crypto: caam - enable hash api only on ARM platforms per default
Tests showed that ARMv8-A crypto extensions as implemented on the ARM
Cortex-A53 on the i.MX8M family of processors are substantially faster
than the same primitives offered by the CAAM.
Signed-off-by: Marco Felsch <m.felsch@...gutronix.de>
---
drivers/crypto/caam/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/caam/Kconfig b/drivers/crypto/caam/Kconfig
index c631f99e415f..5828ac64c988 100644
--- a/drivers/crypto/caam/Kconfig
+++ b/drivers/crypto/caam/Kconfig
@@ -126,7 +126,7 @@ config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI
config CRYPTO_DEV_FSL_CAAM_AHASH_API
bool "Register hash algorithm implementations with Crypto API"
- default y
+ default y if ARM
select CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC
select CRYPTO_HASH
help
--
2.39.2
Powered by blists - more mailing lists