Re: [PATCH 1/4] mm: Move ARCH_SLAB_MINALIGN and ARCH_KMALLOC_MINALIGN to

2010-05-20 Thread Manfred Spraul
On 05/19/2010 08:10 PM, David Woodhouse wrote: * Unless debug options are enabled, the kernel uses cache_line_size() automatically. ... that's a lie. You are right, I didn't notice that there are now 8 and 16-byte kmalloc caches. Apart from that: KMALLOC_FLAGS is SLAB_HWCACHE_ALIG

[PATCH 2/2] des_s390: use generic weak key check

2010-05-20 Thread Jan Glauber
Get rid of the des_s390 specific key check module and use the generic DES weak key check instead. Also use the generic DES header and remove the weak key check in 3DES mode, as RFC2451 mentions that the DES weak keys are not relevant for 3DES. Signed-off-by: Jan Glauber --- arch/s390/crypto/Make

[PATCH 1/2] des_s390: remove des3_ede128 mode

2010-05-20 Thread Jan Glauber
des_s390 implements support for 3DES with a 128 bit key. This mode is probably not used anywhere, less secure than 3DES with a 192 bit key and not implemented in the generic des version. Removing this mode seems to be low risk and will ease maintenance of the code. Signed-off-by: Jan Glauber ---

Re: [PATCH] Possible bug in AUTHENC

2010-05-20 Thread Herbert Xu
On Thu, May 20, 2010 at 11:26:00AM +0200, Shikhar wrote: > crypto: authenc - Fix "cryptlen" calculation. > > This patch (applied against 2.6.34) fixes the calculation of the > length of the ABLKCIPHER decrypt request ("cryptlen") after an > asynchronous hash request has been completed in the AUTHE

Re: [PATCH] Possible bug in AUTHENC

2010-05-20 Thread Shikhar
crypto: authenc - Fix "cryptlen" calculation. This patch (applied against 2.6.34) fixes the calculation of the length of the ABLKCIPHER decrypt request ("cryptlen") after an asynchronous hash request has been completed in the AUTHENC interface. Signed-off-by: Shikhar Khattar diff -pu linux-2.6