[PATCH 0/5] lib/crypto: Poly1305 fixes
Ard Biesheuvel
ardb at kernel.org
Mon Jul 7 20:22:39 PDT 2025
On Mon, 7 Jul 2025 at 09:11, Eric Biggers <ebiggers at kernel.org> wrote:
>
> This series is also available at:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git poly1305-fixes
>
> This series fixes the arm, arm64, and x86 Poly1305 functions to not
> corrupt random tasks' registers when called in the "wrong" context. It
> also fixes a performance regression on x86 with short messages.
>
> This series is needed for my upcoming poly1305_kunit test to pass.
>
> Eric Biggers (5):
> lib/crypto: arm/poly1305: Remove unneeded empty weak function
> lib/crypto: arm/poly1305: Fix register corruption in no-SIMD contexts
> lib/crypto: arm64/poly1305: Fix register corruption in no-SIMD
> contexts
> lib/crypto: x86/poly1305: Fix register corruption in no-SIMD contexts
> lib/crypto: x86/poly1305: Fix performance regression on short messages
>
Reviewed-by: Ard Biesheuvel <ardb at kernel.org>
> lib/crypto/arm/poly1305-glue.c | 8 ++----
> lib/crypto/arm64/poly1305-glue.c | 3 +-
> lib/crypto/x86/poly1305_glue.c | 48 +++++++++++++++++++++++++++++++-
> 3 files changed, 51 insertions(+), 8 deletions(-)
>
>
> base-commit: f1da28dfadd26ef95bbd0b1ddf066e7ffe1505ff
> --
> 2.50.0
>
More information about the linux-arm-kernel
mailing list