]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: arm64/aes - Select CRYPTO_LIB_SHA256 from correct places
authorEric Biggers <ebiggers@kernel.org>
Mon, 12 Jan 2026 19:20:04 +0000 (11:20 -0800)
committerEric Biggers <ebiggers@kernel.org>
Mon, 12 Jan 2026 19:39:58 +0000 (11:39 -0800)
commit5be8dcc1d0dd5b4bd431d1d052e79f01dd2e33c4
treeb9566c8df19586d510af34ec678961335886d0c7
parent1cb2fcb61c6d58c59a01da1fa8330e3101818759
crypto: arm64/aes - Select CRYPTO_LIB_SHA256 from correct places

The call to sha256() occurs in code that is built when either
CRYPTO_AES_ARM64_CE_BLK or CRYPTO_AES_ARM64_NEON_BLK.  The option
CRYPTO_AES_ARM64 is unrelated, notwithstanding its documentation.  I'll
be removing CRYPTO_AES_ARM64 soon anyway, but before doing that, fix
where CRYPTO_LIB_SHA256 is selected from.

Fixes: 01834444d972 ("crypto: arm64/aes - use SHA-256 library instead of crypto_shash")
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260112192035.10427-7-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
arch/arm64/crypto/Kconfig