linux/drivers/crypto/allwinner/sun8i-ss
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
..
Makefile crypto: sun8i-ss - support hash algorithms 2020-09-25 17:48:17 +10:00
sun8i-ss-cipher.c crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs() 2022-06-17 17:19:20 +08:00
sun8i-ss-core.c crypto: sun8i-ss - fix error codes in allocate_flows() 2022-06-10 16:40:16 +08:00
sun8i-ss-hash.c crypto: sun8i-ss - fix a NULL vs IS_ERR() check in sun8i_ss_hashkey 2022-06-10 16:43:50 +08:00
sun8i-ss-prng.c crypto: sun8i-ss - using pm_runtime_resume_and_get instead of pm_runtime_get_sync 2022-04-29 13:44:57 +08:00
sun8i-ss.h crypto: sun8i-ss - add hmac(sha1) 2022-05-13 17:24:19 +08:00