Post-Quantum Threats & NIST PQC Standards
Plan for Harvest-Now-Decrypt-Later using NIST's 2024 PQC standards (ML-KEM, ML-DSA, SLH-DSA), Shor vs Grover impacts, and handshake MTU byte budgets.
In this lesson (4 bite-sized sections)
Harvest-Now-Decrypt-Later sets the real deadline
Many engineering teams dismiss post-quantum cryptography (PQC) because a cryptographically relevant quantum computer (CRQC) does not exist today. That reasoning fails for confidentiality. Under the Harvest-Now-Decrypt-Later (HNDL) threat model, an adversary records encrypted TLS traffic or backups today and stores them cheaply until a future quantum computer breaks the key exchange.
If your data must remain confidential for Y years and migrating your systems takes M years, your real deadline arrives when M + Y exceeds the arrival of a CRQC. By contrast, digital signatures authenticating live requests or short-lived tokens cannot be forged retroactively in the past; they only need PQC before a quantum attacker can forge signatures in real time (except long-lived root certificates and firmware roots pinned in hardware for decades).
Shor breaks public-key math; Grover halves symmetric bits
Quantum threats split cleanly along algorithm families. Shor's algorithm solves integer factorization and discrete logarithms in polynomial time, completely breaking RSA, Diffie-Hellman (DH/ECDH/X25519), ECDSA, and Ed25519 regardless of practical key length.
Grover's algorithm provides only a quadratic speedup for unstructured search, effectively halving the bit security of symmetric ciphers and hash preimages. That means AES-128 drops toward 64-bit effective search strength (too thin for high-assurance long-term data), while AES-256 and SHA-256 / SHA-384 retain strong post-quantum margins and do not need exotic replacements.
NIST 2024 standards: ML-KEM, ML-DSA, and SLH-DSA
In August 2024, NIST finalized the first three production post-quantum Federal Information Processing Standards:
- ML-KEM (FIPS 203, derived from CRYSTALS-Kyber): Lattice-based Key Encapsulation Mechanism replacing ECDH/RSA key establishment. Fast key generation and encapsulation, moderate key sizes.
- ML-DSA (FIPS 204, derived from CRYSTALS-Dilithium): Lattice-based digital signature replacing ECDSA/Ed25519/RSA signing for certificates, JWTs, and APIs.
- SLH-DSA (FIPS 205, derived from SPHINCS+): Stateless hash-based signature built purely on hash assumptions. Tiny public keys, slow signing, and large signatures, making it a conservative backup for firmware and root CAs if lattice assumptions ever weaken.
Byte budgets, TLS handshakes, and packet fragmentation
Unlike classical elliptic curves, PQC keys and signatures consume kilobytes instead of dozens of bytes. That directly hits real networks.
| Algorithm | Role | Public key | Ciphertext / Sig | Production network impact |
|---|---|---|---|---|
| X25519 (classical) | Key exchange | 32 B | 32 B | Fits effortlessly inside one 1,500 B Ethernet MTU |
| ML-KEM-768 (FIPS 203) | Key encapsulation | 1,184 B | 1,088 B | Hybrid ClientHello spans ~1.5 KB; triggers multi-packet TCP/QUIC flights |
| Ed25519 (classical) | Signature | 32 B | 64 B | Negligible overhead in JWTs and certificate chains |
| ML-DSA-65 (FIPS 204) | Signature | 1,952 B | 3,309 B | 3-cert TLS chain grows by ~15 KB; stresses initial congestion window |
| SLH-DSA-128s (FIPS 205) | Hash signature | 32 B | 7,856 B | Too large for high-RPS handshakes; ideal for offline firmware roots |
A hybrid X25519 + ML-KEM-768 TLS 1.3 ClientHello crosses the classic 1,460-byte TCP MSS boundary, splitting into two packets. Most modern stacks handle multi-packet handshakes cleanly, yet legacy firewalls and DPI appliances sometimes drop fragmented ClientHello records, causing silent connection stalls known as middlebox blackholing. Testing middlebox tolerance via canary rollouts, monitoring handshake-timeout deltas by network ASN, and enabling TLS certificate compression (RFC 8879) are mandatory engineering steps before flipping defaults globally. Keep in mind that migrating key exchange protects traffic confidentiality first, while certificate-chain signatures can follow once edge proxies and clients handle multi-kilobyte chains cleanly.
Classify each algorithm by how quantum computing affects it.
Sort 6 more items to check
Sources: NIST FIPS 203, ML-KEM · NIST FIPS 204, ML-DSA · NIST FIPS 205, SLH-DSA
Apply
Your turn
The task this lesson builds to.
Prioritize the four workloads in the NordicHealth inventory below into a phased post-quantum migration roadmap, justifying each ordering with threat timelines, NIST 2024 algorithm choices, and MTU constraints.
NordicHealth crypto inventory brief (read only)
Workloads in scope.
- External TLS 1.3 ingress (X25519 + ECDSA P-256) carrying patient medical records that must stay confidential for 25 years.
- Internal service-to-service JWTs signed with ES256 and valid for 15 minutes.
- S3 clinical archive buckets encrypted at rest using AES-256-GCM with KMS-wrapped DEKs (RSA-OAEP-2048 wrapping keys).
- Code-signing root keys for implanted cardiac monitors that ship with a 15-year unchangeable hardware root of trust.
Network profile. Telemetry shows 40% of patient mobile connections traverse legacy carrier middleboxes with a 1,400-byte MTU.
Think about
- Which two workloads carry multi-decade exposure that starts before a quantum computer arrives?
- Why do 15-minute internal JWTs and AES-256-GCM backups rank differently from external TLS?
- What concrete network risk hits the 40% of patient mobile traffic crossing 1,400-byte MTU middleboxes?
Draft your design answer here Save your draft, compare against the model answer, and track progress.
Practice
Make it stick
A second problem on the same idea, so it survives past today.
Evaluate the network and certificate-chain impact of replacing ECDSA P-256 certificates with ML-DSA-65 across a global CDN serving 1.5M TLS handshakes per second, quantifying certificate chain growth, TCP initial congestion window effects, and compression mitigations.
Think about
- How many kilobytes does a 3-certificate chain (leaf + intermediate + root) grow when each ML-DSA-65 public key is ~2 KB and each signature is ~3.3 KB?
- What happens when ServerHello + Certificate + CertificateVerify exceed the typical 10-MSS (~14.6 KB) TCP initial congestion window (IW10)?
- How do TLS certificate compression, Merkle Tree Certificates, or delegating short-lived leaf keys reduce handshake bloat?
Draft your design answer here Save your draft, compare against the model answer, and track progress.