From: Herbert Xu Subject: Re: [PATCH] Using Intel CRC32 instruction to accelerate CRC32c algorithm by new crypto API -V3. Date: Fri, 08 Aug 2008 21:35:30 +0800 Message-ID: References: Cc: austin_zhang@linux.intel.com, herbert@gondor.apana.org.au, bunk@kernel.org, dwmw2@infradead.org, davem@davemloft.net, randy.dunlap@oracle.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org To: drepper@gmail.com (Ulrich Drepper) Return-path: Received: from rhun.apana.org.au ([64.62.148.172]:59926 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752352AbYHHNfw (ORCPT ); Fri, 8 Aug 2008 09:35:52 -0400 In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org List-ID: Ulrich Drepper wrote: > > I think you want to use > > #define SCALE_F sizeof(unsigned long) Yeah in general that's what we should do. However, this driver is specific to Intel x86 CPUs. However if someone were to post a patch to do this I would happily apply it. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt