linux/drivers/crypto/bcm
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
..
cipher.c crypto: bcm - add error check in the ahash_hmac_init function 2024-11-15 19:52:51 +08:00
cipher.h crypto: bcm - Use subrequest for fallback 2023-01-27 18:58:09 +08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
spu2.c crypto: bcm - Fix pointer arithmetic 2024-04-02 10:49:39 +08:00
spu2.h crypto: bcm - Fix sparse warnings 2021-01-22 14:58:01 +11:00
spu.c crypto: bcm - Fix a whole host of kernel-doc misdemeanours 2021-03-26 20:02:35 +11:00
spu.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
spum.h crypto: bcm - Fix sparse warnings 2021-01-22 14:58:01 +11:00
util.c crypto: bcm - Fix a whole host of kernel-doc misdemeanours 2021-03-26 20:02:35 +11:00
util.h crypto: bcm - Fix sparse warnings 2021-01-22 14:58:01 +11:00