]> git.baikalelectronics.ru Git - uboot.git/commitdiff
configs: imx8m: Enable CONFIG_ARMV8_CRYPTO support
authorLoic Poulain <loic.poulain@linaro.org>
Thu, 22 Sep 2022 09:18:46 +0000 (11:18 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 7 Nov 2022 21:45:04 +0000 (22:45 +0100)
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 <loic.poulain@linaro.org>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/mach-imx/imx8m/Kconfig

index 8cd7c7a8dd8b930d674971135de5b2145db6c5a8..fbe676d7be67692d652bca474714c69255c6aa47 100644 (file)
@@ -4,6 +4,7 @@ config IMX8M
        bool
        select HAS_CAAM
        select ROM_UNIFIED_SECTIONS
+       select ARMV8_CRYPTO
 
 config IMX8MQ
        bool