aead

Pure Haskell AEAD-ChaCha20-Poly1305 (docs.ppad.tech/aead).
git clone git://git.ppad.tech/aead.git
Log | Files | Refs | README | LICENSE

commit d9157937685d6094aa85682ed4b3929d53ff8e25
parent 1439c6cd98ea52035f7bb3f54e62a55090543066
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 31 Oct 2026 15:00:46 +0400

meta: bump ppad-chacha to v0.3.1 and ppad-poly1305 to v0.4.8

Require ppad-chacha >= 0.3.1 and ppad-poly1305 >= 0.4.8, the first
releases with native x86_64 kernels, and update the flake lock
accordingly.

On an x86_64 AMD EPYC 7642 host with AVX2, with the LLVM backend:

  encrypt:  4.38 us -> 1.23 us
  decrypt:  4.72 us -> 1.25 us

Diffstat:
Mflake.lock | 16++++++++--------
Mppad-aead.cabal | 4++--
2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -85,11 +85,11 @@ ] }, "locked": { - "lastModified": 1788702071, - "narHash": "sha256-B0a9eLZBsHTrsr/SNyPhpiq1NzjvTFsb1Kdr1mRmxXM=", + "lastModified": 1793443893, + "narHash": "sha256-D5ETDufGR3gIDheUn8i3cakJ7794eMchvBP6YmF+Wp4=", "ref": "master", - "rev": "46cb61870a875f2c4e1633bc4d2cba1ddffa461d", - "revCount": 41, + "rev": "3605e872ee75d8c8ddf79289a057083d79dca581", + "revCount": 49, "type": "git", "url": "git://git.ppad.tech/chacha.git" }, @@ -174,11 +174,11 @@ ] }, "locked": { - "lastModified": 1793432316, - "narHash": "sha256-MNbcsGH5gSGepFSQisa6NgnVCCSjolRnQQr637PXUsc=", + "lastModified": 1793443893, + "narHash": "sha256-/QluuGKX0rB+nezjBv/ybqEDp0MfXNbCcYUSPBHlP7A=", "ref": "master", - "rev": "541e883fc36426224a149b058fa20b70e195aa13", - "revCount": 50, + "rev": "b26ef09bcac4bd1860edbe228637a57aa0fa2b40", + "revCount": 57, "type": "git", "url": "git://git.ppad.tech/poly1305.git" }, diff --git a/ppad-aead.cabal b/ppad-aead.cabal @@ -44,8 +44,8 @@ library build-depends: base >= 4.9 && < 5 , bytestring >= 0.9 && < 0.13 - , ppad-chacha >= 0.3 && < 0.4 - , ppad-poly1305 >= 0.4.7 && < 0.5 + , ppad-chacha >= 0.3.1 && < 0.4 + , ppad-poly1305 >= 0.4.8 && < 0.5 test-suite aead-tests type: exitcode-stdio-1.0