Skip to content

lib/crypto: arm64: Fix Poly1305 NEON resume carry loss

Eric Biggers linux-arm-kernel linux-crypto stable 1 version Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-fixes

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 4 repliesApplied

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2lib/crypto: arm64: Fix lost Poly1305 carry when resuming NEON statelib/crypto/arm64/poly1305-armv8.pl+1 -12 replies
2/2lib/crypto: tests: Add Poly1305 split-update carry regression testlib/crypto/tests/poly1305_kunit.c+88 -91 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJason A. Donenfeld
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] lib/crypto: arm64: Fix Poly1305 NEON resume carry loss

This series fixes a lost carry bit in the arm64 Poly1305 implementation, then adds a regression test for it.

Compared to v2 sent by Jérémy Jean, I cleaned up the verbose LLM-generated text in the commit message of the fix commit, and I replaced the LLM-generated minimal test case with a more comprehensive one similar to the existing test cases in the file.

Note: the second commit has references to the commit ID of the first, which I'll fix up when applying.

Eric Biggers (1):
lib/crypto: tests: Add Poly1305 split-update carry regression test

Jérémy Jean (1):
lib/crypto: arm64: Fix lost Poly1305 carry when resuming NEON state

 lib/crypto/arm64/poly1305-armv8.pl |  2 +-
 lib/crypto/tests/poly1305_kunit.c  | 97 +++++++++++++++++++++++++++---
 2 files changed, 89 insertions(+), 10 deletions(-)

base-commit: 572af6872e520c7102e58362ef7cd7c2ed4342be

Signature · 1 line
2.56.0