Skip to content

RISC-V 64 ASM: Add Poly1305 implementation#7873

Merged
dgarske merged 1 commit intowolfSSL:masterfrom
SparkiDev:riscv-poly1305-asm
Aug 15, 2024
Merged

RISC-V 64 ASM: Add Poly1305 implementation#7873
dgarske merged 1 commit intowolfSSL:masterfrom
SparkiDev:riscv-poly1305-asm

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

Description

Implementation using standard and vector instructions.

Testing

./configure '--disable-shared' '--enable-chacha' '--enable-poly1305' 'LDFLAGS=--static' '--host=riscv64' 'CC=riscv64-linux-gnu-gcc' '--enable-riscv-asm'
./configure '--disable-shared' '--enable-chacha' '--enable-poly1305' 'LDFLAGS=--static' '--host=riscv64' 'CC=riscv64-linux-gnu-gcc' '--enable-riscv-asm=zv'

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Implementation using standard and vector instructions.
@SparkiDev SparkiDev assigned SparkiDev and wolfSSL-Bot and unassigned SparkiDev Aug 15, 2024
@SparkiDev SparkiDev requested a review from wolfSSL-Bot August 15, 2024 04:24
@dgarske
Copy link
Copy Markdown
Member

dgarske commented Aug 15, 2024

HiFive Unmatched 1.2GHz:

Using ./configure --enable-riscv-asm:
With PR: POLY1305 280 MiB took 1.011 seconds, 276.835 MiB/s
With master: POLY1305 200 MiB took 1.009 seconds, 198.262 MiB/s

@dgarske dgarske merged commit 1190d1b into wolfSSL:master Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants