From: Ard Biesheuvel Date: Tue, 5 Aug 2014 20:17:14 +0000 (+0100) Subject: ARM: 8126/1: crypto: enable NEON SHA-384/SHA-512 for big endian X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=31e1a602b97dd7f68adb44ebac89caa7f1a25b1c;p=openwrt%2Fstaging%2Fblogic.git ARM: 8126/1: crypto: enable NEON SHA-384/SHA-512 for big endian The SHA-512 NEON works just fine under big endian, so remove the Kconfig condition preventing it from being selected if CONFIG_CPU_BIG_ENDIAN is set. Signed-off-by: Ard Biesheuvel Signed-off-by: Russell King --- diff --git a/crypto/Kconfig b/crypto/Kconfig index 2d788ace8556..77daef031db5 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -603,7 +603,7 @@ config CRYPTO_SHA512_SPARC64 config CRYPTO_SHA512_ARM_NEON tristate "SHA384 and SHA512 digest algorithm (ARM NEON)" - depends on ARM && KERNEL_MODE_NEON && !CPU_BIG_ENDIAN + depends on ARM && KERNEL_MODE_NEON select CRYPTO_SHA512 select CRYPTO_HASH help