linux/drivers/crypto/hisilicon
Wenkai Lin 5416777d56 crypto: hisilicon/sec2 - fix for aead auth key length
[ Upstream commit 1b284ffc30 ]

According to the HMAC RFC, the authentication key
can be 0 bytes, and the hardware can handle this
scenario. Therefore, remove the incorrect validation
for this case.

Fixes: 2f072d75d1 ("crypto: hisilicon - Add aead support on SEC2")
Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-04-10 14:39:21 +02:00
..
hpre crypto: hisilicon/qm - disable same error report before resetting 2024-12-05 14:01:18 +01:00
sec crypto: hisilicon/sec - Remove trailing space after \n newline 2024-09-06 14:50:46 +08:00
sec2 crypto: hisilicon/sec2 - fix for aead auth key length 2025-04-10 14:39:21 +02:00
trng crypto: hisilicon/trng - modifying the order of header files 2024-09-06 14:50:46 +08:00
zip crypto: hisilicon/qm - disable same error report before resetting 2024-12-05 14:01:18 +01:00
debugfs.c crypto: hisilicon/debugfs - fix the struct pointer incorrectly offset problem 2024-12-19 18:13:02 +01:00
Kconfig hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
Makefile hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
qm.c crypto: hisilicon/qm - disable same error report before resetting 2024-12-05 14:01:18 +01:00
qm_common.h crypto: hisilicon/qm - simplify the status of qm 2023-12-01 18:03:26 +08:00
sgl.c crypto: hisilicon - fix missed error branch 2024-09-06 14:50:46 +08:00