sst-linux/drivers/crypto
Wenkai Lin d5c51c6445 crypto: hisilicon/sec2 - fix for aead auth key length
[ Upstream commit 1b284ffc30b02808a0de698667cbcf5ce5f9144e ]

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>
2025-04-10 14:33:35 +02:00
..
allwinner
amcc
amlogic
aspeed
axis
bcm crypto: bcm - add error check in the ahash_hmac_init function 2024-12-14 19:53:18 +01:00
caam crypto: caam - add error check to caam_rsa_set_priv_key_form 2024-12-14 19:53:18 +01:00
cavium crypto: cavium - Fix an error handling path in cpt_ucode_load_fw() 2024-12-14 19:53:18 +01:00
ccp crypto: ccp - Properly unregister /dev/sev on sev PLATFORM_STATUS failure 2024-10-17 15:21:20 +02:00
ccree
chelsio
gemini
hisilicon crypto: hisilicon/sec2 - fix for aead auth key length 2025-04-10 14:33:35 +02:00
inside-secure crypto: inside-secure - Fix the return value of safexcel_xcbcmac_cra_init() 2024-12-14 19:53:17 +01:00
keembay
marvell crypto: marvell/cesa - Disable hash algorithms 2024-11-17 15:07:20 +01:00
nx crypto: nx - Fix uninitialised hv_nxc on error 2025-04-10 14:33:35 +02:00
qat crypto: qat - remove faulty arbiter config reset 2024-12-14 19:53:17 +01:00
qce crypto: qce - unregister previously registered algos in error path 2025-02-21 13:49:49 +01:00
rockchip
stm32
ux500
virtio
vmx powerpc/64: Add big-endian ELFv2 flavour to crypto VMX asm generation 2024-10-22 15:56:51 +02:00
xilinx
atmel-aes-regs.h
atmel-aes.c
atmel-authenc.h
atmel-ecc.c
atmel-i2c.c
atmel-i2c.h
atmel-sha204a.c
atmel-sha-regs.h
atmel-sha.c
atmel-tdes-regs.h
atmel-tdes.c
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c
ixp4xx_crypto.c crypto: ixp4xx - fix OF node reference leaks in init_ixp_crypto() 2025-02-21 13:49:08 +01:00
Kconfig
Makefile
mxs-dcp.c
n2_asm.S
n2_core.c
n2_core.h
omap-aes-gcm.c
omap-aes.c
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c
padlock-aes.c
padlock-sha.c
qcom-rng.c
s5p-sss.c
sa2ul.c
sa2ul.h
sahara.c
talitos.c
talitos.h