[PATCH] crypto: gcm - fix assumption that assoc has one segment

2013-03-28 Thread Jussi Kivilinna
rfc4543(gcm(*)) code for GMAC assumes that assoc scatterlist always contains only one segment and only makes use of this first segment. However ipsec passes assoc with three segments when using 'extended sequence number' thus in this case rfc4543(gcm(*)) fails to function correctly. Patch fixes thi

Re: Fwd: [PATCH v2] drivers/crypto/nx: fix init race, alignmasks and GCM bug

2013-03-28 Thread Benjamin Herrenschmidt
On Thu, 2013-03-28 at 11:32 -0500, Kent Yoder wrote: > Hi Ben, will you carry this patch in the linuxppc-dev tree? I can but I'm on vacation until end of April roughly. Cheers, Ben. > Thanks, > Kent > > -- Forwarded message -- > From: Kent Yoder > Date: Wed, Mar 20, 2013 at 9:2

Fwd: [PATCH v2] drivers/crypto/nx: fix init race, alignmasks and GCM bug

2013-03-28 Thread Kent Yoder
Hi Ben, will you carry this patch in the linuxppc-dev tree? Thanks, Kent -- Forwarded message -- From: Kent Yoder Date: Wed, Mar 20, 2013 at 9:22 AM Subject: [PATCH v2] drivers/crypto/nx: fix init race, alignmasks and GCM bug To: linux-ker...@vger.kernel.org Cc: linux-crypto@vger

Re: Crypto Fixes for 3.9

2013-03-28 Thread Herbert Xu
Chaoxing Lin wrote: > Would you be able to incorporate the GMAC ESN bug fix in 3.9? I'd be happy to once I get the patch. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send

RE: Crypto Fixes for 3.9

2013-03-28 Thread Chaoxing Lin
Would you be able to incorporate the GMAC ESN bug fix in 3.9? Thanks, Chaoxing Thanks Jussi, the patch fixes the problem. You may commit it officially. Chaoxing -Original Message- From: Jussi Kivilinna [mailto:jussi.kivili...@iki.fi] Sent: Tuesday, Ma

Crypto Fixes for 3.9

2013-03-28 Thread Herbert Xu
Hi Linus: This push removes IPsec ESN support from the talitos/caam drivers since they were implemented incorrectly, causing interoperability problems if ESN is used with them. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/l