diff options
| author | Eric Biggers <[email protected]> | 2025-06-16 01:06:54 +0000 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2025-06-16 19:51:34 +0000 |
| commit | 9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319 (patch) | |
| tree | c74754207990308930f282a5c7b5b624758b47de /rust/helpers/helpers.c | |
| parent | lib/crypto/curve25519-hacl64: Disable KASAN with clang-17 and older (diff) | |
| download | kernel-9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319.tar.gz kernel-9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319.zip | |
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 <[email protected]>
Tested-by: Kent Overstreet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
