kernel_samsung_a53x/drivers/crypto/bcm
Chen Ridong 8145ec7dbb crypto: bcm - add error check in the ahash_hmac_init function
[ Upstream commit 19630cf57233e845b6ac57c9c969a4888925467b ]

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: 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver")
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:00 +01:00
..
cipher.c crypto: bcm - add error check in the ahash_hmac_init function 2024-12-17 13:24:00 +01:00
cipher.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spu2.c crypto: bcm - Fix pointer arithmetic 2024-11-19 12:26:52 +01:00
spu2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spum.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00