mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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: 57d67c6e82 ("crypto: rockchip - rework by using crypto_engine")
Signed-off-by: Karina Yankevich <[email protected]>
Reviewed-by: Sergey Shtylyov <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>