From: Herbert Xu <herbert@gondor.apana.org.au>
To: Karina Yankevich <k.yankevich@omp.ru>
Cc: Corentin Labbe <clabbe@baylibre.com>,
"David S. Miller" <davem@davemloft.net>,
linux-crypto@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org,
Sergey Shtylyov <s.shtylyov@omp.ru>
Subject: Re: [PATCH] crypto: rockchip - drop redundant crypto_skcipher_ivsize() calls
Date: Fri, 14 Nov 2025 18:20:37 +0800 [thread overview]
Message-ID: <aRcCdQu-d2byeFLY@gondor.apana.org.au> (raw)
In-Reply-To: <20251105145204.2888978-1-k.yankevich@omp.ru>
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@omp.ru>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
> ---
> drivers/crypto/rockchip/rk3288_crypto_skcipher.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2025-11-14 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-05 14:52 Karina Yankevich
2025-11-05 16:55 ` Markus Elfring
2025-11-14 10:20 ` Herbert Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aRcCdQu-d2byeFLY@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=clabbe@baylibre.com \
--cc=davem@davemloft.net \
--cc=k.yankevich@omp.ru \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=lvc-project@linuxtesting.org \
--cc=s.shtylyov@omp.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®