Post-Quantum Cryptography

ML-KEM-1024 FIPS 203

Hybrid post-quantum key exchange, X25519 + ML-KEM-1024, with the session key derived by HKDF-SHA-256 and bound to the signed transcript of the handshake. The key is confirmed at every round.

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

Hybrid Key Exchange

We combine two independent key encapsulation mechanisms, X25519 (classical elliptic curve) and ML-KEM-1024 (lattice, NIST level 5), under HKDF-SHA-256 and the hash of the signed handshake transcript. If either algorithm is ever broken, classical or quantum, the session secret stays safe.

  • Two independent assumptions: ECDLP (X25519) + lattice (ML-KEM)
  • Session key derived with HKDF-SHA-256, bound to the signed transcript
  • Key confirmation with HMAC-SHA-256 at every round

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, and sooner when the voice confidence index drops. Each renewal is chained to the previous one. The VPN uses the same ML-KEM-1024 to derive the pre-shared key of its WireGuard tunnel.

  • Key renewal at most every five minutes, more often when the voice confidence index drops
  • Each renewal chained to the previous one
  • VPN: WireGuard tunnel with a pre-shared key derived from ML-KEM-1024

Architecture

Post-Quantum Channel