WSL2-Linux-Kernel/drivers/crypto/allwinner
Alexey Khoroshilov d61a7b3dec crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs()
There is no i decrement in while (i >= 0) loop.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: 359e893e8a ("crypto: sun8i-ss - rework handling of IV")
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-06-17 17:19:20 +08:00
..
sun4i-ss crypto: sun4i-ss - do not allocate backup IV on requests 2022-05-13 17:24:17 +08:00
sun8i-ce crypto: sun8i-ce - do not fallback if cryptlen is less than sg length 2022-05-13 17:24:48 +08:00
sun8i-ss crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs() 2022-06-17 17:19:20 +08:00
Kconfig crypto: allwinner - add missing CRYPTO_ prefix 2021-04-09 17:41:05 +10:00
Makefile crypto: allwinner - Add sun8i-ss cryptographic offloader 2019-11-01 13:38:31 +08:00