ARM: 8126/1: crypto: enable NEON SHA-384/SHA-512 for big endian
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 5 Aug 2014 20:17:14 +0000 (21:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Aug 2014 14:44:12 +0000 (15:44 +0100)
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 <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
crypto/Kconfig

index 2d788ace85561d2d6bc291021d6151c608a02b34..77daef031db5df6d91855d56433546b5db61fa9d 100644 (file)
@@ -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