linux-stable/drivers/crypto
Mikulas Patocka a2c4136587 crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
commit 9e27c99104 upstream.

There is this call chain:
cvm_encrypt -> cvm_enc_dec -> cptvf_do_request -> process_request -> kzalloc
where we call sleeping allocator function even if CRYPTO_TFM_REQ_MAY_SLEEP
was not specified.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org	# v4.11+
Fixes: c694b23329 ("crypto: cavium - Add the Virtual Function driver for CPT")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-21 09:48:14 +02:00
..
amcc crypto: crypto4xx - Fix wrong ppc4xx_trng_probe()/ppc4xx_trng_remove() arguments 2020-01-27 14:46:15 +01:00
axis crypto: artpec6 - return correct error code for failed setkey() 2020-02-14 16:32:23 -05:00
bcm crypto: brcm - Fix some set-but-not-used warning 2020-01-27 14:46:13 +01:00
caam crypto: caam - update xts sector size for large input length 2020-04-24 08:00:49 +02:00
cavium crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 2020-08-21 09:48:14 +02:00
ccp crypto: ccp - Fix use of merged scatterlists 2020-08-21 09:48:14 +02:00
chelsio Crypto/chcr: fix for ccm(aes) failed test 2020-06-20 10:25:11 +02:00
inside-secure
marvell
mediatek
nx crypto/NX: Set receive window credits to max number of CRBs in RxFIFO 2019-07-21 09:04:42 +02:00
qat crypto: qat - fix double free in qat_uclo_create_batch_init_list 2020-08-21 09:48:14 +02:00
qce
rockchip crypto: rockchip - update IV buffer to contain the next IV 2019-05-21 18:50:15 +02:00
stm32 crypto: stm32/hash - Fix hmac issue more than 256 bytes 2019-12-05 15:38:29 +01:00
sunxi-ss crypto: sun4i-ss - fix big endian issues 2020-01-27 14:46:03 +01:00
ux500 crypto: ux500 - Use proper enum in hash_set_dma_transfer 2019-02-12 19:46:08 +01:00
virtio crypto: virtio: Fix dest length calculation in __virtio_crypto_skcipher_do_req() 2020-06-20 10:25:04 +02:00
vmx crypto: vmx - Avoid weird build failures 2019-12-31 12:37:50 +01:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel-aes - Fix counter overflow in CTR mode 2020-02-14 16:32:14 -05:00
atmel-authenc.h
atmel-ecc.c
atmel-ecc.h
atmel-sha-regs.h
atmel-sha.c crypto: atmel-sha - fix error handling when setting hmac key 2020-02-14 16:32:23 -05:00
atmel-tdes-regs.h
atmel-tdes.c
bfin_crc.c
bfin_crc.h
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c
ixp4xx_crypto.c
Kconfig crypto: bcm - convert to use crypto_authenc_extractkeys() 2019-01-23 08:09:47 +01:00
Makefile
mv_cesa.c
mv_cesa.h
mxc-scc.c crypto: mxc-scc - fix build warnings on ARM64 2019-12-05 15:37:47 +01:00
mxs-dcp.c crypto: mxs-dcp - make symbols 'sha1_null_hash' and 'sha256_null_hash' static 2020-05-02 17:24:12 +02:00
n2_asm.S
n2_core.c
n2_core.h
omap-aes-gcm.c
omap-aes.c
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c crypto: omap-sham - add proper load balancing support for multicore 2020-06-25 15:41:56 +02:00
padlock-aes.c
padlock-sha.c
picoxcell_crypto.c crypto: picoxcell - adjust the position of tasklet_init and fix missed tasklet_kill 2020-02-14 16:32:14 -05:00
picoxcell_crypto_regs.h
s5p-sss.c crypto: s5p-sss: Fix Fix argument list alignment 2019-11-20 18:00:47 +01:00
sahara.c
talitos.c crypto: talitos - fix ECB and CBC algs ivsize 2020-06-20 10:24:58 +02:00
talitos.h