diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-03-28 21:54:03 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-02 17:56:15 +0800 |
commit | d3dde52209ab571e4e2ec26c66f85ad1355f7475 (patch) | |
tree | ca1f749ba9eb9fb5e164c61d5b9ccb60a9a78aaf /drivers/crypto | |
parent | 246bbedb9aaf27e2207501d93a869023a439fce5 (diff) | |
download | op-kernel-dev-d3dde52209ab571e4e2ec26c66f85ad1355f7475.zip op-kernel-dev-d3dde52209ab571e4e2ec26c66f85ad1355f7475.tar.gz |
crypto: gcm - fix assumption that assoc has one segment
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 this issue.
Reported-by: Chaoxing Lin <Chaoxing.Lin@ultra-3eti.com>
Tested-by: Chaoxing Lin <Chaoxing.Lin@ultra-3eti.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions