Post-Quantum Cryptography

ML-KEM-1024 FIPS 203

Hybrid post-quantum key exchange — X25519 + ML-KEM-1024 — bound under HKDF-SHA-256 with ciphertext binding. Library implementations (liboqs, BouncyCastle, @noble/post-quantum) are cross-validated against shared test vectors.

NIST FIPS 203 ML-KEM-1024Hybrid PQCConstant-time softwareImplicit Rejection

Hybrid Key Exchange

We combine two independent key encapsulation mechanisms — X25519 (classical elliptic) and ML-KEM-1024 (lattice, NIST Level 5) — bound together with HKDF-SHA-256 and a ciphertext-binding label that closes known substitution attacks. If either algorithm is ever broken — classical or quantum — the session secret stays safe.

  • Two independent assumptions: ECDLP (X25519) + lattice (ML-KEM)
  • HKDF-SHA-256 with ciphertext binding
  • Forward-versioned protocol labels for clean migration

Side-channel hardened

ML-KEM uses FIPS 203 §8.3 implicit rejection: an invalid ciphertext produces a pseudo-random value rather than an error — no timing oracle. Tag comparison is constant-time. Memory holding key material is zeroized in two passes with a volatile fence so the compiler cannot elide the wipe.

  • Implicit rejection on decapsulation failure (FIPS 203 §8.3)
  • Constant-time authentication tag comparison
  • Compiler-resistant memory zeroization

A new key for every call

Every call starts with a new key, negotiated with an ML-KEM-1024 + X25519 handshake and renewed with a fresh handshake at most every five minutes — more often when the voice shows signs of synthesis. For messages between two contacts, the post-quantum ratchet (X-Wing: ML-KEM-768 + X25519) provides per-message forward secrecy and post-compromise security.

  • Key renewal at most every five minutes, more often when the voice confidence index drops
  • Messaging: post-quantum ratchet with per-message forward secrecy
  • Replay protection with sliding sequence window

Architecture

Post-Quantum Channel