]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
crypto: ghash-intel - Fix building failure on x86_32
authorHuang Ying <ying.huang@intel.com>
Tue, 27 Oct 2009 11:07:24 +0000 (19:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 27 Oct 2009 11:07:24 +0000 (19:07 +0800)
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>
crypto/Kconfig

index fd6871102b601ce100d8b982cc511cba39813968..81c185a6971fbc3a396d51b5d536fdf34f8d54ed 100644 (file)
@@ -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