Format: Keep a Changelog.

[Unreleased]

[0.2.0] - 2026-11-19

Fixed

  • Argon2id interoperability: the own core started the data-independent address-word cursor at word 0 in the first segment of pass 0, which begins at block 2; RFC 9106 §3.4.1.2 takes word i mod 128 for block i. Every parameter set whose segment length (m / (4·p)) is 4 or more — every realistic one — produced a tag that no other Argon2id implementation reproduces. The RFC 9106 §5.3 vector (segment length 2) could not see it. Tags produced by 0.1.0 at such parameters do not verify with this release.
  • Argon2id runs the OWASP parameters: argon2id_hash returned -2 for m ≥ 16384 KiB because the block matrix came from the shared 16 MiB scratch arena. The matrix now lives in linear memory grown for the call and reused by later calls; the arena, and every other module, are unchanged. Linear memory never shrinks, so that memory stays allocated for the life of the instance; the matrix is zeroed after every call.

Added

  • Argon2id memory ceiling: m above 1048576 KiB (1 GiB) is refused up front with ARGON2_ERR_PARAM (-1), before any memory growth.

[0.1.0] - 2026-09-29

Added

  • 17 crypto WebAssembly modules: nine hash/AEAD/MAC/KDF primitives (ChaCha20-Poly1305, SHA-2, SHA-3, BLAKE2b, CMAC, HMAC, HKDF, PBKDF2, Argon2id) built from framework-authored C23 sources; three classical primitives (AES, RSA, ECC) built over vendored BearSSL v0.6 and machine-verified fiat-crypto v0.1.6 field arithmetic; Ed25519 and X25519 built over vendored libsodium 1.0.22 ref10; three post-quantum schemes (ML-KEM, ML-DSA, SLH-DSA) built over vendored FIPS-final forks (mlkem-native v1.2.0, PQClean, OpenSSL 3.5.0).
  • Browser loader (./loader) — fetches and instantiates a module's .wasm binary by name, selecting the simd128 or scalar build variant.
  • Provenance validator (./provenance) — checks emitted artifacts against the recorded vendored-source provenance (url, ref, sha256, license per tree).
  • simd128 + scalar dual builds for ChaCha20-Poly1305, SHA-3, BLAKE2b, ML-KEM and ML-DSA; the consumer selects the variant explicitly, with no automatic fallback.
  • RSA PSS support — the PSS padding layer (MGF1 + salt, RFC 8017 §9.1) is framework-authored over the vendored RSA modexp core; the RSA arithmetic itself stays vendored.
  • Aggregated third-party notices — every vendored tree's license and notice text collected into one file, alongside a per-tree provenance record (url, ref, sha256, license).
  • Guides and module index — a module reference table plus guides on the simd/scalar split, the own-vs-vendored source taxonomy, the C23 sources and the loader hand-off.

Changed

  • The hash/AEAD/MAC/KDF module family (ChaCha20-Poly1305, SHA-2, SHA-3, BLAKE2b, CMAC, HMAC, HKDF, PBKDF2, Argon2id) now builds from framework-authored C23 sources instead of vendored ones.

All 17 modules are validated byte-for-byte against NIST ACVP vectors where published, and against the defining RFC test vectors otherwise.