linux/drivers/crypto/hisilicon
Kai Ye 00b9a51766 crypto: hisilicon/sec - fix auth key size error
[ Upstream commit 45f5d0176d ]

The authentication algorithm supports a maximum of 128-byte keys.
The allocated key memory is insufficient.

Fixes: 2f072d75d1 ("crypto: hisilicon - Add aead support on SEC2")
Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2022-08-17 15:14:58 +02:00
..
hpre crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq 2022-08-17 15:14:57 +02:00
sec crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq 2022-08-17 15:14:42 +02:00
sec2 crypto: hisilicon/sec - fix auth key size error 2022-08-17 15:14:58 +02:00
trng crypto: hisilicon/trng - add version to adapt new algorithm 2021-04-16 21:16:31 +10:00
zip crypto: hisilicon/qm - replace hisi_qm_release_qp() with hisi_qm_free_qps() 2022-04-21 17:53:56 +08:00
Kconfig crypto: hisilicon/sec - add sm4 generic selection 2022-05-06 18:16:55 +08:00
Makefile crypto: hisilicon/trng - add HiSilicon TRNG driver support 2020-11-27 17:13:43 +11:00
qm.c crypto: hisilicon/qm - remove hisi_qm_get_free_qp_num() 2022-04-21 17:53:56 +08:00
sgl.c crypto: hisilicon/sgl - align the hardware sgl dma address 2022-04-15 16:34:30 +08:00