summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel2014-08-05 22:15:19 +0200
committerRussell King2014-08-27 16:44:11 +0200
commit0777e3e1723f69276136140209c11deeecb7c6dc (patch)
tree59e04134940a024d8ad96c0274f856824a153f5b /crypto/Kconfig
parentLinux 3.17-rc2 (diff)
downloadkernel-qcow2-linux-0777e3e1723f69276136140209c11deeecb7c6dc.tar.gz
kernel-qcow2-linux-0777e3e1723f69276136140209c11deeecb7c6dc.tar.xz
kernel-qcow2-linux-0777e3e1723f69276136140209c11deeecb7c6dc.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 00b5906f57b7..2d788ace8556 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