linux/lib/crypto
Eric Biggers b8456f7aaf lib/crypto: s390: Move arch/s390/lib/crypto/ into lib/crypto/
Move the contents of arch/s390/lib/crypto/ into lib/crypto/s390/.

The new code organization makes a lot more sense for how this code
actually works and is developed.  In particular, it makes it possible to
build each algorithm as a single module, with better inlining and dead
code elimination.  For a more detailed explanation, see the patchset
which did this for the CRC library code:
https://lore.kernel.org/r/20250607200454.73587-1-ebiggers@kernel.org/.
Also see the patchset which did this for SHA-512:
https://lore.kernel.org/linux-crypto/20250616014019.415791-1-ebiggers@kernel.org/

This is just a preparatory commit, which does the move to get the files
into their new location but keeps them building the same way as before.
Later commits will make the actual improvements to the way the
arch-optimized code is integrated for each algorithm.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20250619191908.134235-7-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-06-30 09:26:20 -07:00
..
arm lib/crypto: arm: Move arch/arm/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
arm64 lib/crypto: arm64: Move arch/arm64/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
mips lib/crypto: mips: Move arch/mips/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
mpi lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
powerpc lib/crypto: powerpc: Move arch/powerpc/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
riscv lib/crypto: riscv: Move arch/riscv/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
s390 lib/crypto: s390: Move arch/s390/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
sparc lib/crypto: sparc/sha512: Migrate optimized SHA-512 code to library 2025-06-30 09:26:20 -07:00
x86 lib/crypto: x86/sha512: Remove unnecessary checks for nblocks==0 2025-06-30 09:26:20 -07:00
aes.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
aescfb.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
aesgcm.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
arc4.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
blake2s-generic.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
blake2s-selftest.c crypto: lib/blake2s - Split up test function to halve stack usage 2022-12-30 22:56:27 +08:00
blake2s.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
chacha.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
chacha20poly1305-selftest.c crypto: lib/chacha - strongly type the ChaCha state 2025-05-12 13:32:53 +08:00
chacha20poly1305.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
curve25519-fiat32.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
curve25519-generic.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
curve25519-hacl64.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
curve25519-selftest.c crypto: lib/curve25519 - re-add selftests 2019-12-27 18:18:03 +08:00
curve25519.c crypto: testmgr - replace CRYPTO_MANAGER_DISABLE_TESTS with CRYPTO_SELFTESTS 2025-05-12 13:33:14 +08:00
des.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
gf128mul.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
Kconfig lib/crypto: s390: Move arch/s390/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
libchacha.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
Makefile lib/crypto: s390: Move arch/s390/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
memneq.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
poly1305-donna32.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
poly1305-donna64.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
poly1305-generic.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
poly1305.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
sha1.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
sha256-generic.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
sha256.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
sha512.c lib/crypto: sha512: Add HMAC-SHA384 and HMAC-SHA512 support 2025-06-30 09:26:19 -07:00
simd.c crypto: api - move crypto_simd_disabled_for_test to lib 2024-10-28 18:33:11 +08:00
sm3.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00
utils.c lib/crypto: Explicitly include <linux/export.h> 2025-06-30 09:26:19 -07:00