summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-08-05 21:15:19 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-08-27 15:44:11 +0100
commit19928a7551895231933c92c2d240ff4e3aa1c4d0 (patch)
treea8b2e6949545195d86d291fe3c9a6d5c3a48353a /crypto/Kconfig
parent245c531351ef282b69bcd2bd7d46bfc79234f9b4 (diff)
downloadlinux-crypto-19928a7551895231933c92c2d240ff4e3aa1c4d0.tar.gz
linux-crypto-19928a7551895231933c92c2d240ff4e3aa1c4d0.zip
ARM: 8125/1: crypto: enable NEON SHA-1 for big endian
This tweaks the SHA-1 NEON code slightly so it works correctly under big endian, and removes 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>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 00b5906f..2d788ace 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -543,7 +543,7 @@ config CRYPTO_SHA1_ARM
config CRYPTO_SHA1_ARM_NEON
tristate "SHA1 digest algorithm (ARM NEON)"
- depends on ARM && KERNEL_MODE_NEON && !CPU_BIG_ENDIAN
+ depends on ARM && KERNEL_MODE_NEON
select CRYPTO_SHA1_ARM
select CRYPTO_SHA1
select CRYPTO_HASH