android_kernel_motorola_sm6375/drivers/crypto
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ayush Sawal 1841613e97 crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test
[ Upstream commit 9195189e00a7db55e7d448cee973cae87c5a3c71 ]

The libkcapi test which causes kernel panic is
aead asynchronous vmsplice multiple test.

./bin/kcapi  -v -d 4 -x 10   -c "ccm(aes)"
-q 4edb58e8d5eb6bc711c43a6f3693daebde2e5524f1b55297abb29f003236e43d
-t a7877c99 -n 674742abd0f5ba -k 2861fd0253705d7875c95ba8a53171b4
-a fb7bc304a3909e66e2e0c5ef952712dd884ce3e7324171369f2c5db1adc48c7d

This patch avoids dma_mapping of a zero length sg which causes the panic,
by using sg_nents_for_len which maps only upto a specific length

Signed-off-by: Ayush Sawal <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-10-01 13:17:33 +02:00
..
amcc
axis crypto: artpec6 - return correct error code for failed setkey() 2020-02-14 16:34:18 -05:00
bcm
caam crypto: caam - Remove broken arc4 support 2020-08-21 13:05:32 +02:00
cavium crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 2020-08-19 08:16:28 +02:00
ccp crypto: ccp - Fix use of merged scatterlists 2020-08-19 08:16:28 +02:00
ccree crypto: ccree - fix resource leak on error path 2020-08-19 08:15:55 +02:00
chelsio crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test 2020-10-01 13:17:33 +02:00
hisilicon crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 2020-08-19 08:16:27 +02:00
inside-secure
marvell
mediatek
nx
qat crypto: qat - fix double free in qat_uclo_create_batch_init_list 2020-08-19 08:16:27 +02:00
qce
rockchip
stm32 crypto: stm32/crc32 - fix multi-instance 2020-06-22 09:31:07 +02:00
sunxi-ss
ux500
virtio crypto: virtio: Fix dest length calculation in __virtio_crypto_skcipher_do_req() 2020-06-17 16:40:32 +02:00
vmx
atmel-aes-regs.h
atmel-aes.c
atmel-authenc.h
atmel-ecc.c
atmel-i2c.c
atmel-i2c.h
atmel-sha-regs.h
atmel-sha.c crypto: atmel-sha - fix error handling when setting hmac key 2020-02-14 16:34:18 -05:00
atmel-sha204a.c
atmel-tdes-regs.h
atmel-tdes.c
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c
ixp4xx_crypto.c
Kconfig crypto: atmel - Fix build error of CRYPTO_AUTHENC 2020-07-22 09:32:46 +02:00
Makefile
mxs-dcp.c crypto: mxs-dcp - fix scatterlist linearization for hash 2020-04-17 10:50:16 +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-24 17:50:38 +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-11 04:35:31 -08:00
picoxcell_crypto_regs.h
qcom-rng.c
s5p-sss.c
sahara.c
talitos.c
talitos.h