]> git.ipfire.org Git - thirdparty/linux.git/commit
lib/crypto: aes: Remove old AES en/decryption functions
authorEric Biggers <ebiggers@kernel.org>
Mon, 12 Jan 2026 19:20:32 +0000 (11:20 -0800)
committerEric Biggers <ebiggers@kernel.org>
Thu, 15 Jan 2026 22:09:09 +0000 (14:09 -0800)
commit953f2db0bfc2ab68e69f385441d0f4b54aee0cd1
treebef6bc0c3dc87783d83b16ad31e43b5607006b19
parentbc79efa08c038846b962edf04dc00922b48efdc7
lib/crypto: aes: Remove old AES en/decryption functions

Now that all callers of the aes_encrypt() and aes_decrypt() type-generic
macros are using the new types, remove the old functions.

Then, replace the macro with direct calls to the new functions, dropping
the "_new" suffix from them.

This completes the change in the type of the key struct that is passed
to aes_encrypt() and aes_decrypt().

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260112192035.10427-35-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
include/crypto/aes.h
lib/crypto/aes.c