diff options
author | Huang Ying <ying.huang@intel.com> | 2009-10-27 07:07:24 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-10-27 07:07:24 -0400 |
commit | 3e02e5cb47e049727a26c9c110867a26972bd0d6 (patch) | |
tree | 8e0b2d4ff98de195422d3aa6b280d3fb07425c5e | |
parent | fa4ef8a6af4745bbf3a25789bc7d4f14a3a6d803 (diff) |
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index fd6871102b60..81c185a6971f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -442,6 +442,7 @@ config CRYPTO_WP512 | |||
442 | 442 | ||
443 | config CRYPTO_GHASH_CLMUL_NI_INTEL | 443 | config CRYPTO_GHASH_CLMUL_NI_INTEL |
444 | tristate "GHASH digest algorithm (CLMUL-NI accelerated)" | 444 | tristate "GHASH digest algorithm (CLMUL-NI accelerated)" |
445 | depends on (X86 || UML_X86) && 64BIT | ||
445 | select CRYPTO_SHASH | 446 | select CRYPTO_SHASH |
446 | select CRYPTO_CRYPTD | 447 | select CRYPTO_CRYPTD |
447 | help | 448 | help |