summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-06-15 18:06:54 -0700
committerEric Biggers <ebiggers@google.com>2025-06-16 12:51:34 -0700
commit9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319 (patch)
treec74754207990308930f282a5c7b5b624758b47de /rust/helpers/helpers.c
parent2f13daee2a72bb962f5fd356c3a263a6f16da965 (diff)
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: a59e5468a921 ("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>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions