[PATCH][upstream] powerpc/crypto: caam - add backward compatible string sec4.0

2012-03-20 Thread Shengzhou Liu
In some device trees of previous version, there were string "fsl,sec4.0". To be backward compatible with device trees, we have CAAM driver first check "fsl,sec-v4.0", if it fails, then check for "fsl,sec4.0". Signed-off-by: Shengzhou Liu --- drivers/crypto/caam/caamalg.c | 14 ++ d

Re: [PATCH 3/3] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-03-20 Thread Kim Phillips
On Wed, 14 Mar 2012 09:45:48 +0100 Andreas Westin wrote: > This adds the required platform data and calls to enable > the CRYP/HASH driver. > > Acked-by: Linus Walleij > Signed-off-by: Andreas Westin > --- > arch/arm/mach-ux500/board-mop500.c | 48 > >

Re: [PATCH 1/3] crypto: ux500: Add driver for CRYP hardware.

2012-03-20 Thread Kim Phillips
On Wed, 14 Mar 2012 09:45:46 +0100 Andreas Westin wrote: > +config CRYPTO_DEV_UX500 > + tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration" > + #depends on ARCH_U8500 guessing this should be either removed or modified to include u5500? > +config CRYPTO_DEV_UX500_CRYP >

Re: [PATCH 2/3] crypto: ux500: Add driver for HASH hardware

2012-03-20 Thread Kim Phillips
On Wed, 14 Mar 2012 09:45:47 +0100 Andreas Westin wrote: > diff --git a/drivers/crypto/ux500/hash/hash_alg_p.h > b/drivers/crypto/ux500/hash/hash_alg_p.h > new file mode 100644 > index 000..a44047a > --- /dev/null > +++ b/drivers/crypto/ux500/hash/hash_alg_p.h > @@ -0,0 +1,20 @@ > +/* > + *

Re: serpent-sse2 - different key size same speed?

2012-03-20 Thread Zdenek Kaspar
Dne 20.3.2012 7:53, Jussi Kivilinna napsal(a): > Quoting Zdenek Kaspar : > >> Hello everyone, >> >> I just quick tested 3.3.0 kernel (x86_64) to get idea how serpent-sse2 >> implementation works on Core2 machine. My dirty testing revealed that >> key size doesn't have impact on speed. Is such beha