Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+2 -2
+2 -2
arch/arm64/crypto/aes-cipher-core.S
··· 123 123 .endm 124 124 125 125 SYM_FUNC_START(__aes_arm64_encrypt) 126 - do_crypt fround, crypto_ft_tab, crypto_ft_tab + 1, 2 126 + do_crypt fround, aes_enc_tab, aes_enc_tab + 1, 2 127 127 SYM_FUNC_END(__aes_arm64_encrypt) 128 128 129 129 .align 5 130 130 SYM_FUNC_START(__aes_arm64_decrypt) 131 - do_crypt iround, crypto_it_tab, crypto_aes_inv_sbox, 0 131 + do_crypt iround, aes_dec_tab, crypto_aes_inv_sbox, 0 132 132 SYM_FUNC_END(__aes_arm64_decrypt)