This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository linux.
from ced1b9e0392d Merge tag 'ata-6.17-rc1' of git://git.kernel.org/pub/scm/l [...] new 6fd9e1aa0784 regset: Fix kerneldoc for struct regset_get() in user_regset new 85a7f9cbf8a8 regset: Add explicit core note name in struct user_regset new 9674a1be4dd5 binfmt_elf: Dump non-arch notes with strictly matching nam [...] new 237dc8d79627 ARC: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset [...] new 49b849d11cd1 ARM: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset [...] new 87b0d081dc98 arm64: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regs [...] new 2c2fb861fc59 csky: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regse [...] new 55821111b1b3 hexagon: ptrace: Use USER_REGSET_NOTE_TYPE() to specify re [...] new 1260e3b13584 LoongArch: ptrace: Use USER_REGSET_NOTE_TYPE() to specify [...] new e572168e8d2a m68k: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regse [...] new 18bd88faa246 MIPS: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regse [...] new 8368cd0e4636 nios2: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regs [...] new 10cd957a895f openrisc: ptrace: Use USER_REGSET_NOTE_TYPE() to specify r [...] new 92acdd819b5d parisc: ptrace: Use USER_REGSET_NOTE_TYPE() to specify reg [...] new 307035acefbd powerpc/ptrace: Use USER_REGSET_NOTE_TYPE() to specify reg [...] new c9502cc7bef5 riscv: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regs [...] new d6a883cb40fc s390/ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset [...] new afe74eecd88f sh: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset [...] new c9d4cb25e94e sparc: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regs [...] new 3de0414dec7b x86/ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset [...] new 40d3a88594b5 um: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset [...] new cb32fb722f4b xtensa: ptrace: Use USER_REGSET_NOTE_TYPE() to specify reg [...] new a55128d392e8 binfmt_elf: Warn on missing or suspicious regset note names new 8030790477e8 binfmt_elf: remove the 4k limitation of program header size new 7f71195c15dc fork: reorder function qualifiers for copy_clone_args_from_user new d900c4ce638d Merge tag 'execve-v6.17' of git://git.kernel.org/pub/scm/l [...] new 4bfbc2691de8 mux: Convert mux_control_ops to a flex array member in mux_chip new 29bb79e9dbf1 stddef: Introduce TRAILING_OVERLAP() helper macro new 5e54510a9389 acpi: nfit: intel: avoid multiple -Wflex-array-member-not- [...] new 10299c07c94a kunit/fortify: Add back "volatile" for sizeof() constants new 2d8ae9a4f1bc string: Group str_has_prefix() and strstarts() new fc07839203f3 seq_buf: Introduce KUnit tests new 57fbad15c2ee stackleak: Rename STACKLEAK to KSTACK_ERASE new 9ea1e8d28add stackleak: Rename stackleak_track_stack to __sanitizer_cov [...] new 76261fc7d1be stackleak: Split KSTACK_ERASE_CFLAGS from GCC_PLUGINS_CFLAGS new 4c56d9f7e75e configs/hardening: Enable CONFIG_KSTACK_ERASE new 437641a72d0a configs/hardening: Enable CONFIG_INIT_ON_FREE_DEFAULT_ON new 645d1b666498 powerpc/mm/book3s64: Move kfence and debug_pagealloc relat [...] new d01daf9d95c9 mips: Handle KCOV __init vs inline mismatch new 2424fe1cac4f arm: Handle KCOV __init vs inline mismatches new c64d6be1a6f8 s390: Handle KCOV __init vs inline mismatches new 65c430906eff arm64: Handle KCOV __init vs inline mismatches new 8245d47cfaba x86: Handle KCOV __init vs inline mismatches new 431a380f935e kstack_erase: Disable kstack_erase for all of arm compress [...] new 381a38ea53d2 init.h: Disable sanitizer coverage for __init and __head new 6676fd3c99b0 kstack_erase: Add -mgeneral-regs-only to silence Clang warnings new a8f0b1f8ef62 kstack_erase: Support Clang stack depth tracking new 32e42ab9fc88 sched/task_stack: Add missing const qualifier to end_of_stack() new 8e736a2eeaf2 Merge tag 'hardening-v6.17-rc1' of git://git.kernel.org/pu [...] new cece5689e1d7 x86/crc: drop checks of CONFIG_AS_VPCLMULQDQ new 0e238260d3c3 crypto: testmgr - remove crc32c context format test new 4be6cc8222a4 crypto: inside-secure - remove crc32 support new 5b019bb25fbf crypto: stm32 - remove crc32 and crc32c support new 2c7528d36ea3 btrfs: stop parsing crc32c driver name new b0e04dde8e78 crypto/crc32[c]: register only "-lib" drivers new f2703a104e89 lib/crc32: Remove unused combination support new 89a51591405e lib/crc: Move files into lib/crc/ new 0bcfca56406d lib/crc: Prepare for arch-optimized code in subdirs of lib/crc/ new 530b304f00f2 lib/crc: arm: Migrate optimized CRC code into lib/crc/ new 2b7531b2a203 lib/crc: arm64: Migrate optimized CRC code into lib/crc/ new b10d2d20d978 lib/crc: loongarch: Migrate optimized CRC code into lib/crc/ new da4fd657730c lib/crc: mips: Migrate optimized CRC code into lib/crc/ new 190c253d8696 lib/crc: powerpc: Migrate optimized CRC code into lib/crc/ new b5943815e63b lib/crc: riscv: Migrate optimized CRC code into lib/crc/ new 2374bf238649 lib/crc: s390: Migrate optimized CRC code into lib/crc/ new 9b2d720e8ac4 lib/crc: sparc: Migrate optimized CRC code into lib/crc/ new b10749d89f54 lib/crc: x86: Migrate optimized CRC code into lib/crc/ new 61d01fb7afc2 lib/crc: Remove ARCH_HAS_* kconfig symbols new 1a822ea52ad0 lib/crc: Explicitly include <linux/export.h> new 8c7c675155ce lib/crc: crc32: Document crc32_le(), crc32_be(), and crc32c() new a98e0d69d544 nvmem: layouts: Switch from crc32() to crc32_le() new 0b5a58c07816 lib/crc: crc32: Change crc32() from macro to inline functi [...] new 9b0236f4efb8 lib/crc: crc64: Add include/linux/crc64.h to kernel-api.rst new 110628e55a57 lib/crc: x86: Reorganize crc-pclmul static_call initialization new 118da22eb6fb lib/crc: x86/crc32c: Enable VPCLMULQDQ optimization where [...] new a578dd095dfe Merge tag 'crc-for-linus' of git://git.kernel.org/pub/scm/ [...] new e49a3eac9207 lib/crypto: Explicitly include <linux/export.h> new e0fca177556c crypto: sha512 - Rename conflicting symbols new b693c703accb lib/crypto: sha512: Add support for SHA-384 and SHA-512 new 23e8b4371dbd lib/crypto: sha512: Add HMAC-SHA384 and HMAC-SHA512 support new 485deceec039 crypto: riscv/sha512 - Stop depending on sha512_generic_block_fn new 469acaa12502 crypto: sha512 - Replace sha512_generic with wrapper aroun [...] new 4bc7f7b687a2 crypto: sha512 - Use same state format as legacy drivers new 24c91b62ac50 lib/crypto: arm/sha512: Migrate optimized SHA-512 code to library new 60e3f1e9b7a5 lib/crypto: arm64/sha512: Migrate optimized SHA-512 code t [...] new ecac3068ffc2 mips: cavium-octeon: Move octeon-crypto.h into asm directory new 7117739ad2b4 lib/crypto: mips/sha512: Migrate optimized SHA-512 code to [...] new b59059a22c5a lib/crypto: riscv/sha512: Migrate optimized SHA-512 code t [...] new b7b366087e0f lib/crypto: s390/sha512: Migrate optimized SHA-512 code to [...] new 02b35bab7e6c lib/crypto: sparc/sha512: Migrate optimized SHA-512 code t [...] new 484c18119f4f lib/crypto: x86/sha512: Migrate optimized SHA-512 code to library new 6486f2b0368d lib/crypto: x86/sha512: Remove unnecessary checks for nblocks==0 new 9b5c0d82b26d crypto: sha512 - Remove sha512_base.h new 4a32e5dc1dcf lib/crypto: arm: Move arch/arm/lib/crypto/ into lib/crypto/ new 61f86c70cf41 lib/crypto: arm64: Move arch/arm64/lib/crypto/ into lib/crypto/ new 7e54e993ab8c lib/crypto: mips: Move arch/mips/lib/crypto/ into lib/crypto/ new 676d45aba8c4 lib/crypto: powerpc: Move arch/powerpc/lib/crypto/ into li [...] new daed4fcf04db lib/crypto: riscv: Move arch/riscv/lib/crypto/ into lib/crypto/ new b8456f7aaf35 lib/crypto: s390: Move arch/s390/lib/crypto/ into lib/crypto/ new a32e93e10067 lib/crypto: sparc: Move arch/sparc/lib/crypto/ into lib/crypto/ new 74750aa78de3 lib/crypto: x86: Move arch/x86/lib/crypto/ into lib/crypto/ new a6d2f48b00f7 MAINTAINERS: Drop arch/*/lib/crypto/ pattern new 22375adaa0d9 lib/crypto: mips/chacha: Fix clang build and remove unneed [...] new 1cf5cdf8d2ae libceph: Rename hmac_sha256() to ceph_hmac_sha256() new 85de1929e17e cxl/test: Simplify fw_buf_checksum_show() new 3135d5be7c27 lib/crypto: sha256: Reorder some code new 9f97707bdb1e lib/crypto: sha256: Remove sha256_blocks_simd() new 6fa4b292204b lib/crypto: sha256: Add sha224() and sha224_update() new b86ced882b8e lib/crypto: sha256: Make library API use strongly-typed contexts new 4c855d5069ee lib/crypto: sha256: Propagate sha256_block_state type to i [...] new 077833cd6009 lib/crypto: sha256: Add HMAC-SHA224 and HMAC-SHA256 support new e0cd37169103 crypto: sha256 - Wrap library and add HMAC support new 07f090959bba crypto: sha256 - Use same state format as legacy drivers new 9f9846a72eec lib/crypto: sha256: Remove sha256_is_arch_optimized() new e96cb9507f2d lib/crypto: sha256: Consolidate into single module new 773d2b99bb76 lib/crypto: sha256: Sync sha256_update() with sha512_update() new b34c9803aabd lib/crypto: sha256: Document the SHA-224 and SHA-256 API new a8c60a9aca77 lib/crypto: x86/sha256: Move static_call above kernel-mode [...] new 57b15e9260a3 lib/crypto: x86/sha256: Remove unnecessary checks for nblocks==0 new aacb37f597d0 lib/crypto: hash_info: Move hash_info.c into lib/crypto/ new 52c3e242f4d0 lib/crypto: arm/poly1305: Fix register corruption in no-SI [...] new eec76ea5a721 lib/crypto: arm64/poly1305: Fix register corruption in no- [...] new 16f2c30e290e lib/crypto: x86/poly1305: Fix register corruption in no-SI [...] new 9f65592b7e1f lib/crypto: x86/poly1305: Fix performance regression on sh [...] new 6e07c5e16659 lib/crypto: arm/poly1305: Remove unneeded empty weak function new 7941ad696506 lib/crypto: sha2: Add hmac_sha*_init_usingrawkey() new 56119446f89f crypto: x86/sha1 - Rename conflicting symbol new 9503ca2ccafe lib/crypto: sha1: Rename sha1_init() to sha1_init_raw() new 90860aef630c lib/crypto: sha1: Add SHA-1 library functions new 4cbc84471bb6 lib/crypto: sha1: Add HMAC support new 8bc79ab67d78 crypto: sha1 - Wrap library and add HMAC support new b10a74abcfc5 crypto: sha1 - Use same state format as legacy drivers new 70cb6ca58fdd lib/crypto: arm/sha1: Migrate optimized code into library new 00d549bb89e4 lib/crypto: arm64/sha1: Migrate optimized code into library new b6ac1dac2f18 lib/crypto: mips/sha1: Migrate optimized code into library new 6b9ae8cfaa7a lib/crypto: powerpc/sha1: Migrate optimized code into library new 377982d5618a lib/crypto: s390/sha1: Migrate optimized code into library new c751059985e0 lib/crypto: sparc/sha1: Migrate optimized code into library new f3d6cb3dc039 lib/crypto: x86/sha1: Migrate optimized code into library new c76ed8790b30 crypto: sha1 - Remove sha1_base.h new f88ed14aa0ef lib/crypto: x86/sha1-ni: Minor optimizations and cleanup new 42e3376e0954 lib/crypto: x86/sha1-ni: Convert to use rounds macros new debc1e5a4317 lib/crypto: arm64/sha512-ce: Drop compatibility macros for [...] new 13150742b09e Merge tag 'libcrypto-updates-for-linus' of git://git.kerne [...] new 950a81224e8b lib/crypto: tests: Add hash-test-template.h and gen-hash-t [...] new 4dcf6caddaa0 lib/crypto: tests: Add KUnit tests for SHA-224 and SHA-256 new 571eaeddb67d lib/crypto: tests: Add KUnit tests for SHA-384 and SHA-512 new 6dd4d9f7919e lib/crypto: tests: Add KUnit tests for Poly1305 new 66b130607908 lib/crypto: tests: Add KUnit tests for SHA-1 and HMAC-SHA1 new 8cd876e78337 lib/crypto: tests: Annotate worker to be on stack new f2f573ebd42d Merge tag 'libcrypto-tests-for-linus' of git://git.kernel. [...] new f93c27092a5b apparmor: use SHA-256 library API instead of crypto_shash API new b309bf7c3e35 fsverity: Explicitly include <linux/export.h> new 998646b3c112 fsverity: Switch from crypto_shash to SHA-2 library new 4b65b859f55b Merge tag 'libcrypto-conversions-for-linus' of git://git.k [...] new c6a14b32c9ba fscrypt: Explicitly include <linux/export.h> new 66271c155d88 fscrypt: Drop obsolete recommendation to enable optimized SHA-512 new b41c1d8d0790 fscrypt: Don't use problematic non-inline crypto engines new 71ffd1dc5234 fscrypt: Don't use asynchronous CryptoAPI algorithms new 53d9218d8d38 fscrypt: Drop FORBID_WEAK_KEYS flag for AES-ECB new 52e7e0d88933 fscrypt: Switch to sync_skcipher and on-stack requests new a9a95ecd9d3a fscrypt: Remove gfp_t argument from fscrypt_crypt_data_unit() new 47462586f913 fscrypt: Remove gfp_t argument from fscrypt_encrypt_block_ [...] new fa65058063cb ceph: Remove gfp_t argument from ceph_fscrypt_encrypt_*() new 283564a43383 Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/ [...]
The 165 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: Documentation/admin-guide/sysctl/kernel.rst | 4 +- Documentation/arch/x86/x86_64/mm.rst | 2 +- Documentation/core-api/kernel-api.rst | 18 +- Documentation/filesystems/fscrypt.rst | 45 +- Documentation/filesystems/fsverity.rst | 3 +- Documentation/security/self-protection.rst | 2 +- .../zh_CN/security/self-protection.rst | 2 +- MAINTAINERS | 11 +- Makefile | 1 + arch/Kconfig | 4 +- arch/arc/kernel/ptrace.c | 4 +- arch/arm/Kconfig | 4 +- arch/arm/boot/compressed/Makefile | 2 +- arch/arm/configs/exynos_defconfig | 2 - arch/arm/configs/milbeaut_m10v_defconfig | 3 - arch/arm/configs/multi_v7_defconfig | 4 - arch/arm/configs/omap2plus_defconfig | 2 - arch/arm/configs/pxa_defconfig | 2 - arch/arm/crypto/Kconfig | 41 -- arch/arm/crypto/Makefile | 21 - arch/arm/crypto/sha1-ce-glue.c | 72 -- arch/arm/crypto/sha1_glue.c | 75 -- arch/arm/crypto/sha1_neon_glue.c | 83 --- arch/arm/crypto/sha512-glue.c | 110 --- arch/arm/crypto/sha512-neon-glue.c | 75 -- arch/arm/crypto/sha512.h | 3 - arch/arm/kernel/entry-common.S | 2 +- arch/arm/kernel/ptrace.c | 6 +- arch/arm/lib/.gitignore | 4 + arch/arm/lib/Makefile | 8 - arch/arm/lib/crypto/sha256.c | 64 -- arch/arm/mm/cache-feroceon-l2.c | 2 +- arch/arm/mm/cache-tauros2.c | 2 +- arch/arm/vdso/Makefile | 2 +- arch/arm64/Kconfig | 4 +- arch/arm64/configs/defconfig | 2 - arch/arm64/crypto/Kconfig | 30 - arch/arm64/crypto/Makefile | 17 - arch/arm64/crypto/sha1-ce-glue.c | 118 --- arch/arm64/crypto/sha512-ce-glue.c | 96 --- arch/arm64/crypto/sha512-glue.c | 83 --- arch/arm64/include/asm/acpi.h | 2 +- arch/arm64/kernel/entry.S | 2 +- arch/arm64/kernel/pi/Makefile | 2 +- arch/arm64/kernel/ptrace.c | 52 +- arch/arm64/kernel/vdso/Makefile | 3 +- arch/arm64/kvm/hyp/nvhe/Makefile | 2 +- arch/arm64/lib/.gitignore | 4 + arch/arm64/lib/Makefile | 9 - arch/arm64/lib/crypto/sha256.c | 75 -- arch/csky/kernel/ptrace.c | 4 +- arch/hexagon/kernel/ptrace.c | 2 +- arch/loongarch/Kconfig | 3 +- arch/loongarch/kernel/ptrace.c | 16 +- arch/loongarch/lib/Makefile | 2 - arch/m68k/kernel/ptrace.c | 4 +- arch/mips/Kconfig | 1 - arch/mips/cavium-octeon/Kconfig | 6 - arch/mips/cavium-octeon/crypto/Makefile | 3 - arch/mips/cavium-octeon/crypto/octeon-crypto.c | 3 +- arch/mips/cavium-octeon/crypto/octeon-md5.c | 3 +- arch/mips/cavium-octeon/crypto/octeon-sha1.c | 147 ---- arch/mips/cavium-octeon/crypto/octeon-sha512.c | 167 ----- arch/mips/configs/cavium_octeon_defconfig | 2 - arch/mips/crypto/Kconfig | 20 - .../asm/octeon/crypto.h} | 0 arch/mips/include/asm/time.h | 2 +- arch/mips/kernel/ptrace.c | 20 +- arch/mips/lib/.gitignore | 4 + arch/mips/lib/Makefile | 4 - arch/nios2/kernel/ptrace.c | 2 +- arch/openrisc/kernel/ptrace.c | 4 +- arch/parisc/kernel/ptrace.c | 8 +- arch/powerpc/Kconfig | 2 - arch/powerpc/configs/44x/akebono_defconfig | 1 - arch/powerpc/configs/powernv_defconfig | 1 - arch/powerpc/configs/ppc64_defconfig | 1 - arch/powerpc/crypto/Kconfig | 16 - arch/powerpc/crypto/Makefile | 4 - arch/powerpc/crypto/sha1-spe-glue.c | 107 --- arch/powerpc/crypto/sha1.c | 78 -- arch/powerpc/kernel/ptrace/ptrace-view.c | 74 +- arch/powerpc/lib/Makefile | 8 - arch/powerpc/mm/book3s64/hash_utils.c | 6 +- arch/powerpc/mm/book3s64/radix_pgtable.c | 4 +- arch/riscv/Kconfig | 5 +- arch/riscv/crypto/Kconfig | 11 - arch/riscv/crypto/Makefile | 3 - arch/riscv/crypto/sha512-riscv64-glue.c | 124 ---- arch/riscv/kernel/entry.S | 2 +- arch/riscv/kernel/pi/Makefile | 2 +- arch/riscv/kernel/ptrace.c | 12 +- arch/riscv/lib/Makefile | 7 - arch/riscv/lib/crypto/Kconfig | 16 - arch/riscv/lib/crypto/sha256.c | 67 -- arch/riscv/purgatory/Makefile | 2 +- arch/riscv/purgatory/purgatory.c | 8 +- arch/s390/Kconfig | 3 +- arch/s390/configs/debug_defconfig | 2 - arch/s390/configs/defconfig | 2 - arch/s390/crypto/Kconfig | 20 - arch/s390/crypto/Makefile | 2 - arch/s390/crypto/sha1_s390.c | 105 --- arch/s390/crypto/sha512_s390.c | 154 ---- arch/s390/hypfs/hypfs.h | 2 +- arch/s390/hypfs/hypfs_diag.h | 2 +- arch/s390/kernel/entry.S | 2 +- arch/s390/kernel/ptrace.c | 42 +- arch/s390/lib/Makefile | 4 - arch/s390/lib/crypto/sha256.c | 47 -- arch/s390/mm/init.c | 2 +- arch/s390/purgatory/purgatory.c | 2 +- arch/sh/kernel/ptrace_32.c | 4 +- arch/sparc/Kconfig | 1 - arch/sparc/crypto/Kconfig | 20 - arch/sparc/crypto/Makefile | 4 - arch/sparc/crypto/sha1_glue.c | 94 --- arch/sparc/crypto/sha512_glue.c | 122 ---- arch/sparc/kernel/ptrace_32.c | 4 +- arch/sparc/kernel/ptrace_64.c | 8 +- arch/sparc/lib/Makefile | 3 - arch/sparc/lib/crypto/Kconfig | 8 - arch/sparc/lib/crypto/Makefile | 4 - arch/sparc/vdso/Makefile | 3 +- arch/x86/Kconfig | 5 +- arch/x86/crypto/Kconfig | 27 - arch/x86/crypto/Makefile | 6 - arch/x86/crypto/sha1_ni_asm.S | 304 -------- arch/x86/crypto/sha1_ssse3_glue.c | 324 --------- arch/x86/crypto/sha512_ssse3_glue.c | 322 --------- arch/x86/entry/calling.h | 4 +- arch/x86/entry/vdso/Makefile | 3 +- arch/x86/include/asm/acpi.h | 4 +- arch/x86/include/asm/init.h | 2 +- arch/x86/include/asm/realmode.h | 2 +- arch/x86/kernel/kvm.c | 2 +- arch/x86/kernel/ptrace.c | 22 +- arch/x86/lib/.gitignore | 4 + arch/x86/lib/Makefile | 12 - arch/x86/lib/crc32.c | 111 --- arch/x86/lib/crypto/sha256.c | 80 --- arch/x86/mm/init_64.c | 2 +- arch/x86/purgatory/Makefile | 2 +- arch/x86/purgatory/purgatory.c | 2 +- arch/x86/um/ptrace.c | 10 +- arch/xtensa/kernel/ptrace.c | 4 +- crypto/Kconfig | 14 +- crypto/Makefile | 8 +- crypto/crc32.c | 65 +- crypto/crc32c.c | 66 +- crypto/sha1.c | 201 ++++++ crypto/sha1_generic.c | 87 --- crypto/sha256.c | 371 ++++++---- crypto/sha512.c | 354 +++++++++ crypto/sha512_generic.c | 217 ------ crypto/testmgr.c | 85 +-- drivers/acpi/nfit/intel.c | 119 ++- drivers/char/tpm/tpm2-sessions.c | 12 +- drivers/clocksource/timer-orion.c | 2 +- drivers/crypto/img-hash.c | 6 +- drivers/crypto/inside-secure/safexcel.c | 1 - drivers/crypto/inside-secure/safexcel.h | 1 - drivers/crypto/inside-secure/safexcel_hash.c | 92 +-- drivers/crypto/starfive/jh7110-hash.c | 16 +- drivers/crypto/stm32/Kconfig | 9 - drivers/crypto/stm32/Makefile | 1 - drivers/crypto/stm32/stm32-crc32.c | 480 ------------- drivers/firmware/efi/libstub/Makefile | 8 +- drivers/misc/lkdtm/Makefile | 2 +- drivers/misc/lkdtm/{stackleak.c => kstack_erase.c} | 26 +- drivers/mux/core.c | 7 +- drivers/nvmem/layouts/u-boot-env.c | 2 +- drivers/soc/ti/pm33xx.c | 2 +- fs/binfmt_elf.c | 38 +- fs/binfmt_elf_fdpic.c | 17 +- fs/btrfs/disk-io.c | 8 +- fs/ceph/crypto.c | 13 +- fs/ceph/crypto.h | 10 +- fs/ceph/file.c | 3 +- fs/ceph/inode.c | 3 +- fs/crypto/bio.c | 9 +- fs/crypto/crypto.c | 52 +- fs/crypto/fname.c | 69 +- fs/crypto/fscrypt_private.h | 23 +- fs/crypto/hkdf.c | 4 +- fs/crypto/hooks.c | 2 + fs/crypto/inline_crypt.c | 1 + fs/crypto/keyring.c | 5 +- fs/crypto/keysetup.c | 23 +- fs/crypto/keysetup_v1.c | 55 +- fs/crypto/policy.c | 4 +- fs/proc/base.c | 6 +- fs/ubifs/crypto.c | 2 +- fs/verity/Kconfig | 6 +- fs/verity/enable.c | 9 +- fs/verity/fsverity_private.h | 24 +- fs/verity/hash_algs.c | 194 ++--- fs/verity/measure.c | 1 + fs/verity/open.c | 37 +- fs/verity/read_metadata.c | 1 + fs/verity/verify.c | 8 +- include/crypto/internal/sha2.h | 66 -- include/crypto/sha1.h | 180 ++++- include/crypto/sha1_base.h | 82 --- include/crypto/sha2.h | 800 ++++++++++++++++++++- include/crypto/sha512_base.h | 120 ---- include/linux/acpi.h | 4 +- include/linux/bootconfig.h | 2 +- include/linux/crc-t10dif.h | 10 +- include/linux/crc32.h | 119 +-- include/linux/crc32poly.h | 16 +- include/linux/crc64.h | 22 +- include/linux/efi.h | 2 +- include/linux/fscrypt.h | 5 +- include/linux/init.h | 4 +- include/linux/{stackleak.h => kstack_erase.h} | 20 +- include/linux/memblock.h | 2 +- include/linux/mfd/dbx500-prcmu.h | 2 +- include/linux/mux/driver.h | 4 +- include/linux/regset.h | 12 +- include/linux/sched.h | 4 +- include/linux/sched/task_stack.h | 2 +- include/linux/smp.h | 2 +- include/linux/stddef.h | 20 + include/linux/string.h | 20 +- kernel/Makefile | 11 +- kernel/bpf/core.c | 2 +- kernel/configs/hardening.config | 6 + kernel/fork.c | 4 +- kernel/kexec_file.c | 10 +- kernel/kexec_handover.c | 4 +- kernel/{stackleak.c => kstack_erase.c} | 22 +- lib/Kconfig | 88 +-- lib/Kconfig.debug | 30 +- lib/Makefile | 34 +- lib/crc/.gitignore | 5 + lib/crc/Kconfig | 119 +++ lib/crc/Makefile | 63 ++ {arch/arm/lib => lib/crc/arm}/crc-t10dif-core.S | 0 .../lib/crc-t10dif.c => lib/crc/arm/crc-t10dif.h | 23 +- {arch/arm/lib => lib/crc/arm}/crc32-core.S | 0 arch/arm/lib/crc32.c => lib/crc/arm/crc32.h | 38 +- .../arm64/lib => lib/crc/arm64}/crc-t10dif-core.S | 0 .../lib/crc-t10dif.c => lib/crc/arm64/crc-t10dif.h | 22 +- {arch/arm64/lib => lib/crc/arm64}/crc32-core.S | 0 arch/arm64/lib/crc32.c => lib/crc/arm64/crc32.h | 19 +- lib/{ => crc}/crc-ccitt.c | 8 +- lib/{ => crc}/crc-itu-t.c | 5 +- lib/{crc-t10dif.c => crc/crc-t10dif-main.c} | 42 +- lib/{ => crc}/crc16.c | 5 +- lib/crc/crc32-main.c | 105 +++ lib/{ => crc}/crc4.c | 1 + lib/{crc64.c => crc/crc64-main.c} | 51 +- lib/{ => crc}/crc7.c | 5 +- lib/{ => crc}/crc8.c | 3 +- lib/{ => crc}/gen_crc32table.c | 4 +- lib/{ => crc}/gen_crc64table.c | 11 +- .../crc32-loongarch.c => lib/crc/loongarch/crc32.h | 33 +- arch/mips/lib/crc32-mips.c => lib/crc/mips/crc32.h | 33 +- .../crc-t10dif.c => lib/crc/powerpc/crc-t10dif.h | 20 +- .../lib => lib/crc/powerpc}/crc-vpmsum-template.S | 0 .../powerpc/lib/crc32.c => lib/crc/powerpc/crc32.h | 38 +- .../lib => lib/crc/powerpc}/crc32c-vpmsum_asm.S | 0 .../lib => lib/crc/powerpc}/crct10dif-vpmsum_asm.S | 0 .../riscv/lib => lib/crc/riscv}/crc-clmul-consts.h | 0 .../lib => lib/crc/riscv}/crc-clmul-template.h | 0 {arch/riscv/lib => lib/crc/riscv}/crc-clmul.h | 0 .../lib/crc-t10dif.c => lib/crc/riscv/crc-t10dif.h | 8 +- {arch/riscv/lib => lib/crc/riscv}/crc16_msb.c | 0 arch/riscv/lib/crc32.c => lib/crc/riscv/crc32.h | 17 +- {arch/riscv/lib => lib/crc/riscv}/crc32_lsb.c | 0 {arch/riscv/lib => lib/crc/riscv}/crc32_msb.c | 0 arch/riscv/lib/crc64.c => lib/crc/riscv/crc64.h | 11 +- {arch/riscv/lib => lib/crc/riscv}/crc64_lsb.c | 0 {arch/riscv/lib => lib/crc/riscv}/crc64_msb.c | 0 {arch/s390/lib => lib/crc/s390}/crc32-vx.h | 0 arch/s390/lib/crc32.c => lib/crc/s390/crc32.h | 16 +- {arch/s390/lib => lib/crc/s390}/crc32be-vx.c | 0 {arch/s390/lib => lib/crc/s390}/crc32le-vx.c | 0 arch/sparc/lib/crc32.c => lib/crc/sparc/crc32.h | 42 +- {arch/sparc/lib => lib/crc/sparc}/crc32c_asm.S | 0 lib/crc/tests/Makefile | 2 + lib/{ => crc}/tests/crc_kunit.c | 39 +- {arch/x86/lib => lib/crc/x86}/crc-pclmul-consts.h | 47 +- .../x86/lib => lib/crc/x86}/crc-pclmul-template.S | 7 - .../x86/lib => lib/crc/x86}/crc-pclmul-template.h | 32 +- .../lib/crc-t10dif.c => lib/crc/x86/crc-t10dif.h | 27 +- {arch/x86/lib => lib/crc/x86}/crc16-msb-pclmul.S | 0 {arch/x86/lib => lib/crc/x86}/crc32-pclmul.S | 0 lib/crc/x86/crc32.h | 137 ++++ {arch/x86/lib => lib/crc/x86}/crc32c-3way.S | 0 {arch/x86/lib => lib/crc/x86}/crc64-pclmul.S | 0 arch/x86/lib/crc64.c => lib/crc/x86/crc64.h | 36 +- lib/crc32.c | 126 ---- lib/crypto/Kconfig | 79 +- lib/crypto/Makefile | 109 ++- lib/crypto/aes.c | 1 + lib/crypto/aescfb.c | 7 +- lib/crypto/aesgcm.c | 5 +- lib/crypto/arc4.c | 1 + {arch/arm/lib/crypto => lib/crypto/arm}/.gitignore | 1 + {arch/arm/lib/crypto => lib/crypto/arm}/Kconfig | 7 - {arch/arm/lib/crypto => lib/crypto/arm}/Makefile | 8 +- .../lib/crypto => lib/crypto/arm}/blake2s-core.S | 0 .../lib/crypto => lib/crypto/arm}/blake2s-glue.c | 0 .../lib/crypto => lib/crypto/arm}/chacha-glue.c | 0 .../crypto => lib/crypto/arm}/chacha-neon-core.S | 0 .../crypto => lib/crypto/arm}/chacha-scalar-core.S | 0 .../crypto => lib/crypto/arm}/poly1305-armv4.pl | 2 +- .../lib/crypto => lib/crypto/arm}/poly1305-glue.c | 8 +- .../crypto => lib/crypto/arm}/sha1-armv4-large.S | 0 .../crypto => lib/crypto/arm}/sha1-armv7-neon.S | 13 +- {arch/arm/crypto => lib/crypto/arm}/sha1-ce-core.S | 4 +- lib/crypto/arm/sha1.h | 46 ++ .../lib/crypto => lib/crypto/arm}/sha256-armv4.pl | 20 +- .../arm/lib/crypto => lib/crypto/arm}/sha256-ce.S | 2 +- lib/crypto/arm/sha256.h | 46 ++ .../arm/crypto => lib/crypto/arm}/sha512-armv4.pl | 0 lib/crypto/arm/sha512.h | 38 + .../lib/crypto => lib/crypto/arm64}/.gitignore | 1 + .../arm64/lib/crypto => lib/crypto/arm64}/Kconfig | 6 - .../arm64/lib/crypto => lib/crypto/arm64}/Makefile | 9 +- .../crypto => lib/crypto/arm64}/chacha-neon-core.S | 0 .../crypto => lib/crypto/arm64}/chacha-neon-glue.c | 0 .../crypto => lib/crypto/arm64}/poly1305-armv8.pl | 0 .../crypto => lib/crypto/arm64}/poly1305-glue.c | 3 +- .../crypto => lib/crypto/arm64}/sha1-ce-core.S | 40 +- lib/crypto/arm64/sha1.h | 39 + .../lib/crypto => lib/crypto/arm64}/sha2-armv8.pl | 2 +- .../lib/crypto => lib/crypto/arm64}/sha256-ce.S | 2 +- lib/crypto/arm64/sha256.h | 57 ++ .../crypto => lib/crypto/arm64}/sha512-ce-core.S | 41 +- lib/crypto/arm64/sha512.h | 46 ++ lib/crypto/blake2s-generic.c | 9 +- lib/crypto/blake2s.c | 9 +- lib/crypto/chacha.c | 6 +- lib/crypto/chacha20poly1305.c | 8 +- lib/crypto/curve25519-generic.c | 1 + lib/crypto/des.c | 7 +- lib/crypto/gf128mul.c | 1 + {crypto => lib/crypto}/hash_info.c | 0 lib/crypto/libchacha.c | 7 +- lib/crypto/memneq.c | 3 +- .../mips/lib/crypto => lib/crypto/mips}/.gitignore | 0 {arch/mips/lib/crypto => lib/crypto/mips}/Kconfig | 0 {arch/mips/lib/crypto => lib/crypto/mips}/Makefile | 0 .../lib/crypto => lib/crypto/mips}/chacha-core.S | 20 +- .../lib/crypto => lib/crypto/mips}/chacha-glue.c | 0 .../lib/crypto => lib/crypto/mips}/poly1305-glue.c | 0 .../crypto => lib/crypto/mips}/poly1305-mips.pl | 0 lib/crypto/mips/sha1.h | 81 +++ .../octeon-sha256.c => lib/crypto/mips/sha256.h | 23 +- lib/crypto/mips/sha512.h | 74 ++ lib/crypto/mpi/mpi-add.c | 2 + lib/crypto/mpi/mpi-bit.c | 2 + lib/crypto/mpi/mpi-cmp.c | 2 + lib/crypto/mpi/mpi-mul.c | 2 + lib/crypto/mpi/mpi-pow.c | 2 + lib/crypto/mpi/mpi-sub-ui.c | 2 + lib/crypto/mpi/mpicoder.c | 3 +- lib/crypto/mpi/mpiutil.c | 2 + lib/crypto/poly1305-donna32.c | 3 +- lib/crypto/poly1305-donna64.c | 3 +- lib/crypto/poly1305-generic.c | 1 + lib/crypto/poly1305.c | 1 + .../lib/crypto => lib/crypto/powerpc}/Kconfig | 6 - .../lib/crypto => lib/crypto/powerpc}/Makefile | 3 - .../crypto/powerpc}/chacha-p10-glue.c | 0 .../crypto/powerpc}/chacha-p10le-8x.S | 0 .../crypto/powerpc}/poly1305-p10-glue.c | 0 .../crypto/powerpc}/poly1305-p10le_64.S | 0 .../crypto/powerpc}/sha1-powerpc-asm.S | 0 .../crypto => lib/crypto/powerpc}/sha1-spe-asm.S | 0 lib/crypto/powerpc/sha1.h | 67 ++ .../crypto => lib/crypto/powerpc}/sha256-spe-asm.S | 0 .../crypto/sha256.c => lib/crypto/powerpc/sha256.h | 22 +- lib/crypto/riscv/Kconfig | 8 + .../riscv/lib/crypto => lib/crypto/riscv}/Makefile | 3 - .../crypto/riscv}/chacha-riscv64-glue.c | 0 .../crypto/riscv}/chacha-riscv64-zvkb.S | 0 .../riscv}/sha256-riscv64-zvknha_or_zvknhb-zvkb.S | 2 +- lib/crypto/riscv/sha256.h | 42 ++ .../crypto/riscv}/sha512-riscv64-zvknhb-zvkb.S | 4 +- lib/crypto/riscv/sha512.h | 41 ++ {arch/s390/lib/crypto => lib/crypto/s390}/Kconfig | 6 - {arch/s390/lib/crypto => lib/crypto/s390}/Makefile | 3 - .../lib/crypto => lib/crypto/s390}/chacha-glue.c | 0 .../lib/crypto => lib/crypto/s390}/chacha-s390.S | 0 .../lib/crypto => lib/crypto/s390}/chacha-s390.h | 0 lib/crypto/s390/sha1.h | 28 + lib/crypto/s390/sha256.h | 28 + lib/crypto/s390/sha512.h | 28 + lib/crypto/sha1.c | 229 +++++- lib/crypto/sha256-generic.c | 137 ---- lib/crypto/sha256.c | 433 +++++++++-- lib/crypto/sha512.c | 423 +++++++++++ lib/crypto/sm3.c | 1 + lib/crypto/sparc/sha1.h | 43 ++ {arch/sparc/crypto => lib/crypto/sparc}/sha1_asm.S | 0 .../crypto/sha256.c => lib/crypto/sparc/sha256.h | 37 +- .../lib/crypto => lib/crypto/sparc}/sha256_asm.S | 0 lib/crypto/sparc/sha512.h | 42 ++ .../sparc/crypto => lib/crypto/sparc}/sha512_asm.S | 0 lib/crypto/tests/Kconfig | 60 ++ lib/crypto/tests/Makefile | 6 + lib/crypto/tests/hash-test-template.h | 683 ++++++++++++++++++ lib/crypto/tests/poly1305-testvecs.h | 186 +++++ lib/crypto/tests/poly1305_kunit.c | 165 +++++ lib/crypto/tests/sha1-testvecs.h | 212 ++++++ lib/crypto/tests/sha1_kunit.c | 39 + lib/crypto/tests/sha224-testvecs.h | 238 ++++++ lib/crypto/tests/sha224_kunit.c | 39 + lib/crypto/tests/sha256-testvecs.h | 238 ++++++ lib/crypto/tests/sha256_kunit.c | 39 + lib/crypto/tests/sha384-testvecs.h | 290 ++++++++ lib/crypto/tests/sha384_kunit.c | 39 + lib/crypto/tests/sha512-testvecs.h | 342 +++++++++ lib/crypto/tests/sha512_kunit.c | 39 + lib/crypto/utils.c | 3 +- {arch/x86/lib/crypto => lib/crypto/x86}/.gitignore | 0 {arch/x86/lib/crypto => lib/crypto/x86}/Kconfig | 8 - {arch/x86/lib/crypto => lib/crypto/x86}/Makefile | 3 - .../lib/crypto => lib/crypto/x86}/blake2s-core.S | 0 .../lib/crypto => lib/crypto/x86}/blake2s-glue.c | 0 .../crypto => lib/crypto/x86}/chacha-avx2-x86_64.S | 0 .../crypto/x86}/chacha-avx512vl-x86_64.S | 0 .../crypto/x86}/chacha-ssse3-x86_64.S | 0 .../lib/crypto => lib/crypto/x86}/chacha_glue.c | 0 .../crypto/x86}/poly1305-x86_64-cryptogams.pl | 0 .../lib/crypto => lib/crypto/x86}/poly1305_glue.c | 48 +- .../crypto/x86/sha1-avx2-asm.S | 7 +- lib/crypto/x86/sha1-ni-asm.S | 152 ++++ .../crypto/x86/sha1-ssse3-and-avx.S | 13 +- lib/crypto/x86/sha1.h | 74 ++ .../lib/crypto => lib/crypto/x86}/sha256-avx-asm.S | 8 +- .../crypto => lib/crypto/x86}/sha256-avx2-asm.S | 6 +- .../lib/crypto => lib/crypto/x86}/sha256-ni-asm.S | 7 +- .../crypto => lib/crypto/x86}/sha256-ssse3-asm.S | 8 +- lib/crypto/x86/sha256.h | 57 ++ .../x86/crypto => lib/crypto/x86}/sha512-avx-asm.S | 11 +- .../crypto => lib/crypto/x86}/sha512-avx2-asm.S | 12 +- .../crypto => lib/crypto/x86}/sha512-ssse3-asm.S | 14 +- lib/crypto/x86/sha512.h | 54 ++ lib/tests/Makefile | 2 +- lib/tests/fortify_kunit.c | 4 +- lib/tests/seq_buf_kunit.c | 208 ++++++ net/ceph/messenger_v2.c | 12 +- net/ipv6/addrconf.c | 2 +- scripts/Makefile.gcc-plugins | 16 +- scripts/Makefile.kstack_erase | 21 + scripts/crypto/gen-hash-testvecs.py | 147 ++++ scripts/gcc-plugins/stackleak_plugin.c | 52 +- security/Kconfig.hardening | 45 +- security/apparmor/Kconfig | 3 +- security/apparmor/crypto.c | 85 +-- tools/objtool/check.c | 4 +- tools/testing/cxl/test/mem.c | 21 +- tools/testing/selftests/lkdtm/config | 2 +- 458 files changed, 8830 insertions(+), 7353 deletions(-) delete mode 100644 arch/arm/crypto/sha1-ce-glue.c delete mode 100644 arch/arm/crypto/sha1_glue.c delete mode 100644 arch/arm/crypto/sha1_neon_glue.c delete mode 100644 arch/arm/crypto/sha512-glue.c delete mode 100644 arch/arm/crypto/sha512-neon-glue.c delete mode 100644 arch/arm/crypto/sha512.h create mode 100644 arch/arm/lib/.gitignore delete mode 100644 arch/arm/lib/crypto/sha256.c delete mode 100644 arch/arm64/crypto/sha1-ce-glue.c delete mode 100644 arch/arm64/crypto/sha512-ce-glue.c delete mode 100644 arch/arm64/crypto/sha512-glue.c create mode 100644 arch/arm64/lib/.gitignore delete mode 100644 arch/arm64/lib/crypto/sha256.c delete mode 100644 arch/mips/cavium-octeon/crypto/octeon-sha1.c delete mode 100644 arch/mips/cavium-octeon/crypto/octeon-sha512.c rename arch/mips/{cavium-octeon/crypto/octeon-crypto.h => include/asm/octeon/crypt [...] create mode 100644 arch/mips/lib/.gitignore delete mode 100644 arch/powerpc/crypto/sha1-spe-glue.c delete mode 100644 arch/powerpc/crypto/sha1.c delete mode 100644 arch/riscv/crypto/sha512-riscv64-glue.c delete mode 100644 arch/riscv/lib/crypto/Kconfig delete mode 100644 arch/riscv/lib/crypto/sha256.c delete mode 100644 arch/s390/crypto/sha1_s390.c delete mode 100644 arch/s390/crypto/sha512_s390.c delete mode 100644 arch/s390/lib/crypto/sha256.c delete mode 100644 arch/sparc/crypto/sha1_glue.c delete mode 100644 arch/sparc/crypto/sha512_glue.c delete mode 100644 arch/sparc/lib/crypto/Kconfig delete mode 100644 arch/sparc/lib/crypto/Makefile delete mode 100644 arch/x86/crypto/sha1_ni_asm.S delete mode 100644 arch/x86/crypto/sha1_ssse3_glue.c delete mode 100644 arch/x86/crypto/sha512_ssse3_glue.c delete mode 100644 arch/x86/lib/crc32.c delete mode 100644 arch/x86/lib/crypto/sha256.c create mode 100644 crypto/sha1.c delete mode 100644 crypto/sha1_generic.c create mode 100644 crypto/sha512.c delete mode 100644 crypto/sha512_generic.c delete mode 100644 drivers/crypto/stm32/stm32-crc32.c rename drivers/misc/lkdtm/{stackleak.c => kstack_erase.c} (89%) delete mode 100644 include/crypto/internal/sha2.h delete mode 100644 include/crypto/sha1_base.h delete mode 100644 include/crypto/sha512_base.h rename include/linux/{stackleak.h => kstack_erase.h} (81%) rename kernel/{stackleak.c => kstack_erase.c} (87%) create mode 100644 lib/crc/.gitignore create mode 100644 lib/crc/Kconfig create mode 100644 lib/crc/Makefile rename {arch/arm/lib => lib/crc/arm}/crc-t10dif-core.S (100%) rename arch/arm/lib/crc-t10dif.c => lib/crc/arm/crc-t10dif.h (70%) rename {arch/arm/lib => lib/crc/arm}/crc32-core.S (100%) rename arch/arm/lib/crc32.c => lib/crc/arm/crc32.h (69%) rename {arch/arm64/lib => lib/crc/arm64}/crc-t10dif-core.S (100%) rename arch/arm64/lib/crc-t10dif.c => lib/crc/arm64/crc-t10dif.h (70%) rename {arch/arm64/lib => lib/crc/arm64}/crc32-core.S (100%) rename arch/arm64/lib/crc32.c => lib/crc/arm64/crc32.h (81%) rename lib/{ => crc}/crc-ccitt.c (98%) rename lib/{ => crc}/crc-itu-t.c (99%) rename lib/{crc-t10dif.c => crc/crc-t10dif-main.c} (77%) rename lib/{ => crc}/crc16.c (99%) create mode 100644 lib/crc/crc32-main.c rename lib/{ => crc}/crc4.c (97%) rename lib/{crc64.c => crc/crc64-main.c} (66%) rename lib/{ => crc}/crc7.c (98%) rename lib/{ => crc}/crc8.c (98%) rename lib/{ => crc}/gen_crc32table.c (95%) rename lib/{ => crc}/gen_crc64table.c (81%) rename arch/loongarch/lib/crc32-loongarch.c => lib/crc/loongarch/crc32.h (71%) rename arch/mips/lib/crc32-mips.c => lib/crc/mips/crc32.h (82%) rename arch/powerpc/lib/crc-t10dif.c => lib/crc/powerpc/crc-t10dif.h (75%) rename {arch/powerpc/lib => lib/crc/powerpc}/crc-vpmsum-template.S (100%) rename arch/powerpc/lib/crc32.c => lib/crc/powerpc/crc32.h (64%) rename {arch/powerpc/lib => lib/crc/powerpc}/crc32c-vpmsum_asm.S (100%) rename {arch/powerpc/lib => lib/crc/powerpc}/crct10dif-vpmsum_asm.S (100%) rename {arch/riscv/lib => lib/crc/riscv}/crc-clmul-consts.h (100%) rename {arch/riscv/lib => lib/crc/riscv}/crc-clmul-template.h (100%) rename {arch/riscv/lib => lib/crc/riscv}/crc-clmul.h (100%) rename arch/riscv/lib/crc-t10dif.c => lib/crc/riscv/crc-t10dif.h (62%) rename {arch/riscv/lib => lib/crc/riscv}/crc16_msb.c (100%) rename arch/riscv/lib/crc32.c => lib/crc/riscv/crc32.h (66%) rename {arch/riscv/lib => lib/crc/riscv}/crc32_lsb.c (100%) rename {arch/riscv/lib => lib/crc/riscv}/crc32_msb.c (100%) rename arch/riscv/lib/crc64.c => lib/crc/riscv/crc64.h (65%) rename {arch/riscv/lib => lib/crc/riscv}/crc64_lsb.c (100%) rename {arch/riscv/lib => lib/crc/riscv}/crc64_msb.c (100%) rename {arch/s390/lib => lib/crc/s390}/crc32-vx.h (100%) rename arch/s390/lib/crc32.c => lib/crc/s390/crc32.h (81%) rename {arch/s390/lib => lib/crc/s390}/crc32be-vx.c (100%) rename {arch/s390/lib => lib/crc/s390}/crc32le-vx.c (100%) rename arch/sparc/lib/crc32.c => lib/crc/sparc/crc32.h (60%) rename {arch/sparc/lib => lib/crc/sparc}/crc32c_asm.S (100%) create mode 100644 lib/crc/tests/Makefile rename lib/{ => crc}/tests/crc_kunit.c (89%) rename {arch/x86/lib => lib/crc/x86}/crc-pclmul-consts.h (80%) rename {arch/x86/lib => lib/crc/x86}/crc-pclmul-template.S (98%) rename {arch/x86/lib => lib/crc/x86}/crc-pclmul-template.h (77%) rename arch/x86/lib/crc-t10dif.c => lib/crc/x86/crc-t10dif.h (52%) rename {arch/x86/lib => lib/crc/x86}/crc16-msb-pclmul.S (100%) rename {arch/x86/lib => lib/crc/x86}/crc32-pclmul.S (100%) create mode 100644 lib/crc/x86/crc32.h rename {arch/x86/lib => lib/crc/x86}/crc32c-3way.S (100%) rename {arch/x86/lib => lib/crc/x86}/crc64-pclmul.S (100%) rename arch/x86/lib/crc64.c => lib/crc/x86/crc64.h (53%) delete mode 100644 lib/crc32.c rename {arch/arm/lib/crypto => lib/crypto/arm}/.gitignore (83%) rename {arch/arm/lib/crypto => lib/crypto/arm}/Kconfig (79%) rename {arch/arm/lib/crypto => lib/crypto/arm}/Makefile (80%) rename {arch/arm/lib/crypto => lib/crypto/arm}/blake2s-core.S (100%) rename {arch/arm/lib/crypto => lib/crypto/arm}/blake2s-glue.c (100%) rename {arch/arm/lib/crypto => lib/crypto/arm}/chacha-glue.c (100%) rename {arch/arm/lib/crypto => lib/crypto/arm}/chacha-neon-core.S (100%) rename {arch/arm/lib/crypto => lib/crypto/arm}/chacha-scalar-core.S (100%) rename {arch/arm/lib/crypto => lib/crypto/arm}/poly1305-armv4.pl (100%) rename {arch/arm/lib/crypto => lib/crypto/arm}/poly1305-glue.c (93%) rename {arch/arm/crypto => lib/crypto/arm}/sha1-armv4-large.S (100%) rename {arch/arm/crypto => lib/crypto/arm}/sha1-armv7-neon.S (98%) rename {arch/arm/crypto => lib/crypto/arm}/sha1-ce-core.S (96%) create mode 100644 lib/crypto/arm/sha1.h rename {arch/arm/lib/crypto => lib/crypto/arm}/sha256-armv4.pl (97%) rename {arch/arm/lib/crypto => lib/crypto/arm}/sha256-ce.S (97%) create mode 100644 lib/crypto/arm/sha256.h rename {arch/arm/crypto => lib/crypto/arm}/sha512-armv4.pl (100%) create mode 100644 lib/crypto/arm/sha512.h rename {arch/arm64/lib/crypto => lib/crypto/arm64}/.gitignore (83%) rename {arch/arm64/lib/crypto => lib/crypto/arm64}/Kconfig (70%) rename {arch/arm64/lib/crypto => lib/crypto/arm64}/Makefile (66%) rename {arch/arm64/lib/crypto => lib/crypto/arm64}/chacha-neon-core.S (100%) rename {arch/arm64/lib/crypto => lib/crypto/arm64}/chacha-neon-glue.c (100%) rename {arch/arm64/lib/crypto => lib/crypto/arm64}/poly1305-armv8.pl (100%) rename {arch/arm64/lib/crypto => lib/crypto/arm64}/poly1305-glue.c (95%) rename {arch/arm64/crypto => lib/crypto/arm64}/sha1-ce-core.S (76%) create mode 100644 lib/crypto/arm64/sha1.h rename {arch/arm64/lib/crypto => lib/crypto/arm64}/sha2-armv8.pl (99%) rename {arch/arm64/lib/crypto => lib/crypto/arm64}/sha256-ce.S (98%) create mode 100644 lib/crypto/arm64/sha256.h rename {arch/arm64/crypto => lib/crypto/arm64}/sha512-ce-core.S (88%) create mode 100644 lib/crypto/arm64/sha512.h rename {crypto => lib/crypto}/hash_info.c (100%) rename {arch/mips/lib/crypto => lib/crypto/mips}/.gitignore (100%) rename {arch/mips/lib/crypto => lib/crypto/mips}/Kconfig (100%) rename {arch/mips/lib/crypto => lib/crypto/mips}/Makefile (100%) rename {arch/mips/lib/crypto => lib/crypto/mips}/chacha-core.S (97%) rename {arch/mips/lib/crypto => lib/crypto/mips}/chacha-glue.c (100%) rename {arch/mips/lib/crypto => lib/crypto/mips}/poly1305-glue.c (100%) rename {arch/mips/lib/crypto => lib/crypto/mips}/poly1305-mips.pl (100%) create mode 100644 lib/crypto/mips/sha1.h rename arch/mips/cavium-octeon/crypto/octeon-sha256.c => lib/crypto/mips/sha256.h (74%) create mode 100644 lib/crypto/mips/sha512.h rename {arch/powerpc/lib/crypto => lib/crypto/powerpc}/Kconfig (79%) rename {arch/powerpc/lib/crypto => lib/crypto/powerpc}/Makefile (73%) rename {arch/powerpc/lib/crypto => lib/crypto/powerpc}/chacha-p10-glue.c (100%) rename {arch/powerpc/lib/crypto => lib/crypto/powerpc}/chacha-p10le-8x.S (100%) rename {arch/powerpc/lib/crypto => lib/crypto/powerpc}/poly1305-p10-glue.c (100%) rename {arch/powerpc/lib/crypto => lib/crypto/powerpc}/poly1305-p10le_64.S (100%) rename {arch/powerpc/crypto => lib/crypto/powerpc}/sha1-powerpc-asm.S (100%) rename {arch/powerpc/crypto => lib/crypto/powerpc}/sha1-spe-asm.S (100%) create mode 100644 lib/crypto/powerpc/sha1.h rename {arch/powerpc/lib/crypto => lib/crypto/powerpc}/sha256-spe-asm.S (100%) rename arch/powerpc/lib/crypto/sha256.c => lib/crypto/powerpc/sha256.h (72%) create mode 100644 lib/crypto/riscv/Kconfig rename {arch/riscv/lib/crypto => lib/crypto/riscv}/Makefile (56%) rename {arch/riscv/lib/crypto => lib/crypto/riscv}/chacha-riscv64-glue.c (100%) rename {arch/riscv/lib/crypto => lib/crypto/riscv}/chacha-riscv64-zvkb.S (100%) rename {arch/riscv/lib/crypto => lib/crypto/riscv}/sha256-riscv64-zvknha_or_zvknhb [...] create mode 100644 lib/crypto/riscv/sha256.h rename {arch/riscv/crypto => lib/crypto/riscv}/sha512-riscv64-zvknhb-zvkb.S (98%) create mode 100644 lib/crypto/riscv/sha512.h rename {arch/s390/lib/crypto => lib/crypto/s390}/Kconfig (56%) rename {arch/s390/lib/crypto => lib/crypto/s390}/Makefile (63%) rename {arch/s390/lib/crypto => lib/crypto/s390}/chacha-glue.c (100%) rename {arch/s390/lib/crypto => lib/crypto/s390}/chacha-s390.S (100%) rename {arch/s390/lib/crypto => lib/crypto/s390}/chacha-s390.h (100%) create mode 100644 lib/crypto/s390/sha1.h create mode 100644 lib/crypto/s390/sha256.h create mode 100644 lib/crypto/s390/sha512.h delete mode 100644 lib/crypto/sha256-generic.c create mode 100644 lib/crypto/sha512.c create mode 100644 lib/crypto/sparc/sha1.h rename {arch/sparc/crypto => lib/crypto/sparc}/sha1_asm.S (100%) rename arch/sparc/lib/crypto/sha256.c => lib/crypto/sparc/sha256.h (53%) rename {arch/sparc/lib/crypto => lib/crypto/sparc}/sha256_asm.S (100%) create mode 100644 lib/crypto/sparc/sha512.h rename {arch/sparc/crypto => lib/crypto/sparc}/sha512_asm.S (100%) create mode 100644 lib/crypto/tests/Kconfig create mode 100644 lib/crypto/tests/Makefile create mode 100644 lib/crypto/tests/hash-test-template.h create mode 100644 lib/crypto/tests/poly1305-testvecs.h create mode 100644 lib/crypto/tests/poly1305_kunit.c create mode 100644 lib/crypto/tests/sha1-testvecs.h create mode 100644 lib/crypto/tests/sha1_kunit.c create mode 100644 lib/crypto/tests/sha224-testvecs.h create mode 100644 lib/crypto/tests/sha224_kunit.c create mode 100644 lib/crypto/tests/sha256-testvecs.h create mode 100644 lib/crypto/tests/sha256_kunit.c create mode 100644 lib/crypto/tests/sha384-testvecs.h create mode 100644 lib/crypto/tests/sha384_kunit.c create mode 100644 lib/crypto/tests/sha512-testvecs.h create mode 100644 lib/crypto/tests/sha512_kunit.c rename {arch/x86/lib/crypto => lib/crypto/x86}/.gitignore (100%) rename {arch/x86/lib/crypto => lib/crypto/x86}/Kconfig (76%) rename {arch/x86/lib/crypto => lib/crypto/x86}/Makefile (79%) rename {arch/x86/lib/crypto => lib/crypto/x86}/blake2s-core.S (100%) rename {arch/x86/lib/crypto => lib/crypto/x86}/blake2s-glue.c (100%) rename {arch/x86/lib/crypto => lib/crypto/x86}/chacha-avx2-x86_64.S (100%) rename {arch/x86/lib/crypto => lib/crypto/x86}/chacha-avx512vl-x86_64.S (100%) rename {arch/x86/lib/crypto => lib/crypto/x86}/chacha-ssse3-x86_64.S (100%) rename {arch/x86/lib/crypto => lib/crypto/x86}/chacha_glue.c (100%) rename {arch/x86/lib/crypto => lib/crypto/x86}/poly1305-x86_64-cryptogams.pl (100%) rename {arch/x86/lib/crypto => lib/crypto/x86}/poly1305_glue.c (65%) rename arch/x86/crypto/sha1_avx2_x86_64_asm.S => lib/crypto/x86/sha1-avx2-asm.S (98%) create mode 100644 lib/crypto/x86/sha1-ni-asm.S rename arch/x86/crypto/sha1_ssse3_asm.S => lib/crypto/x86/sha1-ssse3-and-avx.S (97%) create mode 100644 lib/crypto/x86/sha1.h rename {arch/x86/lib/crypto => lib/crypto/x86}/sha256-avx-asm.S (98%) rename {arch/x86/lib/crypto => lib/crypto/x86}/sha256-avx2-asm.S (99%) rename {arch/x86/lib/crypto => lib/crypto/x86}/sha256-ni-asm.S (97%) rename {arch/x86/lib/crypto => lib/crypto/x86}/sha256-ssse3-asm.S (98%) create mode 100644 lib/crypto/x86/sha256.h rename {arch/x86/crypto => lib/crypto/x86}/sha512-avx-asm.S (98%) rename {arch/x86/crypto => lib/crypto/x86}/sha512-avx2-asm.S (99%) rename {arch/x86/crypto => lib/crypto/x86}/sha512-ssse3-asm.S (97%) create mode 100644 lib/crypto/x86/sha512.h create mode 100644 lib/tests/seq_buf_kunit.c create mode 100644 scripts/Makefile.kstack_erase create mode 100755 scripts/crypto/gen-hash-testvecs.py