summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2009-10-27 19:07:24 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-10-27 19:07:24 +0800
commit5b5d0f137c43a09a4d7b4ba603dcb5fcfa9939ac (patch)
tree5b83b5aa165d305f162d17208c2c46452e4cfba3
parent65f568a173c6d54fffaa1a1c4bcb5d5d1376638b (diff)
downloadlinux-crypto-5b5d0f137c43a09a4d7b4ba603dcb5fcfa9939ac.tar.gz
linux-crypto-5b5d0f137c43a09a4d7b4ba603dcb5fcfa9939ac.zip
crypto: ghash-intel - Fix building failure on x86_32
CLMUL-NI accelerated GHASH should be turned off on non-x86_64 machine. Reported-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index fd687110..81c185a6 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -442,6 +442,7 @@ config CRYPTO_WP512
config CRYPTO_GHASH_CLMUL_NI_INTEL
tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
+ depends on (X86 || UML_X86) && 64BIT
select CRYPTO_SHASH
select CRYPTO_CRYPTD
help