linux/lib/crypto
Tal Zussman fd7e5de4b2 lib/crypto: ensure generated *.S files are removed on make clean
make clean does not check the kernel config when removing files. As
such, additions to clean-files under CONFIG_ARM or CONFIG_ARM64 are not
evaluated. For example, when building on arm64, this means that
lib/crypto/arm64/sha{256,512}-core.S are left over after make clean.

Set clean-files unconditionally to ensure that make clean removes these
files.

Fixes: e96cb9507f ("lib/crypto: sha256: Consolidate into single module")
Fixes: 24c91b62ac ("lib/crypto: arm/sha512: Migrate optimized SHA-512 code to library")
Fixes: 60e3f1e9b7 ("lib/crypto: arm64/sha512: Migrate optimized SHA-512 code to library")
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Link: https://lore.kernel.org/r/20250814-crypto_clean-v2-1-659a2dc86302@columbia.edu
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-08-14 18:01:03 -07:00
..
arm
arm64
mips
mpi
powerpc
riscv
s390
sparc
tests
x86
Kconfig
Makefile lib/crypto: ensure generated *.S files are removed on make clean 2025-08-14 18:01:03 -07:00
aes.c
aescfb.c
aesgcm.c
arc4.c
blake2s-generic.c
blake2s-selftest.c
blake2s.c
chacha.c
chacha20poly1305-selftest.c
chacha20poly1305.c
curve25519-fiat32.c
curve25519-generic.c
curve25519-hacl64.c
curve25519-selftest.c
curve25519.c
des.c
gf128mul.c
hash_info.c
libchacha.c
memneq.c
poly1305-donna32.c
poly1305-donna64.c
poly1305-generic.c
poly1305.c
sha1.c
sha256.c
sha512.c
simd.c
sm3.c
utils.c