summaryrefslogtreecommitdiff
path: root/arch/x86/crypto/serpent-sse2-i586-asm_32.S
diff options
context:
space:
mode:
authorChang S. Bae <chang.seok.bae@intel.com>2024-03-22 16:04:58 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2024-04-02 10:49:39 +0800
commitd50b35f0c4424185a5f4658b27188c459c9372a8 (patch)
treea3c1c8d52a057ca5f42d78bcc0a0e63d186c8376 /arch/x86/crypto/serpent-sse2-i586-asm_32.S
parent2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9 (diff)
crypto: x86/aesni - Rearrange AES key size check
aes_expandkey() already includes an AES key size check. If AES-NI is unusable, invoke the function without the size check. Also, use aes_check_keylen() instead of open code. Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Cc: Eric Biggers <ebiggers@kernel.org> Cc: Ard Biesheuvel <ardb@kernel.org> Cc: linux-crypto@vger.kernel.org Cc: x86@kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto/serpent-sse2-i586-asm_32.S')
0 files changed, 0 insertions, 0 deletions