mirror-linux/arch
Eric Biggers 104a9526e1 crypto: x86/aes-gcm - Use new AES library API
Switch from the old AES library functions (which use struct
crypto_aes_ctx) to the new ones (which use struct aes_enckey).  This
eliminates the unnecessary computation and caching of the decryption
round keys.  The new AES en/decryption functions are also much faster
and use AES instructions when supported by the CPU.

Since this changes the format of the AES-GCM key structures that are
used by the AES-GCM assembly code, the offsets in the assembly code had
to be updated to match.  Note that the new key structures are smaller,
since the decryption round keys are no longer unnecessarily included.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260112192035.10427-26-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2026-01-15 14:09:08 -08:00
..
alpha alpha updates for v6.19 2025-12-11 08:01:52 +09:00
arc Ext4 bug fixes for 6.18-rc2, including 2025-10-15 07:51:57 -07:00
arm crypto: arm/ghash - Use new AES library API 2026-01-15 14:09:08 -08:00
arm64 crypto: arm64/ghash - Use new AES library API 2026-01-15 14:09:08 -08:00
csky csky 6.19 Release Notes 2025-12-10 12:17:29 +09:00
hexagon This update includes the following changes: 2025-12-03 11:28:38 -08:00
loongarch LoongArch: BPF: Enhance the bpf_arch_text_poke() function 2025-12-31 15:19:21 +08:00
m68k crypto: aes - Remove aes-fixed-time / CONFIG_CRYPTO_AES_TI 2026-01-12 11:39:58 -08:00
microblaze arch: hookup listns() system call 2025-11-03 17:41:18 +01:00
mips MIPS: Fix a reference leak bug in ip22_check_gio() 2025-12-15 16:11:14 +01:00
nios2 arch/nios2: replace "__auto_type" and adjacent equivalent with "auto" 2025-12-08 15:32:15 -08:00
openrisc Ext4 bug fixes for 6.18-rc2, including 2025-10-15 07:51:57 -07:00
parisc TTY/Serial changes for 6.19-rc1 2025-12-06 18:38:19 -08:00
powerpc lib/crypto: powerpc/aes: Migrate POWER8 optimized code into library 2026-01-12 11:39:58 -08:00
riscv lib/crypto: riscv/aes: Migrate optimized code into library 2026-01-12 11:39:58 -08:00
s390 lib/crypto: s390/aes: Migrate optimized code into library 2026-01-15 14:08:55 -08:00
sh treewide: Update email address 2026-01-11 06:09:11 -10:00
sparc lib/crypto: sparc/aes: Migrate optimized code into library 2026-01-15 14:09:07 -08:00
um Address various objtool scalability bugs/inefficiencies exposed by 2025-12-06 11:56:51 -08:00
x86 crypto: x86/aes-gcm - Use new AES library API 2026-01-15 14:09:08 -08:00
xtensa TTY/Serial changes for 6.19-rc1 2025-12-06 18:38:19 -08:00
.gitignore
Kconfig treewide: drop outdated compiler version remarks in Kconfig help texts 2025-11-12 10:00:14 -08:00