Skip to content

The TCS-1 Suite

This build implements TCS-1 — Tallow Cryptographic Suite 1 — a named, versioned set of algorithms and parameters rather than an implied one. The name is not decoration: a suite change is a new id with its own vectors and its own changelog row, so “which suite produced these bytes?” has an answer that cannot drift quietly.

You do not have to take this page’s word for it. The served build declares its own identity:

Terminal window
curl -fsS https://your-domain.example/version.json
# {"release": "r2026.…", "suite": "TCS-1", "wire_version": 9, …}

suite and wire_version are read out of the code when the build is published, so the name on this page and the name in the artifact cannot disagree. Verify a transfer covers checking the bytes as well as the name; the protocol page covers how these components are composed into a session.

Components and parameters

Slot TCS-1
Key establishment hybrid ML-KEM-1024 + X25519, combined through HKDF-SHA256 and mixed with the PAKE output in the canonical handshake
KEM implementation fips203 0.4 — hand-written Rust with a documented constant-time analysis. Not machine-checked; see the non-claims below
Signatures Ed25519 + ML-DSA-87 hybrid (ed25519-dalek + fips204 0.4)
AEAD AES-256-GCM (bulk encryption), currently backed by libcrux-aesgcm. ChaCha20-Poly1305 is present in-tree but not selected
Hash BLAKE3, tree mode for parallel hashing and file-integrity Merkle roots
KDF HKDF over BLAKE3, plus BLAKE3 derive_key for domain-separated keys
Memory-hard KDF Argon2id, room profile 64 MiB / t=3 / p=1 — used where offline guessing must be priced (room ids, vault), not on the data path
PAKE TCS-PAKE-1 over ristretto255 — Tallow’s own passcode-authenticated key exchange; CPace-shaped, not CPace (see below)
SAS 6-word phrase (~77 bits) derived from the session key, for out-of-band comparison
RNG OS CSPRNG only, no userspace fallback, fail-closed
Key custody per-session ephemerals; take/destroy/zeroize; no long-lived browser secrets
Padding fixed-size padding frames, extended to chat frames

Deviations from the CPace draft

TCS-PAKE-1 is CPace-shaped: a balanced PAKE over ristretto255 following that family’s overall structure. Where it differs, the difference is deliberate and written down rather than implied:

Area The draft TCS-PAKE-1
Generator derivation from_uniform_bytes over a draft-defined input a length-framed `DSI
Transcript / KDF draft-defined `derive_key(“cpace-session-key”, DSI
Group X25519 and ristretto255 ristretto255 only — removes cofactor ambiguity; RFC 9496 vectors cover the group operations themselves
Context strings the draft’s own labels a frozen list of domain-separation strings, immutable once shipped

Published vectors

The suite’s own test vectors are published so a third-party implementation can be checked against them rather than against a description. These rows are generated from the shipped code, pinned by a test in the tree, and the test has been seen to fail when a value is corrupted:

# code phrase session id generator (32 B) session key (32 B) SAS (6 words) SAS fp
0 K7M2QPHD session-1 d65f71f4a5ddc264e3d484c0daec6d9510d65269766a686031e3a6b7db524b63 c3639a0a39e4e1ec0c2d36984abb382dba6b25b99b0528232330949fa4520b0d congested-lifting-huddling-ditto-imitate-acronym 902434b1
1 correct horse battery staple test-session-123 3aa58afe9e2a8bab6e166e0d50807497d38d0efb6585c2597d964dacec3e001c 89f4ce75d21691bf22ad590bce040214df0d2d86fc2977b081bb287309fb1925 retry-relearn-skylight-handpick-pedometer-retainer ef171192
2 A (empty) ecfd21429166b7ef2dfaf61c0eb1fa2f19291de4b5cde3219fe0ecfd289c2810 a803036701cfbbf83d1f1010c206fe4303d899765559aa2bc6c2c5c4b171dce7 feed-radar-endorphin-wildfire-preseason-seduce 6888bef0
3 AB CD f466ecc4bb0d51fdc1c5fbdc0460c2fa127f259cbb065e8167b720ac5ac4ce06 961640a4ed76c0019fc0daba6788922671404d8ffea4b097488592abf9c89be5 hacking-unenvied-cassette-clavicle-wincing-litigator 7f98825f
4 AB\0 CD dce686136ff7092d53f58c562ece342ea7b5837fea33b06b7adcbc660967d533 74c364cece96baf64a3a313442ca6dd74c1c09a1c03797e753f7faaca82ba5ba relight-debatable-uptown-stooge-legacy-manmade 7b31c574

Row 4 is the framing family: AB with CD and AB\0 with CD are different inputs and must produce different generators, which is why both appear. A construction that concatenated the phrase and the session id without length framing would collide here — the pair is published so that failure mode is visible in the vectors rather than only in prose.

What TCS-1 does not claim

Stated here rather than left to inference, because a suite is defined as much by the claims it refuses to make: