commit 9316ad643808e894163ec8cce926c6c2547872ed
parent de6580948feb41bcea864ffb3ff770bdd2ea4dd9
Author: Jared Tobin <jared@jtobin.io>
Date: Fri, 17 Jul 2026 11:45:44 -0230
release: v0.3.3
Diffstat:
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,10 +1,9 @@
# Changelog
-- Unreleased
- * The internal constant-time tag comparison now folds over the
- two buffers directly, rather than materialising an intermediate
- ByteString holding their XOR on the heap. Semantics are
- unchanged.
+- 0.3.3 (2026-07-17)
+ * Uses a different algorithm for constant-time MAC comparison.
+ This version seems to produce less microarchitectural variance on
+ aarch64/darwin.
- 0.3.2 (2026-05-16)
* Bumps the poly1305 dependency to a version that returns its MAC in a
diff --git a/ppad-aead.cabal b/ppad-aead.cabal
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: ppad-aead
-version: 0.3.2
+version: 0.3.3
synopsis: A pure AEAD-ChaCha20-Poly1305 construction
license: MIT
license-file: LICENSE
@@ -36,8 +36,8 @@ library
build-depends:
base >= 4.9 && < 5
, bytestring >= 0.9 && < 0.13
- , ppad-chacha >= 0.2.1 && < 0.3
- , ppad-poly1305 >= 0.4.1 && < 0.5
+ , ppad-chacha >= 0.2.2 && < 0.3
+ , ppad-poly1305 >= 0.4.4 && < 0.5
test-suite aead-tests
type: exitcode-stdio-1.0