[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aRcCdQu-d2byeFLY@gondor.apana.org.au>
Date: Fri, 14 Nov 2025 18:20:37 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Karina Yankevich <k.yankevich@....ru>
Cc: Corentin Labbe <clabbe@...libre.com>,
"David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org,
Sergey Shtylyov <s.shtylyov@....ru>
Subject: Re: [PATCH] crypto: rockchip - drop redundant
crypto_skcipher_ivsize() calls
On Wed, Nov 05, 2025 at 05:52:04PM +0300, Karina Yankevich wrote:
> 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@....ru>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@....ru>
> ---
> drivers/crypto/rockchip/rk3288_crypto_skcipher.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists