]> Gentwo Git Trees - linux/.git/commit
crypto: rockchip - drop redundant crypto_skcipher_ivsize() calls
authorKarina Yankevich <k.yankevich@omp.ru>
Wed, 5 Nov 2025 14:52:04 +0000 (17:52 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 Nov 2025 10:15:48 +0000 (18:15 +0800)
commitd52e9b8843749f446dff2afcfc5da3d8bbe806cc
tree24a8e83363262a894601bcf12b24b6c948fd2511
parentd633730bb3873578a00fde4b97f9ac62a1be8d34
crypto: rockchip - drop redundant crypto_skcipher_ivsize() calls

The function already initialized the ivsize variable
at the point of declaration, let's use it instead of
calling crypto_skcipher_ivsize() extra couple times.

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

Fixes: 57d67c6e8219 ("crypto: rockchip - rework by using crypto_engine")
Signed-off-by: Karina Yankevich <k.yankevich@omp.ru>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/rockchip/rk3288_crypto_skcipher.c