linux-kernelorg-stable/arch/arm64/lib
Eric Biggers 9d4204a810 lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch()
For some reason arm64's Poly1305 code got changed to ignore the padbit
argument.  As a result, the output is incorrect when the message length
is not a multiple of 16 (which is not reached with the standard
ChaCha20Poly1305, but bcachefs could reach this).  Fix this.

Fixes: a59e5468a9 ("crypto: arm64/poly1305 - Add block-only interface")
Reported-by: Kent Overstreet <kent.overstreet@linux.dev>
Tested-by: Kent Overstreet <kent.overstreet@linux.dev>
Link: https://lore.kernel.org/r/20250616010654.367302-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
2025-06-16 12:51:34 -07:00
..
crypto lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch() 2025-06-16 12:51:34 -07:00
Makefile This update includes the following changes: 2025-05-26 13:47:28 -07:00
clear_page.S arm64: lib: Use MOPS for copy_page() and clear_page() 2024-10-17 16:42:51 +01:00
clear_user.S arm64: lib: Use MOPS for usercopy routines 2025-03-07 18:30:16 +00:00
copy_from_user.S arm64: lib: Use MOPS for usercopy routines 2025-03-07 18:30:16 +00:00
copy_page.S arm64: lib: Use MOPS for copy_page() and clear_page() 2024-10-17 16:42:51 +01:00
copy_template.S arm64: lib: Use MOPS for usercopy routines 2025-03-07 18:30:16 +00:00
copy_to_user.S arm64: lib: Use MOPS for usercopy routines 2025-03-07 18:30:16 +00:00
crc-t10dif-core.S arm64/crc-t10dif: expose CRC-T10DIF function through lib 2024-12-01 17:23:13 -08:00
crc-t10dif.c lib/crc: make arch-optimized code use subsys_initcall 2025-05-09 21:02:37 -07:00
crc32-core.S arm64/crc: drop "glue" from filenames 2025-04-28 09:07:19 -07:00
crc32.c arm64/crc: drop "glue" from filenames 2025-04-28 09:07:19 -07:00
csum.c
delay.c arm64: Avoid cpus_have_const_cap() for ARM64_HAS_WFXT 2023-10-16 14:17:05 +01:00
error-inject.c
insn.c arm64: insn: Add support for encoding DSB 2025-05-08 15:28:29 +01:00
kasan_sw_tags.S
memchr.S
memcmp.S
memcpy.S arm64: lib: Use MOPS for memcpy() routines 2024-10-17 16:42:51 +01:00
memset.S arm64: lib: Use MOPS for memcpy() routines 2024-10-17 16:42:51 +01:00
mte.S
strchr.S
strcmp.S
strlen.S
strncmp.S
strnlen.S
strrchr.S
tishift.S
uaccess_flushcache.c
xor-neon.c arm64: drop binutils version checks 2025-04-30 21:55:06 +02:00