android_kernel_google_msm/crypto
Herbert Xu 05f374ad9e UPSTREAM: crypto: algif_skcipher - Load TX SG list after waiting
commit 4f0414e54e4d1893c6f08260693f8ef84c929293 upstream.

We need to load the TX SG list in sendmsg(2) after waiting for
incoming data, not before.

Bug: 64386293
Change-Id: Ibb0b7969ee1df314b49462ecd65ce381118d915d
Cc: stable@vger.kernel.org
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Siqi Lin <siqilin@google.com>
2018-01-13 17:13:40 +03:00
..
async_tx
ablk_helper.c crypto: create generic version of ablk_helper 2016-10-29 23:12:13 +08:00
ablkcipher.c crypto: skcipher - Copy iv from desc even for 0-len walks 2016-10-26 23:15:36 +08:00
aead.c crypto: user - fix info leaks in report API 2013-03-14 11:29:50 -07:00
aes_generic.c
af_alg.c crypto: af_alg - fix backlog handling 2015-04-14 17:33:48 +08:00
ahash.c crypto: ahash - ensure statesize is non-zero 2016-04-27 18:55:27 +08:00
algapi.c crypto: api - Only abort operations on fatal signal 2016-04-27 18:55:28 +08:00
algboss.c
algif_hash.c crypto: algif_hash - Only export and import on sockets with data 2016-10-26 23:15:26 +08:00
algif_skcipher.c UPSTREAM: crypto: algif_skcipher - Load TX SG list after waiting 2018-01-13 17:13:40 +03:00
ansi_cprng.c crypto: ansi_cprng - Fix off by one error in non-block size request 2013-11-29 10:50:32 -08:00
anubis.c
api.c crypto: api - Only abort operations on fatal signal 2016-04-27 18:55:28 +08:00
arc4.c
authenc.c crypto: authenc - Find proper IV address in ablkcipher callback 2013-12-11 22:34:10 -08:00
authencesn.c
blkcipher.c crypto: skcipher - Copy iv from desc even for 0-len walks 2016-10-26 23:15:36 +08:00
blowfish_common.c
blowfish_generic.c
camellia_generic.c
cast5.c
cast6.c
cbc.c
ccm.c crypto: ccm - Fix handling of zero plaintext when computing mac 2013-12-11 22:34:10 -08:00
chainiv.c
cipher.c
compress.c
crc32c.c
cryptd.c crypto: cryptd - disable softirqs in cryptd_queue_worker to prevent data corruption 2012-11-26 11:37:41 -08:00
crypto_null.c
crypto_user.c crypto: api - Only abort operations on fatal signal 2016-04-27 18:55:28 +08:00
crypto_wq.c crypto: crypto_wq - Fix late crypto work queue initialization 2014-06-07 16:02:02 -07:00
ctr.c
cts.c
deflate.c
des_generic.c
ecb.c
eseqiv.c
fcrypt.c
fips.c
gcm.c crypto: gcm - fix assumption that assoc has one segment 2013-04-12 09:38:46 -07:00
gf128mul.c
ghash-generic.c
hmac.c
internal.h
Kconfig crypto: create generic version of ablk_helper 2016-10-29 23:12:13 +08:00
khazad.c
krng.c
lrw.c
lzo.c
Makefile crypto: create generic version of ablk_helper 2016-10-29 23:12:13 +08:00
md4.c
md5.c
michael_mic.c
pcbc.c
pcompress.c crypto: user - fix info leaks in report API 2013-03-14 11:29:50 -07:00
pcrypt.c
proc.c
ripemd.h
rmd128.c
rmd160.c
rmd256.c
rmd320.c
rng.c crypto: user - fix info leaks in report API 2013-03-14 11:29:50 -07:00
salsa20_generic.c
scatterwalk.c
seed.c
seqiv.c
serpent_generic.c
sha1_generic.c
sha256_generic.c crypto: sha256 - Expose SHA256 generic routine to be callable externally. 2016-10-29 23:12:14 +08:00
sha512_generic.c crypto: sha512 - Expose generic sha512 routine to be callable from other modules 2016-10-29 23:12:14 +08:00
shash.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
tcrypt.c
tcrypt.h
tea.c
testmgr.c
testmgr.h crypto: testmgr - update LZO compression test vectors 2014-07-28 07:06:44 -07:00
tgr192.c
twofish_common.c
twofish_generic.c
vmac.c
wp512.c
xcbc.c
xor.c
xts.c
zlib.c