poly1305

The Poly1305 message authentication code (docs.ppad.tech/poly1305).
git clone git://git.ppad.tech/poly1305.git
Log | Files | Refs | README | LICENSE

commit f440ca0a9a29c7ac0ecbbd1952c7d081fcad6161
parent 67fa9afebf5375b8b66ba43d0e596beee8b100d5
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 31 Oct 2026 14:35:25 +0400

readme: note x86_64 hardware acceleration

Diffstat:
MREADME.md | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -31,10 +31,11 @@ Haddocks (API documentation, etc.) are hosted at ## Performance -The aim is best-in-class performance. Current benchmark figures on the -simple "sunscreen input" from RFC8439 on an M4 Silicon MacBook Air, -where we avail of hardware acceleration via ARM NEON intrinsics, look -like (use `cabal bench` to run the benchmark suite): +The aim is best-in-class performance. We avail of hardware +acceleration via ARM NEON intrinsics on aarch64, and x86 AVX2 +intrinsics on x86_64 whenever the CPU supports them. Current benchmark +figures on the simple "sunscreen input" from RFC8439 on an M4 Silicon +MacBook Air look like (use `cabal bench` to run the benchmark suite): ``` benchmarking ppad-poly1305/mac (big key) @@ -44,7 +45,7 @@ like (use `cabal bench` to run the benchmark suite): std dev 742.4 ps (489.7 ps .. 1.169 ns) ``` -On longer inputs the NEON 4-way parallel kernel kicks in, with +On longer inputs the 4-way parallel kernel kicks in, with correspondingly better throughput: ```