Skip to content

Commit

Permalink
ARM: 8126/1: crypto: enable NEON SHA-384/SHA-512 for big endian
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Ard Biesheuvel authored and Russell King committed Aug 27, 2014
1 parent 0777e3e commit 31e1a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31e1a60

Please sign in to comment.