From: Loic Poulain Date: Thu, 22 Sep 2022 09:18:46 +0000 (+0200) Subject: configs: imx8m: Enable CONFIG_ARMV8_CRYPTO support X-Git-Tag: baikal/mips/sdk5.8.2~5^2~151^2~42 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=b8ef55ee77da7a99a748af1dffe3ba4034672065;p=uboot.git configs: imx8m: Enable CONFIG_ARMV8_CRYPTO support This enables armv8 crypto extension usage for SHA1/SHA256. Which speed up sha1/sha256 operations, about 10x faster with a imx8mm evk for a 20MiB kernel hash verification (12ms vs 165ms). Signed-off-by: Loic Poulain Reviewed-by: Fabio Estevam --- diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index 8cd7c7a8dd..fbe676d7be 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -4,6 +4,7 @@ config IMX8M bool select HAS_CAAM select ROM_UNIFIED_SECTIONS + select ARMV8_CRYPTO config IMX8MQ bool