From b086eed85c80516bef6ce4178862f2b8c2d59d1b Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Wed, 6 Sep 2017 19:47:29 +0100 Subject: ARM: omap2plus_defconfig: enable NEON based crypto Enable kernel mode NEON and the various NEON based crypto algorithms, which are between 1.4x (AES-XTS) and 2.4x (AES-GCM) faster than scalar code (measured on Cortex-A8). Signed-off-by: Ard Biesheuvel Signed-off-by: Tony Lindgren --- arch/arm/configs/omap2plus_defconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arch/arm') diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 7b97200..32f5c84 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig @@ -516,3 +516,13 @@ CONFIG_LIBCRC32C=y CONFIG_FONTS=y CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y +CONFIG_KERNEL_MODE_NEON=y +CONFIG_ARM_CRYPTO=y +CONFIG_CRYPTO_SHA1_ARM=m +CONFIG_CRYPTO_SHA1_ARM_NEON=m +CONFIG_CRYPTO_SHA256_ARM=m +CONFIG_CRYPTO_SHA512_ARM=m +CONFIG_CRYPTO_AES_ARM=m +CONFIG_CRYPTO_AES_ARM_BS=m +CONFIG_CRYPTO_CHACHA20_NEON=m +CONFIG_CRYPTO_GHASH_ARM_CE=m -- cgit v1.1