linux/lib/crypto/arm64
Eric Biggers fd5017138c lib/crypto: arm64/sha1: Remove obsolete chunking logic
Since commit aefbab8e77 ("arm64: fpsimd: Preserve/restore kernel mode
NEON at context switch"), kernel-mode NEON sections have been
preemptible on arm64.  And since commit 7dadeaa6e8 ("sched: Further
restrict the preemption modes"), voluntary preemption is no longer
supported on arm64 either.  Therefore, there's no longer any need to
limit the length of kernel-mode NEON sections on arm64.

Simplify the SHA-1 code accordingly.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260401000548.133151-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
History 2026-04-01 13:02:10 -07:00
..
.gitignore lib/crypto: arm64: Move arch/arm64/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
aes-ce-core.S lib/crypto: arm64/aes: Migrate optimized code into library 2026-01-12 11:39:58 -08:00
aes-ce.S lib/crypto: arm64/aes: Move assembly code for AES modes into libaes 2026-03-09 13:27:20 -07:00
aes-cipher-core.S lib/crypto: arm64/aes: Migrate optimized code into library 2026-01-12 11:39:58 -08:00
aes-modes.S lib/crypto: arm64/aes: Remove obsolete chunking logic 2026-04-01 13:02:09 -07:00
aes-neon.S lib/crypto: arm64/aes: Move assembly code for AES modes into libaes 2026-03-09 13:27:20 -07:00
aes.h lib/crypto: arm64/aes: Remove obsolete chunking logic 2026-04-01 13:02:09 -07:00
chacha-neon-core.S lib/crypto: arm64: Move arch/arm64/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
chacha.h lib/crypto: arm64/chacha: Remove obsolete chunking logic 2026-04-01 13:02:09 -07:00
gf128hash.h lib/crypto: arm64/gf128hash: Remove obsolete chunking logic 2026-04-01 13:02:10 -07:00
ghash-neon-core.S lib/crypto: arm64/ghash: Migrate optimized code into library 2026-03-23 16:44:29 -07:00
nh-neon-core.S lib/crypto: arm64/nh: Migrate optimized code into library 2026-01-12 11:07:50 -08:00
nh.h lib/crypto: arm64/nh: Migrate optimized code into library 2026-01-12 11:07:50 -08:00
poly1305-armv8.pl lib/crypto: poly1305: Consolidate into single module 2025-08-29 09:49:18 -07:00
poly1305.h lib/crypto: arm64/poly1305: Remove obsolete chunking logic 2026-04-01 13:02:10 -07:00
polyval-ce-core.S lib/crypto: arm64/polyval: Migrate optimized code into library 2025-11-11 11:03:38 -08:00
sha1-ce-core.S lib/crypto: arm64/sha1: Remove obsolete chunking logic 2026-04-01 13:02:10 -07:00
sha1.h lib/crypto: arm64/sha1: Remove obsolete chunking logic 2026-04-01 13:02:10 -07:00
sha2-armv8.pl lib/crypto: sha256: Remove sha256_blocks_simd() 2025-07-04 10:18:53 -07:00
sha3-ce-core.S lib/crypto: arm, arm64: Drop filenames from file comments 2025-11-05 20:30:51 -08:00
sha3.h lib/crypto: arm64: Move remaining algorithms to scoped ksimd API 2025-11-12 10:14:11 -08:00
sha256-ce.S lib/crypto: arm, arm64: Drop filenames from file comments 2025-11-05 20:30:51 -08:00
sha256.h lib/crypto: arm64: Drop checks for CONFIG_KERNEL_MODE_NEON 2026-03-19 10:10:30 -07:00
sha512-ce-core.S lib/crypto: arm, arm64: Drop filenames from file comments 2025-11-05 20:30:51 -08:00
sha512.h lib/crypto: arm64: Drop checks for CONFIG_KERNEL_MODE_NEON 2026-03-19 10:10:30 -07:00
sm3-ce-core.S lib/crypto: arm64/sm3: Migrate optimized code into library 2026-03-23 17:50:59 -07:00
sm3-neon-core.S lib/crypto: arm64/sm3: Migrate optimized code into library 2026-03-23 17:50:59 -07:00
sm3.h lib/crypto: arm64/sm3: Migrate optimized code into library 2026-03-23 17:50:59 -07:00