[PATCH v3 0/3] Consolidate Poly1305 code and add RISC-V optimization
Ard Biesheuvel
ardb at kernel.org
Fri Aug 29 09:37:37 PDT 2025
On Fri, 29 Aug 2025 at 17:26, Eric Biggers <ebiggers at kernel.org> wrote:
>
> This series is targeting libcrypto-next. It can also be retrieved from:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git poly1305-v3
>
> This series simplifies and optimizes the organization of the Poly1305
> code by consolidating it into a single module. This follows the example
> of SHA-1, SHA-256, SHA-512, CRC32, etc.
>
> Since the RISC-V Poly1305 patch has had a moving target, I also rebased
> it on top of this series and included it as patch 3.
>
> Changed in v3:
> - Added mips/poly1305-core.S and riscv/poly1305-core.S to 'targets'.
> This fixed a bug where the perlasm build step was always running.
>
> Changed in v2:
> - Added missing 'FORCE' to the make rules for mips/poly1305-core.S
> and riscv/poly1305-core.S.
>
> Eric Biggers (2):
> lib/crypto: poly1305: Remove unused function
> poly1305_is_arch_optimized()
> lib/crypto: poly1305: Consolidate into single module
>
> Zhihang Shao (1):
> lib/crypto: riscv/poly1305: Import OpenSSL/CRYPTOGAMS implementation
>
Reviewed-by: Ard Biesheuvel <ardb at kernel.org>
More information about the linux-riscv
mailing list