summaryrefslogtreecommitdiff
path: root/crypto/cast5_generic.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2013-03-28 21:54:03 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-02 17:56:15 +0800
commit118c7331a7a213c609208938b559f06b7962fb78 (patch)
treeaf903822dbd39cabb24b447296b3dfa131fe5272 /crypto/cast5_generic.c
parenta10aa0855c666d11250d5ae23321526ff497b67b (diff)
downloadlinux-crypto-118c7331a7a213c609208938b559f06b7962fb78.tar.gz
linux-crypto-118c7331a7a213c609208938b559f06b7962fb78.zip
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 'crypto/cast5_generic.c')
0 files changed, 0 insertions, 0 deletions