summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNicolas Toromanoff <nicolas.toromanoff@foss.st.com>2021-11-30 10:54:55 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-12-11 08:48:05 +0300
commit41c76690b0990efacd15d35cfb4e77318cd80ebb (patch)
treed31c5e0c2292f8c92d0dfb3f5ad1f65b15f10f4f /scripts
parent029812aee3a120c9ca3cd891e5ef159ec3c6c547 (diff)
downloadlinux-41c76690b0990efacd15d35cfb4e77318cd80ebb.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions