diff options
author | Nicolas Toromanoff | 2021-11-30 08:54:55 +0100 |
---|---|---|
committer | Herbert Xu | 2021-12-11 16:48:05 +1100 |
commit | 41c76690b0990efacd15d35cfb4e77318cd80ebb (patch) | |
tree | d31c5e0c2292f8c92d0dfb3f5ad1f65b15f10f4f /Kconfig | |
parent | 029812aee3a120c9ca3cd891e5ef159ec3c6c547 (diff) |
crypto: stm32/cryp - fix CTR counter carry
STM32 CRYP hardware doesn't manage CTR counter bigger than max U32, as
a workaround, at each block the current IV is saved, if the saved IV
lower u32 is 0xFFFFFFFF, the full IV is manually incremented, and set
in hardware.
Fixes: bbb2832620ac ("crypto: stm32 - Fix sparse warnings")
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions