[PATCH] crypto/caam: Export gen_split_key symbol for other modules

2012-08-23 Thread Ben Collins
In 3.6-rc3, without this patch, the following error occurs with a modular build: ERROR: "gen_split_key" [drivers/crypto/caam/caamhash.ko] undefined! ERROR: "gen_split_key" [drivers/crypto/caam/caamalg.ko] undefined! Signed-off-by: Ben Collins Cc: Herbert Xu Cc: Yuan Kang diff --git a/drivers/

Re: [PATCH] sparc64: Add CRC32C driver making use of the new crc32c opcode.

2012-08-23 Thread David Miller
From: Herbert Xu Date: Thu, 23 Aug 2012 16:36:54 +0800 > On Wed, Aug 22, 2012 at 08:52:31PM -0700, David Miller wrote: >> >> Signed-off-by: David S. Miller > > Looks good to me. Thanks for reviewing. >> This was largely straightforward, except for two things. >> >> 1) The tests assume that

Re: [PATCH] crypto: twofish - add x86_64/avx assembler implementation

2012-08-23 Thread Borislav Petkov
On Wed, Aug 22, 2012 at 10:20:03PM +0300, Jussi Kivilinna wrote: > Actually it does look better, at least for encryption. Decryption had > different > ordering for test, which appears to be bad on bulldozer as it is on > sandy-bridge. > > So, yet another patch then :) Here you go: [ 153.736745

Re: [PATCH] sparc64: Add CRC32C driver making use of the new crc32c opcode.

2012-08-23 Thread Herbert Xu
On Wed, Aug 22, 2012 at 08:52:31PM -0700, David Miller wrote: > > Signed-off-by: David S. Miller Looks good to me. > This was largely straightforward, except for two things. > > 1) The tests assume that the 32-bit crc is stored in the context in >cpu endian. The sparc64 crc32c opcode want

Re: [PATCH] crypto: twofish - add x86_64/avx assembler implementation

2012-08-23 Thread Jussi Kivilinna
Quoting Jason Garrett-Glaser : On Wed, Aug 22, 2012 at 12:20 PM, Jussi Kivilinna wrote: Quoting Borislav Petkov : On Wed, Aug 22, 2012 at 07:35:12AM +0300, Jussi Kivilinna wrote: Looks that encryption lost ~0.4% while decryption gained ~1.8%. For 256 byte test, it's still slightly slower t

Crypto Fixes for 3.6

2012-08-23 Thread Herbert Xu
Hi Linus: This push fixes a build error on 32-bit archs in the hifn driver as well as a potential deadlock in the caam driver. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Jussi Kiv