]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/crypto: Include <crypto/utils.h> instead of <crypto/algapi.h>
authorEric Biggers <ebiggers@kernel.org>
Tue, 31 Mar 2026 02:44:38 +0000 (19:44 -0700)
committerEric Biggers <ebiggers@kernel.org>
Wed, 1 Apr 2026 00:19:31 +0000 (17:19 -0700)
commit8aeeb5255d5e0001f2af6786e2a7564fef416acf
tree66d8b23c5fec17366a0ad831e04eaa7308c62869
parent8f45af945fce60c8656b5113d80af7fe221c88f5
lib/crypto: Include <crypto/utils.h> instead of <crypto/algapi.h>

Since the lib/crypto/ files that include <crypto/algapi.h> need it only
for the transitive inclusion of <crypto/utils.h> (and not all the
traditional crypto API stuff that the rest of <crypto/algapi.h> is
filled with), replace these inclusions with direct inclusions of
<crypto/utils.h>.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260331024438.51783-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crypto/aescfb.c
lib/crypto/chacha.c
lib/crypto/memneq.c