configs: imx8m: Enable CONFIG_ARMV8_CRYPTO support
Subsystems (3)
PATCH v2 1/1 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).
---
v2: Select ARMV8_CRYPTO in the imx8m common Kconfig
arch/arm/mach-imx/imx8m/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-imx/imx8m/Kconfig +1 -0
@@ -4,6 +4,7 @@ config IMX8M bool select HAS_CAAM select ROM_UNIFIED_SECTIONS + select ARMV8_CRYPTO config IMX8MQ bool
Signature · 1 line
2.7.4
Hi Loic,
Quoted 7 lines · Loic Poulain
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 <[email protected]>
Great improvement, thanks:
PATCH v2 1/1 configs: imx8m: Enable CONFIG_ARMV8_CRYPTO support
In reply to Loic PoulainQuoted 5 lines
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 <[email protected]>Reviewed-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================