Nicolas Toromanoff
4c66717867
crypto: stm32/cryp - fix lrw chaining mode
...
[ Upstream commit fa97dc2d48b476ea98199d808d3248d285987e99 ]
This fixes the lrw autotest if lrw uses the CRYP as the AES block cipher
provider (as ecb(aes)). At end of request, CRYP should not update the IV
in case of ECB chaining mode. Indeed the ECB chaining mode never uses
the IV, but the software LRW chaining mode uses the IV field as
a counter and due to the (unexpected) update done by CRYP while the AES
block process, the counter get a wrong value when the IV overflow.
Fixes: 5f49f18d27 ("crypto: stm32/cryp - update to return iv_out")
Signed-off-by: Nicolas Toromanoff <[email protected] >
Signed-off-by: Herbert Xu <[email protected] >
Signed-off-by: Sasha Levin <[email protected] >
2022-01-27 09:19:33 +01:00
..
amcc
axis
bcm
crypto: bcm - Rename struct device_private to bcm_device_private
2021-03-04 10:26:21 +01:00
caam
crypto: caam - disable pkc for non-E SoCs
2021-11-17 09:48:34 +01:00
cavium
crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
2021-07-14 16:53:22 +02:00
ccp
crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()
2021-10-06 15:42:39 +02:00
ccree
chelsio
cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
2021-03-04 10:26:17 +01:00
hisilicon
inside-secure
marvell
mediatek
nx
crypto: nx - Fix RCU warning in nx842_OF_upd_status
2021-07-14 16:53:24 +02:00
qat
crypto: qat - disregard spurious PFVF interrupts
2021-11-17 09:48:36 +01:00
qce
crypto: qce - fix uaf on qce_ahash_register_one
2022-01-27 09:19:30 +01:00
rockchip
stm32
crypto: stm32/cryp - fix lrw chaining mode
2022-01-27 09:19:33 +01:00
sunxi-ss
crypto: sun4i-ss - initialize need_fallback
2021-03-04 10:26:45 +01:00
ux500
crypto: ux500 - Fix error return code in hash_hw_final()
2021-07-14 16:53:20 +02:00
virtio
vmx
atmel-aes-regs.h
atmel-aes.c
atmel-authenc.h
atmel-ecc.c
atmel-i2c.c
atmel-i2c.h
atmel-sha-regs.h
atmel-sha.c
atmel-sha204a.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 - dma_unmap the correct address
2021-07-14 16:53:20 +02:00
Kconfig
Makefile
mxs-dcp.c
crypto: mxs-dcp - Use sg_mapping_iter to copy data
2021-09-22 12:26:26 +02:00
n2_asm.S
n2_core.c
n2_core.h
omap-aes-gcm.c
omap-aes.c
crypto: omap-aes - Fix PM reference leak on omap-aes.c
2021-05-11 14:04:07 +02:00
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c
crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
2021-09-15 09:47:26 +02:00
padlock-aes.c
padlock-sha.c
picoxcell_crypto.c
picoxcell_crypto_regs.h
qcom-rng.c
s5p-sss.c
crypto: s5p-sss - Add error handling in s5p_aes_probe()
2021-11-17 09:48:17 +01:00
sahara.c
talitos.c
crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
2021-03-04 10:26:23 +01:00
talitos.h
crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
2021-03-04 10:26:23 +01:00