mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUGFIX] crypto, ghash_clmul_ni, Fix building failure on x86_32
@ 2009-10-26  8:32 Huang Ying
  2009-10-27 11:12 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Ying @ 2009-10-26  8:32 UTC (permalink / raw)
  To: Herbert Xu, Dave Young; +Cc: LKML, Stephen Rothwell

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>
---
 crypto/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUGFIX] crypto, ghash_clmul_ni, Fix building failure on x86_32
  2009-10-26  8:32 [BUGFIX] crypto, ghash_clmul_ni, Fix building failure on x86_32 Huang Ying
@ 2009-10-27 11:12 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2009-10-27 11:12 UTC (permalink / raw)
  To: Huang Ying; +Cc: Dave Young, LKML, Stephen Rothwell

On Mon, Oct 26, 2009 at 04:32:12PM +0800, Huang Ying wrote:
> 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>

Patch applied to cryptodev.  Thanks!
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-27 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-26  8:32 [BUGFIX] crypto, ghash_clmul_ni, Fix building failure on x86_32 Huang Ying
2009-10-27 11:12 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®