linux/drivers/crypto
Chen Ridong 19630cf572 crypto: bcm - add error check in the ahash_hmac_init function
The ahash_init functions may return fails. The ahash_hmac_init should
not return ok when ahash_init returns error. For an example, ahash_init
will return -ENOMEM when allocation memory is error.

Fixes: 9d12ba86f8 ("crypto: brcm - Add Broadcom SPU driver")
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2024-11-15 19:52:51 +08:00
..
allwinner crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
amcc crypto: crypto4xx - use devm in probe 2024-10-19 08:44:30 +08:00
amlogic crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
aspeed crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
axis crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
bcm crypto: bcm - add error check in the ahash_hmac_init function 2024-11-15 19:52:51 +08:00
caam crypto: caam - add error check to caam_rsa_set_priv_key_form 2024-11-15 19:52:51 +08:00
cavium crypto: cavium - Fix the if condition to exit loop after timeout 2024-10-28 18:33:11 +08:00
ccp crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
ccree crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
chelsio crypto: drivers - Correct multiple typos in comments 2024-10-05 13:22:05 +08:00
gemini crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
hisilicon crypto: hisilicon/qm - disable same error report before resetting 2024-11-02 18:23:25 +08:00
inside-secure crypto: inside-secure - Fix the return value of safexcel_xcbcmac_cra_init() 2024-11-10 11:50:54 +08:00
intel crypto: qat - Fix missing destroy_workqueue in adf_init_aer() 2024-11-10 11:50:54 +08:00
marvell crypto: cesa - use devm_platform_get_and_ioremap_resource 2024-10-19 08:44:30 +08:00
nx crypto: nx - Fix invalid wait context during kexec reboot 2024-10-28 18:32:40 +08:00
qce crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
rockchip crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
starfive crypto: starfive - remove unneeded crypto_engine_stop() call 2024-10-28 18:33:11 +08:00
stm32 crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
tegra crypto: tegra - remove unneeded crypto_engine_stop() call 2024-10-28 18:33:11 +08:00
virtio crypto: virtio - Drop sign/verify operations 2024-10-05 13:22:04 +08:00
xilinx crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
atmel-aes-regs.h
atmel-aes.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
atmel-authenc.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
atmel-ecc.c crypto: atmel - Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-10-05 13:22:05 +08:00
atmel-i2c.c crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-i2c.h crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-sha204a.c crypto: atmel - Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-10-05 13:22:05 +08:00
atmel-sha-regs.h
atmel-sha.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
atmel-tdes-regs.h
atmel-tdes.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
exynos-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
geode-aes.c crypto: geode - use DEFINE_SPINLOCK() for spinlock 2021-04-16 21:16:31 +10:00
geode-aes.h
hifn_795x.c crypto: hifn_795x - Remove unused hifn_*_command structs 2024-05-31 17:34:56 +08:00
img-hash.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
Kconfig Revert "crypto: spacc - Add SPAcc Skcipher support" 2024-09-04 07:09:51 +08:00
Makefile Revert "crypto: spacc - Add SPAcc Skcipher support" 2024-09-04 07:09:51 +08:00
mxs-dcp.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
n2_asm.S
n2_core.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
n2_core.h
omap-aes-gcm.c crypto: omap - Use new crypto_engine_op interface 2023-08-18 17:01:11 +08:00
omap-aes.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
omap-aes.h crypto: omap - Use new crypto_engine_op interface 2023-08-18 17:01:11 +08:00
omap-crypto.c crypto: omap - Avoid redundant copy when using truncated sg list 2021-08-21 15:44:53 +08:00
omap-crypto.h
omap-des.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
omap-sham.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
padlock-aes.c
padlock-sha.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
qcom-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
s5p-sss.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
sa2ul.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
sa2ul.h crypto: sa2ul - change unsafe data size limit to 255 bytes 2023-05-19 16:45:43 +08:00
sahara.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.h crypto: talitos - Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper 2022-10-21 19:05:24 +08:00