diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-08-05 21:15:19 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-08-27 15:44:11 +0100 |
commit | 0777e3e1723f69276136140209c11deeecb7c6dc (patch) | |
tree | 59e04134940a024d8ad96c0274f856824a153f5b /crypto | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef (diff) | |
download | lwn-0777e3e1723f69276136140209c11deeecb7c6dc.tar.gz lwn-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')
-rw-r--r-- | crypto/Kconfig | 2 |
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 |