Re: [PATCH] lib/crypto: Include <crypto/utils.h> instead of <crypto/algapi.h>

From: Eric Biggers

Date: Thu Apr 02 2026 - 19:26:45 EST


On Mon, Mar 30, 2026 at 07:44:38PM -0700, Eric Biggers wrote:
> 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>.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
> lib/crypto/aescfb.c | 2 +-
> lib/crypto/chacha.c | 2 +-
> lib/crypto/memneq.c | 4 ++--
> 3 files changed, 4 insertions(+), 4 deletions(-)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

- Eric