]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: arm64/aes - Switch to aes_enc_tab[] and aes_dec_tab[]
authorEric Biggers <ebiggers@kernel.org>
Mon, 12 Jan 2026 19:20:03 +0000 (11:20 -0800)
committerEric Biggers <ebiggers@kernel.org>
Mon, 12 Jan 2026 19:39:58 +0000 (11:39 -0800)
commit1cb2fcb61c6d58c59a01da1fa8330e3101818759
tree4f1b157d1e3197b3227405a2028cb0ae38e0ee43
parentf367305a5d0f72d2e8c656f144db424f791dc5e1
crypto: arm64/aes - Switch to aes_enc_tab[] and aes_dec_tab[]

Instead of crypto_ft_tab and crypto_it_tab from aes_generic.c, use
aes_enc_tab and aes_dec_tab from lib/crypto/aes.c.  These contain the
same data in the first 1024 bytes (which is the part that this code
uses), so the result is the same.  This will allow aes_generic.c to
eventually be removed.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260112192035.10427-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
arch/arm64/crypto/aes-cipher-core.S