OpenCloudOS-Kernel/drivers/crypto
Kun(llfl) 6a87cc2e7b anolis: crypto: iax: Fix deflate crash caused by global shared tfm
commit openanolis.

ANBZ: #2423

When iax deflate calls fallback to generic deflate, they use the same global
shared tfm: deflate_generic_tfm. This shared tfm makes a deflate fallback
call crash. So fix it.

Signed-off-by: Kun(llfl) <llfl@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/774
Reviewed-by: Xiaochen Shen <xiaochen.shen@intel.com>
Reviewed-by: Zelin Deng <zelin.deng@linux.alibaba.com>
Signed-off-by: Xinghui Li <korantli@tencent.com>
2024-06-11 21:18:16 +08:00
..
amcc ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
axis tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
bcm ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
caam ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
cavium ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ccp ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ccree ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
chelsio ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
hisilicon ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
iax anolis: crypto: iax: Fix deflate crash caused by global shared tfm 2024-06-11 21:18:16 +08:00
inside-secure ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
marvell crypto: marvell - Use kzfree rather than its implementation 2019-09-09 23:48:40 +10:00
mediatek ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
nx crypto: nx - remove unused variables 'nx_driver_string' and 'nx_driver_version' 2019-08-30 18:05:31 +10:00
qat ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
qce crypto: qce/des - switch to new verification routines 2019-08-22 14:57:32 +10:00
rockchip crypto: rk3288/des - switch to new verification routines 2019-08-22 14:57:32 +10:00
stm32 Revert "dmaengine: Remove the last, used parameters in dma_async_is_tx_complete" 2024-06-11 21:17:59 +08:00
sunxi-ss ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ux500 crypto: ux500 - Fix COMPILE_TEST warnings 2019-09-09 23:48:41 +10:00
virtio ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
vmx tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
Kconfig crypto: iax - Introduce iax hardware compression accelerator 2024-06-11 21:16:22 +08:00
Makefile crypto: iax - Introduce iax hardware compression accelerator 2024-06-11 21:16:22 +08:00
atmel-aes-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-aes.c tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
atmel-authenc.h tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
atmel-ecc.c crypto: atmel-ecc - factor out code that can be shared 2019-05-30 15:35:45 +08:00
atmel-i2c.c crypto: atmel - Fix -Wunused-const-variable warning 2019-08-30 18:05:31 +10:00
atmel-i2c.h crypto: atmel - Fix -Wunused-const-variable warning 2019-08-30 18:05:31 +10:00
atmel-sha-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-sha.c tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
atmel-sha204a.c crypto: atmel-sha204a - Use device-managed registration API 2019-08-02 14:43:59 +10:00
atmel-tdes-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-tdes.c crypto: atmel/des - switch to new verification routines 2019-08-22 14:39:38 +10:00
exynos-rng.c crypto: exynos - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:11:59 +10:00
geode-aes.c tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
geode-aes.h tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
hifn_795x.c crypto: hifn/des - switch to new verification routines 2019-08-22 14:39:40 +10:00
img-hash.c crypto: img-hash - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:11:59 +10:00
ixp4xx_crypto.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
mxs-dcp.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
n2_asm.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
n2_core.c crypto: n2 - Rename arrays to avoid conflict with crypto/sha256.h 2019-09-05 14:54:54 +10:00
n2_core.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap-aes-gcm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-aes.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
omap-aes.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-crypto.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-crypto.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-des.c crypto: omap/des - switch to new verification routines 2019-08-22 14:57:31 +10:00
omap-sham.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
padlock-aes.c crypto: padlock/aes - switch to library version of key expansion routine 2019-07-26 14:56:02 +10:00
padlock-sha.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
picoxcell_crypto.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
picoxcell_crypto_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
qcom-rng.c crypto: qcom-rng - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:12:03 +10:00
s5p-sss.c crypto: s5p - use correct block size of 1 for ctr(aes) 2019-08-30 18:05:28 +10:00
sahara.c crypto: drivers - Remove dev_err() usage after platform_get_irq() 2019-08-09 15:11:38 +10:00
talitos.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
talitos.h ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00