Skip to contentSkip to conversation

crypto, ghash_clmul_ni, Fix building failure on x86_32

BUGFIX Huang Ying 2 participants 2 messages Oct 26, 2009 – Oct 27, 2009 Crypto API

lore
Share & tools
lore

Huang Ying

author
#0 lore raw

CLMUL-NI accelerated GHASH should be turned off on non-x86_64 machine.

---
 crypto/Kconfig |    1 +
 1 file changed, 1 insertion(+)
crypto/Kconfig +1 -0
@@ -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
maintainer
#1 lore raw
Quoted 4 lines · Huang Ying

CLMUL-NI accelerated GHASH should be turned off on non-x86_64 machine.

Patch applied to cryptodev. Thanks!

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt