]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: simd - Simplify request size calculation in simd_aead_init
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 22 Dec 2025 10:42:53 +0000 (11:42 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Jan 2026 05:48:43 +0000 (13:48 +0800)
commitb4f275b92dc74750a09ac0d272c1570828b86f7e
treed250e5595eabb071851e8ea7b6183a8c38267625
parent280bfc3eb5d3f3199f888197462e7da7e9914160
crypto: simd - Simplify request size calculation in simd_aead_init

Fold both assignments into a single max() call to simplify the code.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/simd.c