android_kernel_google_msm/include/crypto
Tom Lendacky 941f77dc3c crypto: scatterwalk - Set the chain pointer indication bit
commit 41da8b5adb upstream.

The scatterwalk_crypto_chain function invokes the scatterwalk_sg_chain
function to chain two scatterlists, but the chain pointer indication
bit is not set.  When the resulting scatterlist is used, for example,
by sg_nents to count the number of scatterlist entries, a segfault occurs
because sg_nents does not follow the chain pointer to the chained scatterlist.

Update scatterwalk_sg_chain to set the chain pointer indication bit as is
done by the sg_chain function.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-11 22:34:10 -08:00
..
internal crypto: user - Fix lookup of algorithms with IV generator 2012-03-29 19:52:47 +08:00
aead.h
aes.h
algapi.h crypto: Unlink and free instances when deleted 2011-11-09 12:04:06 +08:00
authenc.h
b128ops.h
blowfish.h crypto: blowfish - split generic and common c code 2011-09-22 21:25:25 +10:00
compress.h
cryptd.h
crypto_wq.h
ctr.h
des.h
gf128mul.h
hash.h
if_alg.h
lrw.h crypto: lrw - add interface for parallelized cipher implementions 2011-11-09 11:50:31 +08:00
md5.h
padlock.h
pcrypt.h
rng.h
scatterwalk.h crypto: scatterwalk - Set the chain pointer indication bit 2013-12-11 22:34:10 -08:00
serpent.h crypto: serpent-sse2 - add lrw support 2011-11-21 16:13:24 +08:00
sha.h crypto: sha - Fix build error due to crypto_sha1_update 2011-08-16 14:03:05 +08:00
skcipher.h
twofish.h crypto: twofish-x86_64-3way - add lrw support 2011-11-09 11:53:32 +08:00
vmac.h
xts.h crypto: xts: add interface for parallelized cipher implementations 2011-11-09 11:56:06 +08:00