From: Huang Ying Date: Tue, 27 Oct 2009 11:07:24 +0000 (+0800) Subject: crypto: ghash-intel - Fix building failure on x86_32 X-Git-Tag: firefly_0821_release~9833^2~3945^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3e02e5cb47e049727a26c9c110867a26972bd0d6;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Huang Ying Signed-off-by: Herbert Xu --- 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 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