Post-Quantum Network Security

Post-Quantum Cryptography and Network Security

Network Insight
Engineering Guides
QUANTUM BLACK & CHROME EDITION
Enterprise Security · Cryptography · Network Architecture

Post-Quantum Cryptography
and Network Security Explained

Engineering quantum-resistant network infrastructure, secure communications and cryptographic migration across enterprise, cloud and data centre environments.

ML-KEM ML-DSA SLH-DSA Hybrid TLS Quantum-Safe VPNs PKI Crypto-Agility Network Security
QUANTUM-RESISTANT COMMUNICATION ARCHITECTURE ENTERPRISE EDGE Applications TLS clients VPN Gateway IKE / IPsec Devices Identity / IoT KEY ESTABLISHMENT HYBRID EXCHANGE AUTHENTICATION ENCRYPTED SESSION SECURE TUNNEL VERIFIED IDENTITY PQC SECURITY CRYPTOGRAPHIC SERVICES ML-KEM · ML-DSA · SLH-DSA SECURE SERVICES Cloud Services APIs / workloads Data Centre Private services Identity & PKI Trust services CRYPTOGRAPHIC GOVERNANCE Crypto Inventory Discover dependencies Crypto-Agility Policy and migration Observability Validate negotiation
ANIMATED ARCHITECTURE OVERVIEW CONCEPTUAL ENTERPRISE PQC ARCHITECTURE

Conceptual architecture showing cryptographic capabilities across endpoints, gateways and services. Post-quantum cryptography does not require a central inline encryption appliance; cryptographic operations may occur directly within communicating endpoints.

09 Engineering sections
09 Interactive simulators
03 Foundational NIST PQC standards
360° Security architecture coverage

The Next Evolution of Network Security

Modern enterprise networks depend on cryptography. Every HTTPS connection, remote-access VPN, cloud API, digital certificate, software update and authenticated network service relies on mathematical mechanisms that protect information and establish trust.

For decades, public-key algorithms such as RSA, Diffie-Hellman and elliptic-curve cryptography have provided the foundation for secure digital communications. Their security depends on mathematical problems that are computationally difficult for conventional computers to solve at sufficiently large parameter sizes.

Quantum computing introduces a fundamentally different computational model. A sufficiently capable, fault-tolerant quantum computer running Shor's algorithm could undermine the mathematical assumptions behind widely deployed RSA and elliptic-curve cryptography.

Post-quantum cryptography addresses this problem by introducing cryptographic algorithms designed to resist attacks from both classical and quantum computers, based on currently understood mathematical problems and cryptanalytic techniques.

The objective is not simply to replace one encryption algorithm with another. It is to evolve the entire cryptographic architecture supporting enterprise connectivity, identity, authentication, software integrity and secure data exchange.

Engineering Principle — Quantum Readiness

Post-quantum migration is an infrastructure lifecycle challenge. Organisations must understand where cryptography is used, which protocols depend on it, how algorithms are negotiated and whether existing applications and network devices can support new cryptographic mechanisms.

Why Network Engineers Need to Understand PQC

01 · Cryptographic risk

Long-Term Confidentiality

Encrypted information collected today could potentially be decrypted in the future if its original public-key establishment mechanism becomes vulnerable and the necessary cryptographic transcript is available.

02 · Protocol evolution

Secure Network Protocols

TLS, VPNs, SSH, authentication systems and certificate-based infrastructure must evolve to support appropriate quantum-resistant cryptographic mechanisms and interoperable protocol profiles.

03 · Trust infrastructure

Digital Identity and Signatures

Certificate authorities, code-signing systems, firmware verification and device identity architectures require their own migration strategies for quantum-resistant digital signatures.

04 · Performance

Network and Compute Overhead

Different cryptographic algorithms introduce different public-key sizes, ciphertext sizes, signature sizes and computational requirements. These affect handshake behaviour and capacity planning.

05 · Migration

Cryptographic Agility

Infrastructure should support controlled changes to cryptographic algorithms and policies without requiring complete application or network redesign.

06 · Operations

Security Observability

Engineers need visibility into negotiated algorithms, handshake failures, certificate compatibility, unexpected fallback and the actual cryptographic protection applied to production connections.

Harvest Now, Decrypt Later

One of the most important drivers for post-quantum migration is the possibility that adversaries collect encrypted communications now and retain them until future computational capabilities make decryption feasible.

LONG-TERM CONFIDENTIALITY RISK 01 · TODAY Encrypted Traffic Sensitive communications Classical public-key establishment 02 · RETENTION Captured Data Stored encrypted transcripts Confidentiality risk persists 03 · FUTURE Quantum Capability Potential key recovery Conditional future exposure QUANTUM-RESISTANT KEY ESTABLISHMENT Reduce future exposure by migrating vulnerable key-establishment mechanisms. Security remains dependent on correct implementation, protocol design and algorithm assumptions.
HARVEST NOW, DECRYPT LATER CONCEPTUAL THREAT TIMELINE

The arrival date of a cryptographically relevant quantum computer remains uncertain. However, information such as intellectual property, government communications, medical records and long-lived infrastructure credentials may require confidentiality for many years.

Migration decisions must therefore consider both the required confidentiality lifetime of the information and the time needed to replace vulnerable infrastructure.

The Migration Planning Principle

If the required confidentiality lifetime plus the time needed to migrate exceeds the estimated time until a relevant quantum threat becomes practical, migration may already be necessary.

This is commonly expressed as X + Y > Z, where X is the security lifetime, Y is the migration duration and Z is the estimated time until the threat becomes viable. The relationship is a planning heuristic, not a prediction of when quantum attacks will become practical.

The Foundations of Post-Quantum Cryptography

In August 2024, the US National Institute of Standards and Technology published three foundational post-quantum cryptographic standards covering key encapsulation and digital signatures.

FIPS 203

ML-KEM

Module-Lattice-Based Key-Encapsulation Mechanism. Enables two parties to establish a shared secret using a quantum-resistant key encapsulation mechanism.

PRIMARY ROLE: KEY ESTABLISHMENT

FIPS 204

ML-DSA

Module-Lattice-Based Digital Signature Algorithm. Supports digital signatures used for authentication, integrity verification and cryptographic trust.

PRIMARY ROLE: DIGITAL SIGNATURES

FIPS 205

SLH-DSA

Stateless Hash-Based Digital Signature Algorithm. Provides a signature approach based on hash-function security assumptions rather than module lattices.

PRIMARY ROLE: DIGITAL SIGNATURES

Key Establishment Is Not Bulk Encryption

ML-KEM establishes a shared secret. It does not directly encrypt the entire application data stream. Secure protocols derive traffic keys from established secrets and use symmetric authenticated encryption algorithms, such as AES-GCM or ChaCha20-Poly1305, to protect application traffic.

Traditional and Post-Quantum Cryptographic Functions

Cryptographic function Traditional mechanisms Quantum consideration Migration direction
Public-key establishment DH, ECDH, X25519 Vulnerable to sufficiently capable implementations of Shor's algorithm ML-KEM and suitable hybrid mechanisms
Public-key encryption RSA encryption RSA factoring assumption threatened by Shor's algorithm Appropriate KEM-based encryption constructions
Digital signatures RSA, ECDSA, EdDSA Public-key signature assumptions threatened ML-DSA or SLH-DSA where supported
Symmetric encryption AES-128, AES-256 Generic quantum search changes theoretical attack costs Appropriate key sizes and approved security profiles
Hash functions SHA-256, SHA-384, SHA-512 Quantum effects depend on the security property considered Suitable output lengths and approved constructions
Authenticated encryption AES-GCM, ChaCha20-Poly1305 Not affected by Shor's algorithm in the same way as RSA or ECC Continue using appropriate symmetric mechanisms

From Traditional TLS to Hybrid Cryptography

A major transition approach is hybrid key establishment, in which a conventional key agreement mechanism and a post-quantum mechanism contribute to the shared cryptographic secret.

TRADITIONAL TLS HYBRID TLS X25519 / ECDHE Classical key agreement TLS 1.3 Key Schedule Secret and traffic key derivation Symmetric Traffic Protection AEAD-encrypted application data Classical public-key dependency X25519 Classical secret ML-KEM Post-quantum secret Hybrid Secret / TLS Key Schedule Protocol-defined secret combination Symmetric Traffic Protection AEAD-encrypted application data Combined key-establishment mechanisms Simplified key-establishment comparison — certificate authentication is not shown
CLASSICAL VS HYBRID KEY ESTABLISHMENT TLS 1.3 CONCEPTUAL MODEL

A correctly designed hybrid construction aims to retain key-establishment security if at least one of its component mechanisms remains secure, subject to the security properties of the combiner and the complete protocol implementation.

Hybrid key establishment does not automatically provide post-quantum authentication. A TLS connection can negotiate hybrid key establishment while still using a conventional certificate and digital signature. These are separate cryptographic migration decisions.

Post-Quantum Cryptography Is a Network Engineering Problem

Cryptographic algorithms operate within real protocols, network paths, operating systems and security devices. Their behaviour cannot be evaluated independently of the infrastructure carrying and processing their messages.

Transport engineering

Handshake Size and Network MTU

Larger key shares, encapsulation ciphertexts and signatures can increase handshake message sizes. Engineers must understand TCP segmentation, Path MTU Discovery, protocol fragmentation, packet loss and middlebox behaviour.

Infrastructure performance

Cryptographic Processing Capacity

Algorithm choice, implementation quality, hardware acceleration and handshake frequency affect CPU utilisation, connection establishment latency and the capacity of gateways and TLS termination services.

Interoperability

Protocol Negotiation

Clients and servers must agree on supported cryptographic mechanisms. Migration requires compatible libraries, protocol profiles, security policies and controlled fallback behaviour.

Operational lifecycle

Legacy Infrastructure

Embedded systems, industrial devices, hardware security modules, appliances and long-lived network equipment may require firmware upgrades, replacement or carefully designed transition architectures.

A Production Engineering Scenario

Incident preview · Hybrid TLS migration

Why Are Some Secure Connections Failing?

An enterprise enables hybrid post-quantum key establishment on a cloud-facing TLS service. Most clients connect successfully, but a subset of remote users experiences connection timeouts.

WORKING PATH

Modern client → Compatible network path → Hybrid key establishment → Successful TLS session.

FAILING PATH

Modern client → Constrained or incompatible network path → Handshake interruption → Connection timeout.

The engineering team must investigate whether the failure is caused by unsupported cryptographic groups, packet loss, PMTU problems, middlebox inspection, implementation defects or resource exhaustion.

The objective is to identify the actual failure through packet captures, negotiated parameters, endpoint logs and controlled comparisons rather than assuming that the cryptographic algorithm itself is defective.

Your Post-Quantum Engineering Roadmap

This guide contains nine engineering sections. Each section combines detailed technical explanations with a dedicated interactive engineering experience.

01

Understanding Post-Quantum Cryptography

Cryptographic foundations, security assumptions, public-key infrastructure and quantum-resistant architecture.

INTERACTIVE: Quantum Threat and Cryptography Explorer
02

Quantum Computing and Cryptographic Threats

Qubits, computational models, Shor's algorithm, Grover's algorithm and cryptographic risk.

INTERACTIVE: Quantum Algorithm Impact Visualiser
03

ML-KEM and Post-Quantum Key Establishment

Module lattices, key generation, encapsulation, decapsulation and shared-secret establishment.

INTERACTIVE: ML-KEM Key Establishment Simulator
04

ML-DSA and SLH-DSA Digital Signatures

Signature generation, verification, trust, lattice-based and hash-based authentication.

INTERACTIVE: Post-Quantum Signature Explorer
05

Hybrid Cryptography and Quantum-Safe TLS

TLS 1.3, hybrid key shares, handshake negotiation, key derivation and interoperability.

INTERACTIVE: Hybrid TLS Handshake Simulator
06

Quantum-Safe VPNs and IPsec

IKEv2, multiple key exchanges, VPN gateways, tunnel establishment and network constraints.

INTERACTIVE: Post-Quantum VPN Packet Journey
07

Post-Quantum PKI and Device Identity

Certificate chains, trust anchors, certificate authorities, hardware security and identity migration.

INTERACTIVE: Quantum-Safe PKI Architecture Builder
08

Enterprise and Cloud PQC Migration

Cryptographic discovery, dependency mapping, crypto-agility, staged deployment and governance.

INTERACTIVE: Enterprise Cryptographic Migration Simulator
09

Production Performance and Troubleshooting

Handshake failures, packet analysis, performance bottlenecks, fallback detection and incident investigation.

INTERACTIVE: Post-Quantum Security Incident Simulator

Learn by Engineering, Not Memorisation

The Network Insight engineering methodology combines architectural understanding with observation, experimentation and evidence-based troubleshooting.

STEP 01 Understand

Examine cryptographic mechanisms and the security problems they are designed to solve.

STEP 02 Visualise

Follow key establishment, digital signatures and secure packet journeys through infrastructure.

STEP 03 Experiment

Change algorithms, protocol parameters, network conditions and migration policies.

STEP 04 Investigate

Diagnose failures using protocol evidence, packet captures and observed network behaviour.

What You Will Learn

✓

Explain why quantum computing threatens widely deployed public-key cryptographic mechanisms.

✓

Distinguish key encapsulation, digital signatures, symmetric encryption and cryptographic hashing.

✓

Understand the architectural roles of ML-KEM, ML-DSA and SLH-DSA.

✓

Trace hybrid TLS key establishment and understand the separate role of certificate authentication.

✓

Evaluate the impact of post-quantum migration on VPNs, PKI, gateways and enterprise services.

✓

Investigate handshake size, network transport, compatibility and cryptographic performance issues.

✓

Design a staged cryptographic migration strategy based on asset discovery, risk and crypto-agility.

Foundational Standards and Technical References

Begin your engineering journey

Section 01 — Understanding Post-Quantum Cryptography

Establish the cryptographic foundations before exploring quantum threats, algorithms, secure protocols and production migration.

START ENGINEERING →
Network Insight
Engineering Guide Navigation
QUANTUM BLACK & CHROME

Post-Quantum
Security Universe

Explore the architecture of quantum-resistant digital trust. Navigate nine interconnected engineering domains, from the foundations of post-quantum cryptography to hybrid TLS, secure VPNs, enterprise migration and production incident investigation.

09 Engineering Domains
03 Core NIST Standards
PQC Digital Trust
360° Architecture View
01
Selected Engineering Domain

Understanding Post-Quantum Cryptography

Explore quantum-resistant cryptography, lattice-based security, key establishment, digital signatures and the foundations of modern cryptographic migration.

OPEN SECTION ↗
ENGINEERING EXPLORATION PROGRESS 0 / 9 VISITED

Engineering Section Directory

01

Understanding Post-Quantum Cryptography

Cryptographic foundations, lattice geometry, quantum-resistant security and NIST standards.

EXPLORE SECTION ↗ ✓ VISITED
02

Quantum Computing and Cryptographic Threats

Qubits, Shor's algorithm, Grover's algorithm and harvest-now-decrypt-later risks.

EXPLORE SECTION ↗ ✓ VISITED
03

ML-KEM and Lattice-Based Key Encapsulation

Module-LWE, key generation, encapsulation, decapsulation and FIPS 203 architecture.

EXPLORE SECTION ↗ ✓ VISITED
04

ML-DSA and Post-Quantum Digital Signatures

Dilithium-derived signatures, hash-based signatures, verification, authentication and digital trust.

EXPLORE SECTION ↗ ✓ VISITED
05

Hybrid Cryptography and Quantum-Safe TLS

TLS 1.3, hybrid key exchange, HKDF, certificate authentication and secure gateways.

EXPLORE SECTION ↗ ✓ VISITED
06

Quantum-Safe VPNs and IPsec

IKEv2 multiple key exchanges, encrypted tunnels, security associations and network transport.

EXPLORE SECTION ↗ ✓ VISITED
07

Post-Quantum PKI, Certificates and Device Identity

Certificate authorities, trust chains, device identity, hardware security and certificate lifecycle management.

EXPLORE SECTION ↗ ✓ VISITED
08

Cloud, Data Centre and Enterprise Migration

Cryptographic inventories, crypto-agility, migration planning and infrastructure readiness.

EXPLORE SECTION ↗ ✓ VISITED
09

Production Performance, Security and Troubleshooting

Packet analysis, MTU, handshake latency, cryptographic observability and incident recovery.

EXPLORE SECTION ↗ ✓ VISITED
01
Network Insight · Cryptographic Foundations

Understanding Post-Quantum Cryptography

Post-quantum cryptography represents an evolution of the mathematical foundations that protect modern digital infrastructure. It introduces cryptographic mechanisms designed to withstand attacks from both classical and quantum computers while preserving the confidentiality, integrity and authenticity required by enterprise networks.

Understanding post-quantum cryptography begins with understanding what cryptography actually does inside a network. Encryption, authentication, key establishment, digital signatures and hashing are distinct functions. Each addresses a different security requirement, and each has different implications when exposed to quantum computational capabilities.

Objective 01

Understand

Distinguish the fundamental functions of modern cryptographic systems.

Objective 02

Analyse

Examine the mathematical assumptions supporting cryptographic security.

Objective 03

Compare

Evaluate conventional and post-quantum cryptographic mechanisms.

Objective 04

Engineer

Understand the architecture of quantum-ready enterprise services.

1.1 The Four Foundations of Network Cryptography

Cryptography is not a single technology. Modern network security protocols combine multiple cryptographic primitives into a coordinated security architecture.

Foundation 01

Confidentiality

Prevents unauthorised parties from reading protected information. Symmetric encryption algorithms such as AES are commonly used to protect application data after session keys have been established.

Foundation 02

Integrity

Detects unauthorised modification of information. Message authentication codes, authenticated encryption and digital signatures provide integrity protection in different security contexts.

Foundation 03

Authentication

Establishes confidence in the identity of a communicating entity or the origin of a message. Authentication may rely on certificates, digital signatures, shared secrets or other credentials.

Foundation 04

Key Establishment

Enables communicating parties to obtain shared cryptographic keying material. Secure protocols derive encryption and authentication keys from established secrets using appropriate key schedules.

1.2 How Cryptography Protects a Network Connection

SECURE COMMUNICATION ARCHITECTURE CLIENT Authentication Key Establishment Key Derivation Data Protection SERVER Authentication Key Establishment Key Derivation Data Protection UNTRUSTED NETWORK IDENTITY PROOF Certificates and digital signatures PUBLIC KEYING MATERIAL Key agreement or encapsulation LOCAL KEY DERIVATION Traffic keys are not sent across the path PROTECTED APPLICATION DATA Symmetric authenticated encryption Functional security model — not an exact protocol message sequence PQC primarily changes public-key establishment and digital signature mechanisms
CRYPTOGRAPHIC SECURITY FUNCTIONS ENDPOINT-TO-ENDPOINT ARCHITECTURE

The diagram separates four functions that are often incorrectly treated as a single encryption process. A secure protocol establishes identity, obtains shared keying material, derives traffic keys and protects application data.

The exact ordering depends on the protocol. For example, TLS 1.3 establishes handshake keying material before processing the server's encrypted authentication messages.

Engineering Principle

Post-quantum cryptography does not require replacing every cryptographic function. It primarily addresses vulnerable public-key mechanisms, while appropriate symmetric cryptography continues to protect the application data stream.

1.3 Symmetric Cryptography

Symmetric cryptography uses shared secret keying material to perform cryptographic operations. Both communicating parties must possess the appropriate secret key or derive the required directional traffic keys.

AES is a widely deployed symmetric block cipher. In modern network protocols, it is frequently used with Galois/Counter Mode to provide authenticated encryption.

SYMMETRIC AUTHENTICATED ENCRYPTION SHARED SECRET KEY Securely established or provisioned Plaintext Application data Encrypt AEAD algorithm CIPHERTEXT + TAG Protected network transmission Decrypt Verify tag Plaintext Verified data Nonce uniqueness, key management and authentication-tag verification are essential Symmetric cryptography remains a central component of post-quantum security
SYMMETRIC CRYPTOGRAPHY AUTHENTICATED DATA PROTECTION
(C, T) = AEAD_Encrypt(K, N, A, P) K = secret key · N = nonce · A = associated data · P = plaintext · C = ciphertext · T = authentication tag

Authenticated encryption with associated data, or AEAD, protects the confidentiality of plaintext and authenticates both the ciphertext and associated data.

Associated data is authenticated but is not necessarily encrypted. Network protocols can use this capability to protect relevant metadata against unauthorised modification.

1.4 Asymmetric Cryptography

Asymmetric cryptography uses related public and private keys. The public key can be distributed, while the private key must remain protected.

Depending on the algorithm, public-key cryptography can support encryption, key agreement, key encapsulation or digital signatures.

Public component

Public Key

May be distributed to communicating entities. Depending on the algorithm, it can be used for signature verification, encryption or shared-secret establishment.

Protected component

Private Key

Must remain confidential and appropriately protected. It may be used for signing, decryption, key agreement or decapsulation.

Public-key cryptography solves important problems associated with establishing secure communication between entities that do not already share a secret.

However, public-key distribution alone does not establish trust. A malicious party could substitute its own public key unless the communicating entities authenticate the key or its owner.

Public Keys Are Not Automatically Trusted

A cryptographic key can be mathematically valid without belonging to the expected server, user or device. Authentication, certificate validation and trusted key distribution remain essential in post-quantum architectures.

1.5 Mathematical Security Assumptions

Cryptographic security frequently depends on computational problems for which no sufficiently efficient attack is currently known at the selected security parameters.

Conventional public-key cryptography and post-quantum cryptography use different mathematical foundations.

Conventional foundation

Integer Factorisation

RSA security is associated with the difficulty of recovering the prime factors of a large composite integer, alongside the security properties of the complete RSA construction.

N = p × q Multiplication is easy; factoring a suitably large composite is computationally difficult for known classical methods.
Conventional foundation

Discrete Logarithms

Diffie-Hellman and elliptic-curve systems rely on the difficulty of recovering secret values from public mathematical relationships.

Q = dG Recovering the secret scalar d from public elliptic-curve points Q and G is the elliptic-curve discrete logarithm problem.
Post-quantum foundation

Module Lattice Problems

ML-KEM and ML-DSA use mathematical structures related to module lattices and problems believed to resist efficient classical and quantum attacks.

b = As + e mod q Simplified Learning With Errors relationship: recover hidden structure in the presence of noise.

Shor's algorithm provides an efficient quantum approach to integer factorisation and discrete logarithm problems in the theoretical quantum computational model.

A sufficiently large, fault-tolerant quantum computer could therefore undermine the mathematical foundations of RSA, conventional Diffie-Hellman and elliptic-curve cryptography.

No comparable efficient quantum attack is currently known against the foundational mathematical problems used by the standardised lattice-based post-quantum algorithms at their specified security parameters.

1.6 Understanding Lattice-Based Cryptography

A mathematical lattice can be described as a discrete collection of points generated by integer combinations of basis vectors.

Lattice-based cryptography uses computational problems associated with these structures. Actual cryptographic constructions operate in much higher-dimensional algebraic spaces than the simplified two-dimensional visualisation below.

CONCEPTUAL LATTICE GEOMETRY Basis vector 1 Basis 2 Noisy observation Reference point MATHEMATICAL INTUITION Structured mathematical points Observation affected by noise SIMPLIFIED LWE RELATIONSHIP b = As + e mod q A: public mathematical structure s: secret value e: error or noise q: modulus Geometric intuition only — not an implementation of ML-KEM or a direct LWE solver
LATTICE-BASED CRYPTOGRAPHY SIMPLIFIED MATHEMATICAL VISUALISATION

In Learning With Errors constructions, mathematical observations contain deliberately introduced error. Recovering hidden secret structure from these observations is believed to be computationally difficult at appropriate parameters.

ML-KEM uses a structured module-lattice variant of this general mathematical foundation. The complete algorithm also includes polynomial arithmetic, encoding, compression, hashing and transformations required for its security properties.

Section 03 will examine the actual ML-KEM architecture in considerably greater detail.

1.7 Families of Post-Quantum Cryptography

Post-quantum cryptography encompasses multiple mathematical approaches rather than one universal algorithm.

Cryptographic family Mathematical foundation Representative mechanisms Engineering considerations
Lattice-based Structured lattice-related computational problems ML-KEM, ML-DSA, Falcon-related signatures Key and signature sizes, implementation security, polynomial arithmetic and interoperability.
Hash-based Security properties of cryptographic hash functions SLH-DSA, LMS, XMSS Signature size, signing performance and state management for stateful schemes.
Code-based Difficulty of decoding certain error-correcting codes Classic McEliece, HQC Algorithm-dependent public-key and ciphertext sizes, memory and implementation requirements.
Multivariate Systems of multivariate polynomial equations Various research-stage constructions Cryptanalytic maturity and construction-specific security concerns.
Isogeny-based Mathematical relationships between elliptic curves Research-stage constructions Significant historical cryptanalytic developments; individual schemes require careful evaluation.

The inclusion of a mathematical family in this comparison does not imply that every algorithm in that family is secure, standardised or suitable for production deployment.

Cryptographic engineering must distinguish standardised mechanisms from research proposals and algorithms that have been weakened or broken by subsequent cryptanalysis.

1.8 Key Encapsulation Mechanisms

A Key Encapsulation Mechanism, or KEM, enables parties to establish a shared secret using public-key cryptography.

Unlike a general-purpose public-key encryption interface, a KEM provides specific operations for generating key pairs, encapsulating a shared secret and recovering that secret through decapsulation.

KEY ENCAPSULATION MECHANISM RECIPIENT KeyGen() Generate encapsulation and decapsulation keys Public key ek Private key dk Decaps(dk, c) Recover shared secret Shared secret K SENDER Encaps(ek) Uses public encapsulation key Ciphertext c Encapsulated keying material Shared secret K PUBLIC KEY ek Authenticated distribution required CIPHERTEXT c Sent to the recipient MATCHING SECRETS Not transmitted The shared secret is subsequently used by a protocol-defined key derivation process
KEY ENCAPSULATION ARCHITECTURE KEYGEN · ENCAPS · DECAPS
01

Key Generation

The recipient generates an encapsulation key and a corresponding decapsulation key. The encapsulation key can be distributed, while the decapsulation key remains protected.

02

Encapsulation

The sender uses the recipient's encapsulation key and fresh randomness to produce a shared secret and an associated ciphertext.

03

Ciphertext Transmission

The ciphertext is transmitted to the recipient. The shared secret itself is not sent across the network.

04

Decapsulation

The recipient uses the private decapsulation key and received ciphertext to recover the corresponding shared secret.

05

Protocol Key Derivation

The secure protocol processes the established secret through an appropriate key schedule to derive traffic keys and other cryptographic keying material.

(ek, dk) = KeyGen() (K, c) = Encaps(ek) K′ = Decaps(dk, c) Correct operation produces matching shared secrets K and K′, except for any negligible correctness failure probability defined by the mechanism.
A KEM Does Not Automatically Authenticate a Peer

A KEM establishes shared keying material. The protocol must also authenticate the relevant public keys and communicating entities to prevent active attacks such as public-key substitution.

1.9 Digital Signatures and Cryptographic Trust

Digital signatures provide a mechanism for verifying that a message was signed using the private key corresponding to a particular public verification key.

When the verification key is reliably associated with an identity, digital signatures can support authentication and trust.

DIGITAL SIGNATURE ARCHITECTURE SIGNER Message M Private signing key sk Sign(sk, M) Produce signature σ MESSAGE + SIGNATURE M, σ VERIFIER Trusted public key pk Verify(pk, M, σ) VALID / INVALID Cryptographic verification result TRUST INFRASTRUCTURE PKI or authenticated key distribution Digital signatures authenticate data; they do not inherently encrypt it
DIGITAL SIGNATURES AUTHENTICITY AND INTEGRITY
σ = Sign(sk, M) Verify(pk, M, σ) → Valid / Invalid The verification result depends on the message, signature and corresponding public key.

Digital signatures are fundamental to enterprise network security. They are used in certificate authorities, TLS authentication, signed software, firmware verification and numerous identity architectures.

ML-DSA and SLH-DSA provide standardised post-quantum signature mechanisms based on different mathematical security foundations.

1.10 Cryptographic Hash Functions

A cryptographic hash function maps an input of arbitrary supported length to a fixed-length output, or digest.

h = H(M) M = input message · H = hash function · h = digest
Property 01

Preimage Resistance

Given a digest, it should be computationally difficult to find an input that produces that digest.

Property 02

Second-Preimage Resistance

Given an existing message, it should be computationally difficult to find a different message with the same digest.

Property 03

Collision Resistance

It should be computationally difficult to find any two distinct inputs that produce the same digest.

Hash functions support digital signatures, key derivation, message authentication and many other cryptographic constructions.

A standalone unkeyed hash does not authenticate a message against an active attacker who can replace both the message and its digest.

Quantum algorithms affect different hash security properties in different ways. Consequently, quantum security analysis must distinguish preimage search from collision search and evaluate the complete construction.

1.11 The Foundational NIST Post-Quantum Standards

The three foundational standards published by NIST in August 2024 provide standardised post-quantum mechanisms for key encapsulation and digital signatures.

FIPS 203

ML-KEM

Module-Lattice-Based Key-Encapsulation Mechanism Standard.

ML-KEM-512
ML-KEM-768
ML-KEM-1024

FIPS 204

ML-DSA

Module-Lattice-Based Digital Signature Standard.

ML-DSA-44
ML-DSA-65
ML-DSA-87

FIPS 205

SLH-DSA

Stateless Hash-Based Digital Signature Standard.

SHA2-based variants
SHAKE-based variants
128, 192 and 256 parameter families

1.12 Understanding NIST Security Categories

NIST defines five security categories for evaluating post-quantum cryptographic mechanisms against reference computational attack costs.

These categories are not simply equivalent to a fixed number of quantum security bits. They provide comparison benchmarks involving symmetric key search and hash collision search.

NIST category Reference security benchmark Standardised examples
Category 1 Exhaustive key search against AES-128 ML-KEM-512, SLH-DSA-128 variants
Category 2 Collision search against SHA-256 ML-DSA-44
Category 3 Exhaustive key search against AES-192 ML-KEM-768, ML-DSA-65, SLH-DSA-192 variants
Category 4 Collision search against SHA-384 Reference evaluation category
Category 5 Exhaustive key search against AES-256 ML-KEM-1024, ML-DSA-87, SLH-DSA-256 variants
NIST SECURITY CATEGORY FRAMEWORK 1 AES-128 Key search ML-KEM-512 2 SHA-256 Collision search ML-DSA-44 3 AES-192 Key search ML-KEM-768 4 SHA-384 Collision search Reference category 5 AES-256 Key search ML-KEM-1024 Categories describe reference attack-cost benchmarks, not direct quantum bit-security conversions
SECURITY CATEGORY COMPARISON NIST REFERENCE BENCHMARKS
Security Category Selection Is an Engineering Decision

Selecting the highest available security category is not automatically the optimal architecture. Engineers must consider security requirements, regulatory profiles, interoperability, performance, memory consumption and the characteristics of the protected information.

1.13 Cryptographic Key and Signature Sizes

One of the most visible differences between conventional and post-quantum cryptography is the size of cryptographic objects exchanged or stored by network infrastructure.

Algorithm Public key Private key Ciphertext / Signature Function
X25519 32 B 32 B 32 B public key share Key agreement
Ed25519 32 B 32 B seed 64 B signature Digital signature
ML-KEM-512 800 B 1,632 B 768 B ciphertext Key encapsulation
ML-KEM-768 1,184 B 2,400 B 1,088 B ciphertext Key encapsulation
ML-KEM-1024 1,568 B 3,168 B 1,568 B ciphertext Key encapsulation
ML-DSA-44 1,312 B 2,560 B 2,420 B signature Digital signature
ML-DSA-65 1,952 B 4,032 B 3,309 B signature Digital signature
ML-DSA-87 2,592 B 4,896 B 4,627 B signature Digital signature
SLH-DSA-SHA2-128s 32 B 64 B 7,856 B signature Digital signature
SLH-DSA-SHA2-128f 32 B 64 B 17,088 B signature Digital signature

Sizes represent raw algorithm-defined cryptographic objects or conventional raw encodings. Actual certificate, protocol and key-storage sizes may differ because of metadata, encoding, seed-based representations and additional protocol fields.

RAW DIGITAL SIGNATURE SIZE COMPARISON 0 4,500 9,000 13,500 18,000 B Ed25519 64 B ML-DSA-44 2,420 B ML-DSA-65 3,309 B ML-DSA-87 4,627 B SLH-DSA-128s 7,856 B SLH-DSA-128f 17,088 B Linear scale — size comparison does not imply equivalent security categories
CRYPTOGRAPHIC OBJECT SIZES RAW SIGNATURE BYTES

1.14 Engineering Calculation — Key Establishment Overhead

Consider a simplified comparison between an X25519 key agreement exchange and an ML-KEM-768 encapsulation exchange.

X25519 exchanges two 32-byte public key shares. ML-KEM-768 exchanges a 1,184-byte encapsulation key and a 1,088-byte ciphertext.

Classical exchange

64 B

32-byte client key share plus 32-byte server key share.

Post-quantum exchange

2,272 B

1,184-byte encapsulation key plus 1,088-byte ciphertext.

2,272 ÷ 64 = 35.5 ML-KEM-768 exchanges 35.5 times as many raw cryptographic object bytes in this simplified comparison.

A hybrid exchange combining X25519 and ML-KEM-768 would carry 2,336 bytes of combined raw key-establishment material.

64 + 2,272 = 2,336 B Combined raw cryptographic objects, excluding protocol framing and authentication.

This does not mean the complete TLS handshake becomes 35.5 times larger. A real handshake includes protocol headers, extensions, certificates, signatures and other messages.

The engineering implication is that larger cryptographic objects may alter the number of transport segments required to establish a connection.

1.15 Cryptography and Network Transport

Cryptographic message sizes must be considered within the constraints of real network transport.

For an illustrative Ethernet path with a 1,500-byte IP MTU, IPv4 without options and TCP without options, the theoretical TCP payload per full-sized segment is 1,460 bytes.

1,500 − 20 − 20 = 1,460 B IP MTU minus IPv4 header minus TCP header. Actual available payload can be smaller.

The raw ML-KEM-768 public key and ciphertext individually fit within this theoretical payload size. However, they are carried inside larger protocol messages, and those messages may require multiple TCP segments.

Normal transport behaviour

TCP Segmentation

A TLS handshake message can span multiple TCP segments. This is normal behaviour and does not inherently indicate IP fragmentation or a protocol failure.

Potential transport problem

Path MTU and Middleboxes

Incorrect MTU handling, packet loss, blocked PMTU feedback or middleboxes with restrictive handshake assumptions may disrupt larger cryptographic exchanges.

Network engineers should evaluate actual packet captures and transport behaviour rather than assume that every larger cryptographic message causes fragmentation.

1.16 What Does Quantum-Resistant Actually Mean?

Quantum resistance means that a cryptographic mechanism is designed to remain secure against currently understood attacks using classical and quantum computational models.

It does not mean that an algorithm has been proven immune to every possible future attack.

Security layer 01

Mathematical Security

The underlying computational assumptions must remain resistant to practical attacks at the selected parameter sizes.

Security layer 02

Implementation Security

Software and hardware must correctly implement the algorithm and resist side-channel leakage, faults and inappropriate randomness handling.

Security layer 03

Protocol Security

The surrounding protocol must provide correct authentication, transcript binding, key derivation and negotiation protection.

An implementation can use a mathematically strong algorithm while remaining vulnerable because of compromised private keys, weak randomness, software defects, insecure configuration or protocol design errors.

1.17 Post-Quantum Cryptography versus Quantum Key Distribution

Post-quantum cryptography and Quantum Key Distribution, or QKD, are different approaches to security in the quantum computing era.

Characteristic Post-Quantum Cryptography Quantum Key Distribution
Foundation Computational mathematical problems Quantum physical properties
Deployment Compatible software and hardware implementations Specialised quantum communication equipment
Network integration Existing protocols with suitable cryptographic profiles Dedicated optical or other supported quantum channels
Primary purpose Key establishment and digital signatures Distribution of shared secret keying material
Authentication Post-quantum signatures or other suitable mechanisms Requires an authenticated classical communication channel
Infrastructure constraints Algorithm support, performance and interoperability Physical channel properties, equipment and topology

Post-quantum cryptographic algorithms run on conventional computing infrastructure. They do not require a quantum computer to perform normal cryptographic operations.

1.18 Quantum-Ready Enterprise Architecture

A quantum-ready enterprise must identify cryptographic dependencies across its entire technology environment rather than treating PQC as an isolated firewall or VPN feature.

ENTERPRISE QUANTUM-READY ARCHITECTURE CRYPTOGRAPHIC GOVERNANCE Cryptographic Inventory Algorithm Policy Migration Management Compliance Evidence APPLICATIONS Web Applications API Gateways Service Mesh NETWORK SECURITY TLS Termination VPN Gateways Secure Management IDENTITY & TRUST Certificate Authorities Device Identity Code Signing INFRASTRUCTURE Cryptographic Libraries HSM / Key Management Firmware / Operating Systems CRYPTOGRAPHIC OBSERVABILITY Negotiated Algorithms Handshake Performance Certificate Dependencies Fallback and Failures Conceptual capability model — governance and telemetry are not inline packet forwarding stages
ENTERPRISE PQC ARCHITECTURE GOVERNANCE · INFRASTRUCTURE · OBSERVABILITY

Enterprise quantum readiness requires coordinated changes across multiple infrastructure domains. A cloud gateway may support hybrid key establishment while a downstream service, internal PKI or management interface remains dependent on conventional public-key cryptography.

The complete architecture must therefore be assessed against specific security objectives and trust boundaries.

1.19 Cryptographic Agility

Cryptographic agility is the ability to replace, update or reconfigure cryptographic mechanisms in a controlled manner without unnecessarily redesigning the surrounding infrastructure.

Architecture A

Hard-Coded Cryptography

Applications directly depend on specific algorithms, fixed key sizes and rigid certificate formats. Cryptographic changes require extensive code modifications, testing and redeployment.

Architecture B

Crypto-Agile Infrastructure

Applications use supported cryptographic abstractions, configurable policies, maintained libraries and controlled algorithm negotiation. Changes can be introduced through validated lifecycle processes.

Crypto-agility does not mean allowing arbitrary algorithms or uncontrolled negotiation. Security policy must restrict cryptographic choices to approved mechanisms and prevent unintended fallback to weaker protection.

1.20 Production Engineering Scenario — Is the Network Quantum-Safe?

Architecture investigation · Case study 01

Hybrid TLS at the Enterprise Edge

An enterprise introduces hybrid X25519 and ML-KEM-768 key establishment on its public-facing application gateway.

The security team describes the entire application architecture as quantum-safe because the public TLS connection now uses a post-quantum component.

CRYPTOGRAPHIC TRUST BOUNDARY INVESTIGATION EXTERNAL CLIENT Hybrid-capable TLS client PQC key establishment supported APPLICATION GATEWAY TLS termination Conventional certificate BACKEND SERVICE Internal TLS endpoint Conventional ECDHE HYBRID TLS CLASSICAL TLS ENTERPRISE PKI Conventional certificate-signing infrastructure Hybrid protection on one connection does not automatically extend across other trust boundaries
PRODUCTION ARCHITECTURE INVESTIGATION PARTIAL POST-QUANTUM MIGRATION

1.21 Engineering Investigation and Findings

01

Examine the External TLS Connection

Verify that the client and gateway actually negotiated the intended hybrid key-establishment group. Configuration support alone is insufficient evidence of negotiated protection.

02

Examine Certificate Authentication

Determine which certificate and signature algorithms authenticate the gateway. Hybrid key establishment does not automatically replace conventional certificate signatures.

03

Examine the Backend Connection

Identify whether the gateway terminates the external connection and creates a separate TLS session towards the backend application. Each connection has its own cryptographic security properties.

04

Examine the Enterprise PKI

Review certificate authorities, trust anchors, signing algorithms, key storage and the compatibility of relying applications.

05

Document the Actual Protection Boundary

Record which communication paths provide post-quantum key establishment, which authentication dependencies remain classical and which services require further migration.

Investigation Conclusion

The enterprise has improved the quantum resistance of key establishment on its external TLS connection. However, this does not demonstrate complete post-quantum authentication or end-to-end quantum-resistant protection across every infrastructure dependency.

1.22 Practical Cryptographic Discovery

Engineers can begin investigating cryptographic capabilities using tools such as OpenSSL. The available algorithms and command options depend on the installed OpenSSL version, build configuration and active providers.

CRYPTOGRAPHIC DISCOVERY TERMINAL
# Identify the installed OpenSSL version

openssl version -a


# Identify active cryptographic providers

openssl list -providers


# List available key encapsulation mechanisms
# Requires a version supporting this list option

openssl list -kem-algorithms


# List available digital signature algorithms

openssl list -signature-algorithms


# Examine a local X.509 certificate

openssl x509 -in certificate.pem -text -noout


# Inspect a TLS connection

openssl s_client \
  -connect example.com:443 \
  -servername example.com \
  -tls1_3 \
  -showcerts


# Display supported command options

openssl s_client -help
openssl list -help

These commands help establish an initial cryptographic inventory. They do not independently prove that every application, gateway or remote service supports or negotiates post-quantum cryptography.

A production investigation should correlate endpoint capabilities, negotiated TLS groups, certificate algorithms, configuration policy and packet-level observations.

1.23 Common Post-Quantum Cryptography Misconceptions

Misconception Engineering reality
All encryption becomes obsolete. Quantum computing affects cryptographic mechanisms differently. Appropriate symmetric encryption remains essential.
PQC requires quantum computers. Post-quantum algorithms operate on conventional computing infrastructure.
ML-KEM encrypts application traffic. ML-KEM establishes shared secrets. Symmetric authenticated encryption protects application traffic.
Hybrid TLS automatically provides PQC authentication. Key establishment and certificate authentication are separate functions.
Larger keys always mean stronger security. Security depends on the algorithm, mathematical assumptions and selected parameter set.
Larger handshakes always cause IP fragmentation. TCP segmentation is distinct from IP fragmentation. Actual behaviour depends on the transport and network path.
Quantum-resistant means unbreakable. Security remains conditional on current cryptanalytic understanding and correct implementation.
Installing a PQC-capable library completes migration. Applications must use appropriate mechanisms, negotiate them successfully and validate the resulting security properties.

1.24 Key Engineering Takeaways

✓

Post-quantum cryptography primarily addresses vulnerabilities in conventional public-key cryptographic mechanisms.

✓

ML-KEM establishes shared secrets, while ML-DSA and SLH-DSA provide digital signatures.

✓

Symmetric authenticated encryption remains central to application data protection.

✓

Post-quantum algorithms introduce different mathematical assumptions and cryptographic object sizes.

✓

Key establishment, authentication and cryptographic trust must be assessed separately.

✓

Quantum readiness requires coordinated migration across applications, network infrastructure, PKI and security operations.

Apply Your Knowledge — Interactive Engineering Lab

Interactive Engineering Widget 01

Quantum Threat and Cryptography Explorer

Explore how different cryptographic mechanisms contribute to network security. Compare conventional and post-quantum algorithms, examine their security roles and investigate how individual cryptographic dependencies affect an enterprise architecture.

Explore

Select cryptographic mechanisms and inspect their security functions.

Experiment

Change the cryptographic architecture and examine quantum-related exposure.

Investigate

Identify remaining conventional cryptographic dependencies.

Technical Standards and References

Continue your engineering journey

Section 02 — Quantum Computing and Cryptographic Threats

Explore quantum computational models, Shor's algorithm, Grover's algorithm, cryptographic attack complexity and enterprise quantum risk.

NEXT SECTION →
Network Insight · Interactive Engineering 01

Quantum Threat & Cryptography Explorer

Investigate how future cryptographically relevant quantum computers could affect enterprise network security. Explore classical cryptography, post-quantum algorithms, hybrid architectures and long-term data confidentiality.

Quantum Black & Chrome Edition ML-KEM ML-DSA SLH-DSA Hybrid Cryptography Cryptographic Agility
Threat Environment — Assumed adversary capability
Key Establishment — Session secret protection
Authentication — Identity and trust
Data Encryption — Symmetric protection
Architecture Assessment — Educational security model
Architecture Controls

Cryptographic Configuration

The quantum scenario assumes a hypothetical cryptographically relevant quantum computer capable of attacking conventional public-key cryptography. It is not a claim that such an operational capability exists today.
Interactive Security Digital Twin

Enterprise Cryptographic Architecture

Cryptographic Security Assessment

Security Dependency Explorer

Three Independent Cryptographic Responsibilities

Cryptographic function Selected mechanism Purpose Quantum assessment
Post-quantum key establishment does not automatically provide post-quantum authentication. Similarly, increasing the AES key length does not repair a vulnerable RSA or elliptic-curve key exchange. Each cryptographic dependency must be evaluated independently.
Algorithm Intelligence

Cryptographic Algorithm Explorer

Long-Term Confidentiality

Harvest Now, Decrypt Later Simulator

Explore why sensitive information encrypted today may require quantum-resistant key establishment before large-scale quantum computers become available.

Migration Planning Model

Planning heuristic: confidentiality lifetime + migration duration compared with the assumed quantum threat horizon. The horizon is a user-defined scenario, not a forecast.
Captured session Key establishment Classification Lifetime Future exposure
No encrypted sessions have been captured.
Cryptographic Inventory

Enterprise Quantum Exposure Assessment

Apply the selected cryptographic architecture to an infrastructure component and inspect the remaining migration exposure across the estate.

Infrastructure Key establishment Authentication Encryption Quantum exposure Configuration

This inventory models logical cryptographic dependencies. Applying a configuration does not establish that a particular VPN, firewall, certificate authority or cloud service supports those algorithms in its production protocol stack.
NIST Post-Quantum Standards

The Three Foundational PQC Standards

Key Encapsulation
FIPS 203

ML-KEM

Module-Lattice-Based Key-Encapsulation Mechanism. Establishes shared secret material for subsequent symmetric cryptographic protection.

ML-KEM-512 · 768 · 1024

Read official NIST standard
Digital Signatures
FIPS 204

ML-DSA

Module-Lattice-Based Digital Signature Algorithm. Provides digital signature generation and verification for authenticity and integrity.

ML-DSA-44 · 65 · 87

Read official NIST standard
Hash-Based Signatures
FIPS 205

SLH-DSA

Stateless Hash-Based Digital Signature Algorithm. Provides an alternative post-quantum signature construction based on hash functions.

SHA2 and SHAKE parameter families

Read official NIST standard
Engineering Diagnostics

Cryptographic Security Console

Vendor-neutral educational CLI. Enter help to list available commands.

Interactive Engineering Challenges

Investigate and Modernise the Security Architecture

Active Challenge

Select an Engineering Challenge

Explore the cryptographic controls and collect evidence using the diagnostic console.

02
Network Insight · Quantum Threat Engineering

Quantum Computing and Cryptographic Threats

Quantum computing introduces a fundamentally different computational model that changes the complexity of certain mathematical problems underlying modern cryptography. Understanding this threat requires more than knowing that quantum computers are powerful. Engineers must understand which computational problems become easier, which cryptographic mechanisms are affected and how those changes translate into enterprise security risk.

Quantum computers do not accelerate every computational task equally. Their relevance to cryptography comes from specific quantum algorithms that exploit superposition, interference and entanglement to solve particular classes of mathematical problems.

Objective 01

Understand

Explore qubits, quantum gates, measurement and quantum computational models.

Objective 02

Analyse

Examine Shor's and Grover's algorithms and their cryptographic implications.

Objective 03

Investigate

Understand historical ciphertext exposure and long-term confidentiality risk.

Objective 04

Engineer

Translate quantum threats into practical migration priorities and security controls.

2.1 Classical Computing versus Quantum Computing

Classical computers represent information using bits. Each classical bit has a value of either zero or one. Classical computation manipulates these values using logical operations implemented through electronic circuits.

Quantum computers represent information using quantum bits, or qubits. A qubit is described by a quantum state that can contain complex-valued amplitudes associated with the computational basis states zero and one.

Classical information

Classical Bit

0 1 OR

A classical bit occupies one logical state at a particular instant.

Quantum information

Quantum Bit

|0⟩ |1⟩ |ψ⟩

A pure qubit state can be represented geometrically using the Bloch sphere.

2.2 Understanding Qubits and Superposition

A general pure single-qubit state can be represented as a linear combination of two computational basis states.

|ψ⟩ = α|0⟩ + β|1⟩ |α|² + |β|² = 1 α and β are complex probability amplitudes. Their squared magnitudes determine measurement probabilities.

When measured in the computational basis, the qubit produces either zero or one. The probability of each outcome is determined by the corresponding amplitude.

Measurement outcome
P(0) = |α|²

Probability of observing the computational basis state zero.

Measurement outcome
P(1) = |β|²

Probability of observing the computational basis state one.

An equal-amplitude superposition produces zero and one with equal probability when measured in this basis. However, the relative phase between amplitudes also matters because it influences subsequent interference.

|+⟩ = (|0⟩ + |1⟩) / √2 |−⟩ = (|0⟩ − |1⟩) / √2 Both states produce identical computational-basis measurement probabilities, but have different relative phases.
Superposition Is Not Unlimited Parallel Readout

A quantum computer cannot simply evaluate every possible answer and then read all those answers simultaneously. Useful quantum algorithms manipulate amplitudes so that measurement reveals information about the desired solution.

2.3 Multi-Qubit Systems and Exponential State Spaces

The mathematical state space of an n-qubit register contains 2ⁿ computational basis states. A general pure state requires an amplitude for each basis state.

1 Qubit
2

Computational basis states.

3 Qubits
8

Computational basis states.

10 Qubits
1,024

Computational basis states.

50 Qubits
2⁵⁰

Approximately 1.126 quadrillion basis states.

THREE-QUBIT COMPUTATIONAL BASIS ψ 0 1 00 01 10 11 |000⟩ |001⟩ |010⟩ |011⟩ |100⟩ |101⟩ |110⟩ |111⟩ Eight basis states — measurement returns one basis outcome
QUANTUM STATE SPACE 2ⁿ COMPUTATIONAL BASIS STATES

Exponential state-space growth does not automatically imply exponential speedup for arbitrary problems. The computational advantage depends on whether an algorithm can exploit the structure of the problem through suitable quantum operations.

2.4 Quantum Entanglement

Entanglement occurs when a composite quantum state cannot be expressed as a product of independent quantum states for its constituent systems.

A commonly used example is the two-qubit Bell state.

|Φ⁺⟩ = (|00⟩ + |11⟩) / √2 Computational-basis measurement produces correlated outcomes: 00 or 11, each with probability one-half.
ENTANGLED TWO-QUBIT SYSTEM Q₀ Q₁ (|00⟩ + |11⟩) / √2 Joint quantum state 00 · Probability 50% 11 · Probability 50% Entanglement does not enable faster-than-light communication
QUANTUM ENTANGLEMENT BELL STATE CORRELATION

Entanglement is an important resource in many quantum computational and communication protocols. It allows quantum systems to exhibit correlations that cannot generally be described using independent local states.

2.5 Quantum Gates and Quantum Circuits

Quantum gates transform quantum states. Ideal closed-system quantum gates are represented by unitary operations, preserving the normalisation of the quantum state.

Quantum circuits combine these gates into structured sequences that prepare states, manipulate amplitudes and extract information through measurement.

Pauli-X
X

Bit Flip

Exchanges the basis states |0⟩ and |1⟩.

Hadamard
H

Superposition

Transforms computational-basis states into equal-amplitude superpositions.

Pauli-Z
Z

Phase Flip

Changes the sign of the |1⟩ amplitude while preserving |0⟩.

Controlled-NOT
CX

Controlled Operation

Flips a target qubit when the control qubit is in basis state one.

BELL STATE QUANTUM CIRCUIT |0⟩ |0⟩ H Hadamard Controlled-NOT Measurement Classical bit 0 Classical bit 1 |00⟩ → (|00⟩ + |10⟩)/√2 → (|00⟩ + |11⟩)/√2
QUANTUM CIRCUIT ARCHITECTURE PREPARE · ENTANGLE · MEASURE

The Hadamard gate first creates a superposition on the control qubit. The controlled-NOT operation then entangles the two qubits. Measurement converts the resulting quantum information into classical outcomes.

2.6 Quantum Interference and Computational Advantage

Quantum algorithms manipulate complex amplitudes. When computational paths contribute to the same outcome, their amplitudes combine.

Constructive interference increases the magnitude of certain amplitudes, while destructive interference can reduce or cancel others.

QUANTUM INTERFERENCE — CONCEPTUAL WAVE MODEL CONSTRUCTIVE INTERFERENCE DESTRUCTIVE INTERFERENCE Reinforced amplitude Cancelled amplitude Educational analogy — quantum amplitudes are generally complex-valued
AMPLITUDE MANIPULATION CONSTRUCTIVE AND DESTRUCTIVE INTERFERENCE

Quantum interference is central to understanding why useful quantum computation is not equivalent to ordinary parallel processing. The algorithm must arrange operations so that relevant information becomes observable through the resulting measurement distribution.

2.7 Quantum Computing Hardware Architectures

Quantum computing hardware can be implemented using several physical technologies. Each has different engineering constraints involving coherence, control, connectivity, gate fidelity and scalability.

Hardware platform 01

Superconducting Qubits

Quantum states are implemented using superconducting electrical circuits, commonly operated at extremely low temperatures. Microwave control signals perform quantum operations.

Hardware platform 02

Trapped Ions

Individual ions are confined using electromagnetic fields. Quantum information is encoded in internal states and manipulated using suitable optical or microwave control systems.

Hardware platform 03

Neutral Atoms

Arrays of neutral atoms are controlled using optical trapping and laser systems. Interactions between atoms enable multi-qubit operations.

Hardware platform 04

Photonic Quantum Computing

Quantum information is encoded in properties of photons and processed using optical components, measurement and associated control infrastructure.

The number of physical qubits alone is not a sufficient measure of cryptographic attack capability. Circuit depth, logical error rates, connectivity, error correction overhead and execution time are equally important.

2.8 Physical Qubits, Logical Qubits and Quantum Error Correction

Physical qubits are susceptible to errors caused by environmental interactions, imperfect control operations, measurement noise and other hardware limitations.

Quantum error correction encodes logical quantum information across multiple physical qubits and uses syndrome measurements to detect and manage errors without directly measuring the encoded logical information.

FAULT-TOLERANT QUANTUM COMPUTING ARCHITECTURE LOGICAL QUBIT Encoded quantum information PHYSICAL QUBIT ARRAY SYNDROME MEASUREMENT Detect error information CLASSICAL DECODER Infer likely error configuration CORRECTION / FRAME UPDATE Manage detected errors Conceptual architecture — not a specific surface-code implementation
QUANTUM ERROR CORRECTION PHYSICAL AND LOGICAL QUBITS
Physical layer

Physical Error Rate

Errors associated with physical quantum operations, state preparation, measurement and idle periods.

Encoding layer

Code Distance

A property of a quantum error-correcting code related to its ability to detect and correct errors.

Logical layer

Logical Error Rate

Residual error probability affecting encoded logical operations after error management.

Fault-tolerant quantum computation requires more than storing logical qubits. Logical gates, measurement, state preparation and supporting operations must also be implemented with sufficiently low failure probabilities.

2.9 Cryptographically Relevant Quantum Computers

A Cryptographically Relevant Quantum Computer, or CRQC, is a quantum computing system capable of executing cryptographically significant attacks against relevant deployed cryptographic mechanisms within a useful operational timeframe.

This is a capability threshold rather than a universal physical-qubit count.

Requirement 01

Logical Capacity

Sufficient reliable logical qubits to represent and process the mathematical problem.

Requirement 02

Fault-Tolerant Operations

Sufficiently low logical error rates across the required quantum circuit.

Requirement 03

Practical Runtime

Ability to complete the computation within a timeframe relevant to the attack objective.

Do Not Confuse Qubit Count with Cryptographic Capability

A quantum processor with a large number of noisy physical qubits does not automatically possess the logical capacity, reliability or circuit execution capability required to compromise production RSA or elliptic-curve cryptography. Resource estimates depend on the algorithm, hardware, error-correction architecture and runtime assumptions.

2.10 Shor's Algorithm and the Public-Key Cryptographic Threat

Shor's algorithm demonstrates that integer factorisation and discrete logarithm problems can be solved efficiently in the theoretical quantum computational model.

This is particularly significant because these problems underpin widely deployed conventional public-key cryptographic mechanisms.

Exposed mechanism

RSA

A sufficiently capable quantum computer could factor the public modulus and recover the information needed to reconstruct private-key operations.

Exposed mechanism

Diffie-Hellman

Efficient quantum discrete logarithm computation threatens conventional finite-field Diffie-Hellman key agreement.

Exposed mechanism

Elliptic-Curve Cryptography

Quantum discrete logarithm algorithms threaten ECDH, ECDSA, X25519, Ed25519 and related conventional elliptic-curve constructions.

SHOR'S ALGORITHM — CONCEPTUAL FACTORISATION PIPELINE CLASSICAL INPUT Composite integer N QUANTUM ORDER-FINDING SUBROUTINE State Preparation Modular Arithmetic Phase Estimation Measurement Quantum registers Controlled operations Fourier techniques Classical samples CLASSICAL POST-PROCESSING Recover candidate order · Compute GCDs · Verify factors
QUANTUM FACTORISATION SHOR'S ALGORITHM

The quantum component of the integer factorisation algorithm focuses on order finding. Classical preprocessing and post-processing transform suitable order information into candidate factors.

Practical execution against production-sized RSA moduli requires substantial fault-tolerant quantum computational resources.

2.11 Mathematical Example — Order Finding and Factorisation

Consider a deliberately small educational example involving the composite integer 15.

N = 15 a = 2 Choose a value a that is relatively prime to N.

The order r is the smallest positive integer satisfying the following modular relationship.

aʳ ≡ 1 mod N
Exponent Calculation Result modulo 15
12¹ = 22
22² = 44
32³ = 88
42⁴ = 161

The order is therefore four. Since the order is even and the necessary conditions are satisfied in this example, classical greatest-common-divisor calculations can recover the factors.

gcd(2² − 1, 15) = 3 gcd(2² + 1, 15) = 5 15 = 3 × 5

This small example illustrates the mathematical relationship between order finding and factorisation. It does not demonstrate the hardware resources required to factor a production RSA modulus.

2.12 Grover's Algorithm and Symmetric Cryptography

Grover's algorithm provides a quadratic query-complexity improvement for unstructured search problems in the ideal quantum oracle model.

For a search space containing N possibilities and a single marked solution, the classical exhaustive-search complexity is proportional to N, while the quantum query complexity is proportional to the square root of N.

Classical search: O(N) Quantum search: O(√N)
GROVER'S ALGORITHM — AMPLITUDE AMPLIFICATION INITIAL STATE ORACLE + DIFFUSION AMPLIFIED SOLUTION Uniform starting amplitudes Increase marked-state amplitude High measurement probability Schematic amplitude magnitudes — not numerically normalised circuit output
QUANTUM SEARCH AMPLITUDE AMPLIFICATION

Unlike Shor's algorithm against RSA and discrete logarithm cryptography, Grover's algorithm does not provide the same type of exponential asymptotic improvement against symmetric key search.

Larger symmetric key sizes can provide additional security margin against idealised quantum search.

2.13 Engineering Calculation — Symmetric Key Search

Symmetric key size Classical search space Ideal quantum query scaling Engineering interpretation
128 bits 2¹²⁸ Approximately 2⁶⁴ Reduced idealised brute-force security margin.
192 bits 2¹⁹² Approximately 2⁹⁶ Additional margin against quantum key search.
256 bits 2²⁵⁶ Approximately 2¹²⁸ Substantial idealised quantum search complexity.
Query Complexity Is Not Attack Runtime

These figures describe idealised search scaling. They do not directly specify the number of physical quantum gates, hardware requirements, execution time or financial cost of an attack. Real quantum key search requires reversible cryptographic circuits, error correction and extensive computational resources.

2.14 Quantum Threats Against Cryptographic Hash Functions

Cryptographic hash functions have several distinct security properties. Quantum algorithms affect these properties differently.

Security property Generic classical complexity Ideal quantum query complexity
Preimage search O(2ⁿ) O(2ⁿ⁄²)
Second-preimage search O(2ⁿ) O(2ⁿ⁄²)
Collision search O(2ⁿ⁄²) O(2ⁿ⁄³) in suitable quantum query models

Here, n represents the output length of an idealised hash function in bits. These generic bounds do not automatically describe the security of every hash-based protocol or digital signature construction.

Quantum collision-search algorithms also have resource requirements that are not captured by query complexity alone.

2.15 Cryptographic Quantum Exposure Matrix

Mechanism Security foundation Quantum threat Engineering response
RSA Integer factorisation Shor's algorithm Migrate affected encryption and signature dependencies.
DH / DHE Finite-field discrete logarithms Shor's algorithm Adopt supported PQC or hybrid key establishment.
ECDH / ECDHE Elliptic-curve discrete logarithms Shor's algorithm Introduce appropriate PQC key establishment.
ECDSA / EdDSA Elliptic-curve discrete logarithms Shor's algorithm Plan post-quantum authentication and signing migration.
AES Symmetric key security Grover-type key search Evaluate approved key sizes and security margins.
SHA-2 / SHA-3 Hash security properties Property-dependent quantum attacks Evaluate output length and complete construction.
ML-KEM Module-lattice assumptions Designed for quantum resistance Deploy approved implementations and protocol profiles.
ML-DSA Module-lattice assumptions Designed for quantum resistance Validate signing, verification and trust infrastructure.
SLH-DSA Hash-based signature construction Designed for quantum resistance Evaluate signature overhead and operational suitability.

2.16 Harvest Now, Decrypt Later

Harvest Now, Decrypt Later describes the risk that encrypted information collected today could become readable in the future if the cryptographic mechanisms protecting its session keys are subsequently compromised.

An adversary does not need access to a cryptographically relevant quantum computer at the time of collection. The encrypted communication can be retained until suitable computational capabilities become available.

LONG-TERM CONFIDENTIALITY THREAT ENCRYPTED SESSION Conventional key establishment CIPHERTEXT RETENTION Historical encrypted traffic and relevant handshake data FUTURE CAPABILITY Cryptographically relevant quantum system CONFIDENTIALITY LOSS Historical data potentially exposed if relevant keys can be recovered Hypothetical future threat — no specific CRQC arrival date assumed
HARVEST NOW, DECRYPT LATER HISTORICAL CIPHERTEXT EXPOSURE

The significance of this threat depends on the confidentiality lifetime of the information, the cryptographic mechanisms used, the availability of relevant captured material and future attack capability.

2.17 Forward Secrecy and the Quantum Threat

Conventional forward secrecy protects historical sessions against subsequent compromise of long-term authentication keys, provided the ephemeral secrets were generated and destroyed correctly.

However, conventional ephemeral Diffie-Hellman and elliptic-curve Diffie-Hellman exchanges still depend on discrete logarithm assumptions.

Conventional protection

Long-Term Key Compromise

Correctly implemented ephemeral key agreement prevents possession of the server's long-term signing key alone from revealing previous session secrets.

Quantum exposure

Ephemeral Mathematical Assumptions

A sufficiently capable quantum computer could potentially recover ephemeral secret information from recorded conventional public key shares, undermining historical session confidentiality.

Forward Secrecy Is Not Automatically Post-Quantum Forward Secrecy

Conventional ECDHE provides valuable protection against long-term key compromise, but does not independently address future quantum attacks against the elliptic-curve discrete logarithm problem.

2.18 Enterprise Quantum Risk — Mosca's Inequality

A useful framework for understanding migration urgency is the relationship between information security lifetime, migration duration and the time until a relevant quantum threat becomes available.

X + Y > Z X = required confidentiality lifetime
Y = cryptographic migration duration
Z = assumed time until relevant quantum attack capability

If the required confidentiality lifetime plus the migration duration exceeds the assumed time until quantum attack capability, an organisation may already face a migration-timing problem.

Confidentiality lifetime
15 years

Illustrative sensitive information lifetime.

Migration duration
5 years

Illustrative enterprise transition period.

Threat scenario
12 years

Hypothetical planning assumption, not a prediction.

15 + 5 > 12 20 − 12 = 8 years Illustrative planning gap under the selected assumptions. This is not a prediction of quantum computer availability.
QUANTUM MIGRATION RISK MODEL Year 0 5 10 15 20 Migration Y = 5 years Data lifetime X = 15 years Threat horizon Z = 12 years Hypothetical threat threshold 8-YEAR PLANNING GAP Simplified planning model using the final pre-migration data cohort
ENTERPRISE MIGRATION PLANNING MOSCA'S INEQUALITY

2.19 Data Classification and Confidentiality Lifetime

Quantum migration priorities should reflect the security lifetime of the information being protected. Not every application has the same confidentiality or authenticity requirements.

Information category Illustrative sensitivity lifetime Quantum migration consideration
Public website content Minimal confidentiality requirement Authentication and integrity may remain important.
Short-lived application sessions Minutes to months Assess actual application data and identity dependencies.
Commercial contracts Several years or longer Evaluate confidentiality and long-term signature validation.
Intellectual property Potentially decades Prioritise long-term confidentiality protection.
Medical and personal records Potentially decades Assess long-term privacy and regulatory obligations.
Critical infrastructure firmware Device operational lifetime Prioritise durable code-signing and trust mechanisms.
Long-lived root certificates PKI operational lifetime Plan trust-anchor and certificate lifecycle migration.

These lifetimes are illustrative. Actual requirements must be determined through organisational data classification, regulatory obligations, operational dependencies and business risk assessment.

2.20 Quantum Threats Against Authentication and Digital Trust

Quantum risk is not limited to decrypting historical network traffic. Conventional digital signatures underpin certificate authorities, software distribution, firmware validation and identity infrastructure.

A future ability to derive private signing information from vulnerable public keys could undermine the authenticity of newly generated signatures.

ENTERPRISE DIGITAL TRUST DEPENDENCIES ROOT OF TRUST Conventional public-key signing dependency TLS Certificates Device Identity Software Signing Firmware Trust Service authentication Network admission Application integrity Secure boot validation Trust dependency Trust dependency Trust dependency Trust dependency COMPROMISED SIGNING TRUST CAN AFFECT MULTIPLE RELYING SYSTEMS
QUANTUM AUTHENTICATION THREAT TRANSITIVE TRUST DEPENDENCIES

A real enterprise commonly uses multiple trust anchors and independent signing hierarchies. The diagram illustrates how a vulnerable shared trust dependency could affect several relying systems.

2.21 Network Infrastructure Quantum Exposure Domains

Domain 01

TLS and HTTPS

Public-facing services, API gateways, load balancers, internal service communication and mutual TLS.

Domain 02

IPsec and VPN Infrastructure

IKE key establishment, gateway authentication, site-to-site tunnels and remote access services.

Domain 03

SSH and Management Access

Host keys, user authentication, key exchange and administrative management channels.

Domain 04

Public Key Infrastructure

Root certificates, intermediate authorities, certificate issuance and validation services.

Domain 05

Routing Security

Cryptographic dependencies in RPKI, BGPsec and other signed routing-security objects.

Domain 06

IoT and Operational Technology

Long-lived devices, constrained cryptographic implementations, secure boot and firmware signing.

Domain 07

Cloud and Kubernetes

Service mesh identities, ingress gateways, workload certificates and cloud management APIs.

Domain 08

Software Supply Chain

Signed packages, container images, build attestations and software distribution systems.

Domain 09

Data Protection

Encrypted archives, backup key management, public-key wrapping and long-term data retention.

2.22 Engineering a Quantum Migration Priority Model

Organisations can construct an internal scoring model to prioritise cryptographic dependencies. The following is an illustrative engineering heuristic rather than a formal NIST risk standard.

Priority = 0.30C + 0.25E + 0.25M + 0.20B C = confidentiality or trust lifetime
E = exposure to vulnerable cryptographic mechanisms
M = migration difficulty
B = business impact
Each variable is scored from 1 to 5.
Infrastructure C E M B Priority score
Medical records gateway 5545 4.75
Industrial firmware signing 5455 4.75
Enterprise root PKI 5455 4.75
Internal API gateway 3434 3.45
Public information website 2423 2.70

A high score identifies a candidate for earlier investigation and migration planning. It does not automatically determine the final deployment sequence, which must also account for technical dependencies, available products and approved security profiles.

2.23 Production Engineering Scenario — The Long-Lived Data Problem

Case study · Quantum risk investigation

Distributed Healthcare Infrastructure

A healthcare organisation operates multiple hospitals, cloud-hosted applications, centralised medical records and remote diagnostic services. Sensitive information is transmitted through conventional TLS connections and site-to-site IPsec VPNs.

The organisation estimates that some information requires confidentiality for twenty years. Its cryptographic migration programme may require four years because of legacy systems and third-party medical equipment.

DISTRIBUTED HEALTHCARE CRYPTOGRAPHIC ARCHITECTURE HOSPITAL A HOSPITAL B REMOTE CLINIC Medical systems Diagnostic equipment Remote patient services SECURITY GATEWAY VPN and TLS termination Conventional key establishment CLOUD APPLICATIONS Clinical applications Independent TLS sessions MEDICAL RECORDS Long-lived sensitive data 20-year confidentiality objective ENTERPRISE PKI Certificate and device trust Multiple cryptographic trust boundaries require independent assessment
PRODUCTION QUANTUM RISK INVESTIGATION HEALTHCARE NETWORK ARCHITECTURE

2.24 Investigating the Production Environment

01

Identify Sensitive Data Flows

Determine which network paths carry information with long-term confidentiality requirements. Identify gateways, application endpoints and intermediate termination points.

02

Discover Cryptographic Dependencies

Inventory negotiated TLS groups, VPN key exchange, certificate signatures, cryptographic libraries, key management systems and device capabilities.

03

Assess Historical Exposure

Determine whether recorded network traffic could contain sufficient cryptographic material to threaten long-term confidentiality under a future quantum attack scenario.

04

Identify Migration Constraints

Examine legacy medical equipment, vendor support, hardware replacement cycles, certificate dependencies and interoperability requirements.

05

Establish a Controlled Migration Programme

Prioritise sensitive communication paths, validate supported post-quantum or hybrid mechanisms and measure operational effects before broad production deployment.

2.25 Engineering Calculation — Threat Horizon Scenario Analysis

Rather than assuming a single date for quantum attack capability, the healthcare organisation evaluates multiple hypothetical planning scenarios.

X = 20 years Y = 4 years X + Y = 24 years
Planning scenario Assumed threat horizon Calculation Planning gap
Earlier capability 8 years 24 − 8 16 years
Intermediate capability 15 years 24 − 15 9 years
Later capability 25 years 24 − 25 −1 year
Investigation Finding

The organisation's migration priorities should not depend on accurately predicting when a cryptographically relevant quantum computer will arrive. Long-lived information and lengthy migration cycles can justify preparatory action even when the threat horizon remains uncertain.

2.26 Cryptographic Discovery and Engineering Evidence

Quantum risk cannot be assessed accurately using architecture diagrams alone. Engineers require evidence of the cryptographic mechanisms actually configured, supported and negotiated by production systems.

● ● ●   CRYPTOGRAPHIC DISCOVERY TERMINAL
# Identify local cryptographic capabilities

openssl version -a
openssl list -providers
openssl list -signature-algorithms


# Inspect a TLS endpoint you are authorised to assess

openssl s_client \
  -connect example.com:443 \
  -servername example.com \
  -tls1_3 \
  -showcerts


# Inspect an exported certificate

openssl x509 \
  -in server-cert.pem \
  -text \
  -noout


# Inspect local SSH algorithm support

ssh -Q kex
ssh -Q key


# Inspect effective SSH client configuration

ssh -G example.com


# Examine Linux IPsec security associations
# Requires appropriate local permissions

sudo ip xfrm state
sudo ip xfrm policy


# Capture authorised TLS handshake traffic

sudo tcpdump -i eth0 -s 0 \
  -w tls-investigation.pcap \
  'tcp port 443'

The available commands and output fields depend on software versions, operating systems and configuration. IPsec state inspection can expose sensitive keying material and must be handled securely.

The presence of an algorithm in a local capability list does not demonstrate that the algorithm was successfully negotiated by a production connection.

2.27 Packet-Level Quantum Exposure Investigation

A TLS 1.3 packet capture can reveal useful information about conventional or post-quantum key-establishment negotiation through the visible ClientHello and ServerHello messages, subject to the protocol configuration and capture conditions.

●   ILLUSTRATIVE TLS HANDSHAKE EVIDENCE
Frame 01
TCP SYN

Frame 02
TCP SYN, ACK

Frame 03
TCP ACK

TLS ClientHello
  Supported Versions: TLS 1.3
  Supported Groups:
    x25519
    secp256r1
  Key Share:
    x25519

TLS ServerHello
  Selected Version: TLS 1.3
  Cipher Suite:
    TLS_AES_256_GCM_SHA384
  Key Share:
    x25519

Subsequent TLS Records
  Encrypted handshake messages
  Encrypted application data


ENGINEERING FINDINGS
------------------------------------------
Protocol:          TLS 1.3
Key establishment: Conventional X25519
Data protection:   AES-256-GCM
PQC key exchange:  Not observed
------------------------------------------

Assessment:
Strong symmetric encryption does not
independently remove the quantum exposure
of conventional key establishment.

This is synthetic teaching evidence rather than an actual packet capture. In TLS 1.3, server certificate and CertificateVerify messages are normally encrypted after the ServerHello, so certificate authentication details require suitable endpoint evidence or authorised session decryption.

2.28 Common Quantum Security Misconceptions

Misconception Engineering reality
Quantum computers accelerate every task. Quantum advantages are problem- and algorithm-dependent.
Superposition reveals every answer simultaneously. Measurement produces limited classical information; algorithms must exploit interference.
Thousands of physical qubits automatically break RSA. Logical capacity, reliability, circuit depth and runtime must also be considered.
Grover's algorithm breaks AES in the same way Shor breaks RSA. Grover provides a quadratic search improvement rather than the same type of mathematical breakthrough.
AES-256 makes an entire TLS session quantum-resistant. Key establishment and authentication must also be assessed.
Conventional forward secrecy eliminates quantum risk. Ephemeral conventional key agreement remains dependent on vulnerable mathematical assumptions.
Quantum migration can wait until a CRQC exists. Long-term confidentiality and migration lead times can create earlier exposure.
Every historical digital signature automatically becomes invalid. Long-term trust depends on signature timing, validation evidence, timestamps and archival security mechanisms.
Post-quantum algorithms eliminate every security risk. Implementation security, key management and protocol correctness remain essential.

2.29 Key Engineering Takeaways

✓

Quantum computing changes the complexity of particular computational problems rather than universally accelerating computation.

✓

Shor's algorithm threatens the mathematical foundations of conventional RSA, Diffie-Hellman and elliptic-curve cryptography.

✓

Grover's algorithm affects generic symmetric key search through quadratic query-complexity improvement.

✓

Physical qubit counts must not be confused with fault-tolerant cryptographic attack capability.

✓

Harvest Now, Decrypt Later makes information confidentiality lifetime an important migration planning variable.

✓

Quantum risk affects authentication, code signing, device identity and PKI as well as confidentiality.

✓

Migration decisions should be based on verified cryptographic dependencies, business impact, security lifetime and operational constraints.

Apply Your Knowledge — Interactive Engineering Lab

Interactive Engineering Widget 02

Quantum Threat and Enterprise Risk Simulator

Investigate quantum-related cryptographic exposure across a distributed enterprise. Modify confidentiality lifetimes, migration durations and hypothetical threat horizons to examine how risk changes.

Explore

Inspect quantum computational models and cryptographic attack complexity.

Experiment

Change information lifetimes and cryptographic migration assumptions.

Investigate

Identify high-priority cryptographic dependencies and compare migration scenarios.

Technical Standards and Research References

Continue your engineering journey

Section 03 — ML-KEM and Lattice-Based Key Encapsulation

Explore module lattices, Learning With Errors, polynomial arithmetic, ML-KEM key generation, encapsulation, decapsulation and production network integration.

NEXT SECTION →
Network Insight · Interactive Engineering 02

Shor's & Grover's Algorithm Impact Visualiser

Explore the computational foundations of quantum cryptographic threats. Investigate period finding, integer factorisation, amplitude amplification and the different consequences for public-key and symmetric cryptography.

Quantum Black & Chrome Edition Shor's Algorithm Grover's Algorithm Quantum Registers Cryptographic Complexity
Factorisation Target 15 Educational composite integer
Modular Period — Order of the selected base
Symmetric Key Length 128 bits Selected search space
Ideal Quantum Search 2^64 Approximate query scaling
Quantum Computation Laboratory

Shor's Algorithm Explorer

Select a small composite integer and investigate how modular periodicity can reveal its factors.

Current Computational Stage

The widget calculates small modular periods using classical JavaScript. The quantum registers and Fourier-transform stages are conceptual teaching visualisations, not an implementation of a quantum computer.
Animated Quantum Processing Chamber

Quantum Period-Finding Architecture

Computational property Result
Mathematical Evidence

Modular Exponentiation and Period Detection

Examine the repeating sequence produced by f(x) = ax mod N. The period is the smallest positive integer r for which ar mod N = 1, provided a and N are coprime.

Period-Finding Result

Grover Quantum Search Laboratory

Amplitude Amplification Explorer

Investigate how an ideal Grover search increases the probability of measuring a marked solution within an unstructured search space.

Measurement Probability

The probability model uses the ideal single-marked-state Grover formula. It does not model noisy quantum gates, error correction, circuit depth or physical hardware. Excessive iterations can reduce the probability of measuring the correct solution.
Cryptographic Search Complexity

Classical versus Quantum Key Search

These throughput assumptions are hypothetical. A quantum oracle iteration is not equivalent in cost to a classical key test. Real quantum cryptanalysis requires reversible circuits, fault-tolerant computation and substantial hardware resources.
Idealised Computational Comparison

Quantum Hardware Assumptions

Logical versus Physical Qubit Explorer

Illustrative Resource Count

Logical qubits × assumed overhead × allowance.

This is a sensitivity calculator, not an estimate of the resources required to break RSA-2048. Actual resource estimates depend on the algorithm, error-correcting code, physical error rates, gate speeds, circuit depth, routing and other architectural assumptions.
Cryptographic Threat Intelligence

Quantum Algorithm Impact Matrix

Cryptographic mechanism Underlying security assumption Relevant quantum threat Engineering implication
RSA-2048 Integer factorisation Shor's algorithm Replace vulnerable public-key dependencies
ECDH / ECDSA Elliptic-curve discrete logarithms Shor's algorithm Migrate key agreement and signatures independently
AES-128 Symmetric key-search resistance Ideal Grover search advantage Evaluate required long-term security margin
AES-256 Larger symmetric key space Ideal Grover search advantage Larger generic-search security margin
SHA-256 Preimage and collision resistance Property-dependent quantum algorithms Evaluate preimage and collision requirements separately
ML-KEM Module-lattice computational assumptions No known efficient Shor-like break Post-quantum key establishment
ML-DSA Module-lattice computational assumptions No known efficient Shor-like break Post-quantum digital signatures
SLH-DSA Hash-based signature assumptions Designed for post-quantum resistance Alternative post-quantum signature architecture
Shor's algorithm is not a universal decryption algorithm. Its relevance to RSA and ECC arises from their mathematical security assumptions. Grover's algorithm provides a different, quadratic query-complexity advantage for unstructured search.
Engineering Diagnostics

Quantum Cryptography Analysis Console

Interactive Engineering Challenges

Quantum Cryptographic Investigation

Active Investigation

Select an Engineering Challenge

Configure the laboratory, run the experiments and collect computational evidence.

03
Network Insight · Post-Quantum Key Establishment

ML-KEM and Lattice-Based Key Encapsulation

Module-Lattice-Based Key-Encapsulation Mechanism, or ML-KEM, represents a fundamental change in the mathematical architecture used to establish shared cryptographic secrets across untrusted networks. Rather than relying on integer factorisation or discrete logarithms, ML-KEM derives its security from computational problems involving structured lattices and noisy modular equations.

Standardised by NIST in FIPS 203, ML-KEM is designed to resist known classical and quantum attacks. Its integration into network security infrastructure introduces new considerations involving handshake sizes, cryptographic processing, memory consumption, interoperability and operational resilience.

Objective 01

Understand

Explore lattice mathematics, modular arithmetic and Learning With Errors.

Objective 02

Analyse

Examine ML-KEM key generation, encapsulation and decapsulation.

Objective 03

Engineer

Understand post-quantum key establishment across production network infrastructure.

Objective 04

Troubleshoot

Investigate handshake overhead, negotiation failures and transport limitations.

3.1 What Is a Key Encapsulation Mechanism?

A Key Encapsulation Mechanism, or KEM, allows two communicating entities to establish a shared secret using public-key cryptographic operations.

Unlike a general-purpose public-key encryption mechanism, a KEM is specifically designed to establish cryptographic keying material.

Operation 01

Key Generation

Generate an encapsulation key and a corresponding private decapsulation key.

Operation 02

Encapsulation

Use the public encapsulation key to produce a ciphertext and a shared secret.

Operation 03

Decapsulation

Use the private decapsulation key and ciphertext to recover the corresponding shared secret.

(ek, dk) = KeyGen() (K, c) = Encaps(ek) K′ = Decaps(dk, c) For a correctly generated encapsulation, the two shared secrets match with overwhelming probability.
KEY ENCAPSULATION MECHANISM ENTITY A ENTITY B ML-KEM.KeyGen() Public ek Shareable Private dk Protected ML-KEM.Encaps(ek) Encapsulation key Ciphertext c Decaps(dk, c) Shared Secret K′ Shared Secret K K = K′ The shared secret is derived independently and is not transmitted
KEY ESTABLISHMENT ARCHITECTURE KEYGEN · ENCAPS · DECAPS
A KEM Does Not Authenticate the Remote Endpoint

ML-KEM establishes shared keying material but does not independently prove the identity of either party. Authentication must be provided by the surrounding protocol, using mechanisms such as digital signatures or appropriately configured pre-shared credentials.

3.2 Understanding Mathematical Lattices

A mathematical lattice is a discrete set of points generated by integer linear combinations of a set of linearly independent basis vectors.

L(B) = {Bz : z ∈ ℤⁿ} B represents a lattice basis and z is an integer vector.
TWO-DIMENSIONAL LATTICE GEOMETRY b₁ b₂ LATTICE POINTS BASIS VECTOR b₁ BASIS VECTOR b₂ NOISY TARGET Integer combinations of the lattice basis. First basis direction. Second basis direction. Target displaced from a nearby lattice point. Low-dimensional geometric analogy — not the actual ML-KEM lattice
LATTICE MATHEMATICS BASIS VECTORS AND DISCRETE POINTS

In two dimensions, many lattice problems can be visualised geometrically. In cryptographic applications, the underlying structures involve much higher dimensions and additional algebraic properties.

3.3 Computational Problems in Lattice Cryptography

Problem 01

Shortest Vector Problem

Find a shortest non-zero vector in a lattice under a specified norm.

Problem 02

Closest Vector Problem

Given a target point, find the lattice point closest to that target.

Problem 03

Learning With Errors

Recover hidden information or distinguish structured noisy equations from random samples.

ML-KEM is based on the Module Learning With Errors problem. Lattice problems provide the broader mathematical context, but ML-KEM should not be described simply as a direct implementation of the Shortest Vector Problem.

3.4 Modular Arithmetic

Modular arithmetic operates on values within a finite residue system. Values wrap around after reaching the selected modulus.

17 mod 13 = 4 (9 + 8) mod 13 = 4 (5 × 7) mod 13 = 9
MODULAR ARITHMETIC — RESIDUE SPACE 0 1 2 3 4 5 6 7 8 9 10 11 12 MODULO 13 17 = 13 + 4 17 mod 13 = 4 ML-KEM uses modulus q = 3329
FINITE RESIDUE SYSTEM MODULAR REDUCTION

ML-KEM uses arithmetic modulo the prime integer q = 3329. Its polynomial operations are performed within a specifically defined quotient ring.

3.5 Learning With Errors

Learning With Errors, or LWE, introduces small error terms into modular linear equations. These errors make recovering the hidden secret significantly more difficult than solving ordinary exact linear equations.

b = As + e mod q A = public matrix
s = secret vector
e = small error vector
b = resulting public values
LEARNING WITH ERRORS — NOISY EQUATION ARCHITECTURE PUBLIC MATRIX A 7 3 9 4 8 2 6 1 5 × SECRET s 2 −1 1 + ERROR e 1 0 −1 = PUBLIC b · MOD 13 8 2 2 Public values conceal a secret through noisy modular relationships
LEARNING WITH ERRORS EDUCATIONAL MATRIX EXAMPLE

The small numerical example illustrates the equation structure only. Real cryptographic security depends on appropriate dimensions, distributions, parameters and the complete cryptographic construction.

3.6 Why Error Terms Matter

Exact equations

Without Error

b = As

Under suitable rank and field conditions, ordinary linear algebra can recover the secret.

Noisy equations

With Error

b = As + e

Unknown error values prevent straightforward recovery through exact linear equation solving.

Cryptographic noise must be carefully controlled. Excessively large errors could interfere with legitimate recovery, while unsuitable error distributions could weaken security.

3.7 From LWE to Module-LWE

Module Learning With Errors introduces algebraic structure by replacing ordinary scalar elements with polynomials in a defined quotient ring.

This allows cryptographic constructions to use structured polynomial vectors and matrices, improving representation and computational efficiency compared with less structured approaches.

Construction Mathematical representation Engineering characteristics
LWE Vectors and matrices over modular integers. General noisy linear algebra structure.
Ring-LWE Elements of a polynomial ring. Greater algebraic structure and compact representation.
Module-LWE Vectors and matrices of polynomial ring elements. Combines module structure with polynomial arithmetic.
t = As + e In Module-LWE, A, s, e and t contain elements of the underlying polynomial ring.

3.8 The ML-KEM Polynomial Ring

ML-KEM performs its underlying arithmetic in a polynomial quotient ring with modulus 3329 and polynomial relation X²⁵⁶ + 1.

Rᵩ = ℤᵩ[X] / (X²⁵⁶ + 1) q = 3329 n = 256

Each polynomial is represented by 256 coefficients. Coefficients are reduced modulo q, while polynomial multiplication is reduced using the quotient relation X²⁵⁶ = −1.

Coefficient modulus
3329

Finite modular coefficient arithmetic.

Polynomial length
256

Coefficients per polynomial representation.

Quotient relation
X²⁵⁶ = −1

Negacyclic polynomial reduction.

3.9 Polynomial Arithmetic — Engineering Example

Consider two deliberately small polynomials to illustrate ordinary polynomial multiplication.

a(X) = 2 + 3X b(X) = 1 + 4X a(X)b(X) = 2 + 11X + 12X²

If an educational quotient ring uses the relation X² = −1, the result reduces as follows.

2 + 11X − 12 = −10 + 11X

Using a toy coefficient modulus of 13 gives the following representation.

−10 mod 13 = 3 Result = 3 + 11X

This is a simplified example. ML-KEM uses its specified 256-coefficient polynomial ring and modulus 3329.

3.10 Number Theoretic Transform

Polynomial multiplication is a significant computational operation in lattice-based cryptography.

The Number Theoretic Transform, or NTT, transforms polynomial representations into a form that enables efficient multiplication using modular arithmetic.

NUMBER THEORETIC TRANSFORM PROCESSING Polynomial a Polynomial b Coefficient domain Coefficient domain NTT NTT TRANSFORM-DOMAIN MULTIPLICATION Base-case polynomial products NTT⁻¹ Inverse transform POLYNOMIAL PRODUCT Reduced in the specified quotient ring Conceptual arithmetic pipeline — not a complete implementation
CRYPTOGRAPHIC COMPUTATION NTT AND INVERSE NTT

ML-KEM's specified NTT representation involves quadratic factors and corresponding base-case multiplication operations. It is not simply ordinary scalar pointwise multiplication across 256 independent evaluation values.

Production implementations can benefit from optimised arithmetic, vector instructions and suitable hardware acceleration.

3.11 ML-KEM Parameter Sets

NIST security category 1
512

ML-KEM-512

The smallest standardised ML-KEM parameter set, with module rank k = 2.

NIST security category 3
768

ML-KEM-768

Intermediate parameter set with module rank k = 3.

NIST security category 5
1024

ML-KEM-1024

Largest standardised ML-KEM parameter set, with module rank k = 4.

Parameter ML-KEM-512 ML-KEM-768 ML-KEM-1024
Security category135
Module rank k234
Polynomial length n256256256
Modulus q332933293329
Noise parameter η₁322
Noise parameter η₂222
Compression dᵤ101011
Compression dᵥ445
Encapsulation key800 bytes1184 bytes1568 bytes
Decapsulation key1632 bytes2400 bytes3168 bytes
Ciphertext768 bytes1088 bytes1568 bytes
Shared secret32 bytes32 bytes32 bytes
Parameter Names Are Not Key Sizes in Bits

The values 512, 768 and 1024 identify ML-KEM parameter sets. They do not mean that the encapsulation keys contain 512, 768 or 1024 bits, nor do they directly express equivalent symmetric cryptographic security strength.

3.12 ML-KEM Key Generation Architecture

ML-KEM key generation constructs the public encapsulation key and private decapsulation key using random inputs, deterministic expansion, polynomial sampling and Module-LWE arithmetic.

ML-KEM KEY GENERATION PIPELINE SECURE RANDOM INPUTS Independent 32-byte values d and z SEED EXPANSION Derive matrix and sampling seeds from d PUBLIC MATRIX A SECRET VECTOR s ERROR VECTOR e Deterministic expansion Small polynomial samples Small polynomial samples t = As + e Encapsulation key ek Decapsulation key dk
ML-KEM KEY GENERATION SEED EXPANSION AND MODULE-LWE

The actual standard uses specified hash functions, sampling procedures, NTT-domain representations, encoding operations and key construction rules.

3.13 Public and Private Key Structures

Encapsulation key

Public Key Structure

Encoded public vector
ρ

Contains an encoded public polynomial vector and a 32-byte seed used to reconstruct the public matrix.

Size = 384k + 32
Decapsulation key

Private Key Structure

Private PKE key
Public key
H(ek)
z

Includes the private encryption component, encapsulation key, its hash and a secret value used for implicit rejection.

Size = 768k + 96

For ML-KEM-768, k = 3, giving an encapsulation key of 1184 bytes and a decapsulation key of 2400 bytes.

3.14 ML-KEM Encapsulation

Encapsulation uses the recipient's public encapsulation key to generate a ciphertext and a 32-byte shared secret.

01

Validate the Encapsulation Key

Perform the input checks required by the standard, including length and appropriate coefficient encoding validation.

02

Generate Random Message Material

Obtain a fresh 32-byte random value m from an appropriate random bit generator.

03

Derive Shared Secret and Encryption Randomness

Apply the specified hash-based derivation to the random message and encapsulation-key hash.

04

Construct the Ciphertext

Use the internal public-key encryption component with the derived randomness.

05

Return Ciphertext and Shared Secret

The ciphertext can be transported to the decapsulating party. The shared secret remains local.

(K, r) = G(m || H(ek)) c = K-PKE.Encrypt(ek, m, r) Simplified notation following the FIPS 203 internal encapsulation construction.

3.15 Internal Public-Key Encryption

ML-KEM incorporates an internal public-key encryption construction called K-PKE. This component is used within the complete key encapsulation mechanism.

u = Aᵀy + e₁ v = tᵀy + e₂ + Encode(m) Conceptual coefficient-domain equations, omitting the standard's detailed transform and encoding operations.
INTERNAL K-PKE ENCRYPTION Public matrix A Public vector t Randomness r Reconstructed from seed Decoded from public key Sample y, e₁ and e₂ u = Aᵀy + e₁ Polynomial vector calculation v = tᵀy + e₂ + μ Encoded message contribution μ Compress and encode u Compress and encode v Ciphertext component c₁ Ciphertext component c₂ c = c₁ || c₂
CIPHERTEXT CONSTRUCTION POLYNOMIAL VECTOR AND SCALAR COMPONENTS
K-PKE Is Not an Independent Application Encryption API

FIPS 203 specifies K-PKE as an internal component of ML-KEM. Applications should use the complete approved KEM through an appropriate cryptographic library and protocol rather than deploying the internal encryption component independently.

3.16 Ciphertext Compression and Encoding

ML-KEM reduces ciphertext size through specified compression operations that represent polynomial coefficients using fewer bits.

Compressᵈ(x) ≈ round(2ᵈx / q) mod 2ᵈ Decompressᵈ(y) ≈ round(qy / 2ᵈ) Conceptual mathematical representation. Implementations must follow the exact rounding and encoding rules in FIPS 203.

Compression is intentionally lossy. The resulting approximation contributes to the overall error budget that must be tolerated during legitimate decryption.

Parameter set u component v component Total ciphertext
ML-KEM-512 640 bytes 128 bytes 768 bytes
ML-KEM-768 960 bytes 128 bytes 1088 bytes
ML-KEM-1024 1408 bytes 160 bytes 1568 bytes

3.17 Engineering Calculation — Ciphertext Size

The encoded ciphertext size is determined by the module rank and compression parameters.

Size = 32(kdᵤ + dᵥ) bytes
ML-KEM-512
768 B

32 × (2 × 10 + 4)

ML-KEM-768
1088 B

32 × (3 × 10 + 4)

ML-KEM-1024
1568 B

32 × (4 × 11 + 5)

3.18 ML-KEM Decapsulation

Decapsulation processes the received ciphertext using the private decapsulation key.

The operation recovers candidate message material, derives candidate keying material and performs a re-encryption consistency check.

ML-KEM DECAPSULATION PIPELINE CIPHERTEXT c + PRIVATE KEY dk Validated input structures K-PKE.Decrypt() Recover candidate message m′ Derive K′ and r′ Hash candidate message and key hash Re-encrypt candidate message Generate candidate ciphertext c′ c = c′ ? MATCH MISMATCH SELECT CANDIDATE SECRET K′ Valid encapsulation path SELECT FALLBACK J(z || c) Implicit rejection path
ML-KEM DECAPSULATION RE-ENCRYPTION AND IMPLICIT REJECTION

3.19 Implicit Rejection

Implicit rejection is an important part of ML-KEM's security architecture.

When a correctly sized ciphertext fails the internal re-encryption consistency check, the decapsulation operation selects a fallback secret derived from private rejection material and the received ciphertext.

Kfallback = J(z || c)

The operation does not simply return a distinguishable ciphertext-validity error for this internal consistency failure.

Input Validation and Implicit Rejection Are Different

Invalid input lengths and other required external input checks can cause errors. Implicit rejection concerns the internal ciphertext consistency check after applicable input validation. Implementations must not expose secret-dependent behaviour through timing or other side channels.

3.20 Hash Functions and Randomness Architecture

ML-KEM uses SHA-3 and SHAKE-family primitives for several internal cryptographic functions.

Function Underlying primitive Role
H SHA3-256 Hashing the encapsulation key.
G SHA3-512 Deriving paired 32-byte values.
J SHAKE256 Producing a 32-byte implicit-rejection secret.
XOF SHAKE128 Deterministic public matrix expansion.
PRF SHAKE256 Generating pseudorandom sampling material.

Secure random generation remains essential. Quantum-resistant mathematical assumptions do not compensate for predictable random inputs or compromised cryptographic implementation.

3.21 Shared Secret Derivation and Application Encryption

All three standardised ML-KEM parameter sets produce a 32-byte shared secret.

A surrounding security protocol incorporates this secret into its key schedule, binding keying material to the relevant protocol context and deriving traffic protection keys.

POST-QUANTUM SESSION KEY ARCHITECTURE ML-KEM SECRET 32 bytes PROTOCOL KEY SCHEDULE KDF and protocol context Client traffic keys Server traffic keys Encryption and nonce material Encryption and nonce material Protocol transcript Context and handshake binding Actual derivation follows the selected security protocol
SESSION KEY DERIVATION KEM · KDF · SYMMETRIC ENCRYPTION

3.22 Hybrid Post-Quantum Key Establishment

Hybrid key establishment combines conventional and post-quantum cryptographic mechanisms within a specified protocol construction.

A hybrid design can reduce dependence on any single mathematical assumption when the combination is designed and implemented correctly.

HYBRID POST-QUANTUM KEY ESTABLISHMENT X25519 Conventional elliptic-curve key agreement ML-KEM-768 Post-quantum key encapsulation SPECIFIED HYBRID COMBINATION Protocol-defined secret ordering and derivation SESSION KEY SCHEDULE Derive authenticated protocol traffic keys
HYBRID CRYPTOGRAPHY CONVENTIONAL + POST-QUANTUM
Hybrid Security Requires a Correct Protocol Construction

Engineers should use supported protocol profiles and reviewed cryptographic implementations. Arbitrarily concatenating or hashing secrets without a defined construction is not an appropriate production migration strategy.

3.23 TLS 1.3 and ML-KEM Handshake Architecture

TLS 1.3 separates key establishment, authentication and symmetric traffic protection.

In a supported X25519MLKEM768 hybrid handshake, the client sends an ML-KEM encapsulation key and an X25519 public share. The server returns an ML-KEM ciphertext and its X25519 public share.

HYBRID TLS 1.3 HANDSHAKE TLS CLIENT TLS SERVER ClientHello ML-KEM-768 ek: 1184 bytes X25519 share: 32 bytes ServerHello ML-KEM-768 ciphertext: 1088 bytes X25519 share: 32 bytes Encrypted Server Handshake EncryptedExtensions · Certificate CertificateVerify · Finished Client Finished PROTECTED APPLICATION TRAFFIC Simplified full handshake without resumption or client authentication
POST-QUANTUM TLS HYBRID HANDSHAKE SEQUENCE

Hybrid key establishment does not automatically make certificate authentication post-quantum resistant. The signature algorithms and trust hierarchy must be assessed independently.

3.24 Network Transport Overhead

Conventional X25519 uses a 32-byte public share from each communicating party. ML-KEM introduces substantially larger encapsulation keys and ciphertexts.

Key establishment payload comparison
X2551964 bytes
ML-KEM-5121568 bytes
ML-KEM-7682272 bytes
X25519 + ML-KEM-7682336 bytes
ML-KEM-10243136 bytes

Comparison includes raw key-establishment payloads in both directions. Protocol framing, certificates, signatures and transport headers are excluded.

Hybrid payload = 1184 + 1088 + 64 = 2336 bytes Additional payload = 2272 bytes

The hybrid key-establishment payload in this example is 36.5 times larger than the raw conventional X25519 key shares. This does not mean that the entire TLS handshake becomes 36.5 times larger.

3.25 MTU, TCP Segmentation and IP Fragmentation

Larger cryptographic messages can change the number of transport packets required to complete a handshake.

Consider a network with a 1500-byte IP MTU, a 20-byte IPv4 header and a 20-byte TCP header.

TCP MSS = 1500 − 20 − 20 = 1460 bytes

TCP options, IPv6 headers, tunnels and other encapsulation overhead can reduce the available TCP data space.

POST-QUANTUM HANDSHAKE TRANSPORT HYBRID KEY SHARE 1216 bytes Other TLS bytes 384 bytes Illustrative 1600-byte TCP data stream HDR TCP DATA — 1460 BYTES HDR 140 bytes Remaining TCP data
TCP SEGMENTATION ILLUSTRATIVE 1460-BYTE MSS
Segments = ceil(1600 / 1460) = 2 TCP segments
TCP Segmentation Is Not IP Fragmentation

TCP normally divides its data stream into appropriately sized segments. A large TLS ClientHello does not inherently require IP fragmentation. IP fragmentation and PMTU problems are separate network-layer concerns.

3.26 QUIC and Post-Quantum Handshake Considerations

QUIC transports TLS handshake messages using CRYPTO frames over UDP-based QUIC packets. It does not use TCP segmentation.

Transport consideration

Initial Datagrams

Client UDP datagrams carrying Initial packets must satisfy QUIC's applicable minimum datagram size requirements.

Handshake consideration

CRYPTO Frames

Large TLS handshake messages can span multiple CRYPTO frames and QUIC packets.

Resilience consideration

Anti-Amplification

Before validating the client address, a server is generally limited to sending three times the bytes it has received.

Received = 1200 bytes Initial send budget = 3600 bytes Illustrative anti-amplification calculation before client address validation.

Larger post-quantum handshakes and certificate chains can interact with this budget, packet loss, address validation and handshake scheduling.

3.27 ML-KEM and IPsec VPN Architecture

IPsec VPNs commonly establish cryptographic security associations using IKEv2. Integrating post-quantum mechanisms requires support for the relevant IKEv2 key-exchange extensions and compatible implementations.

POST-QUANTUM VPN ARCHITECTURE SITE A SITE B VPN Gateway VPN Gateway IKEv2 / IPsec IKEv2 / IPsec KEY ESTABLISHMENT Conventional and additional PQ key exchange IPSEC ESP TUNNEL Symmetric traffic protection Protocol support and authentication must be verified separately
POST-QUANTUM IPSEC IKEV2 AND ADDITIONAL KEY EXCHANGES

RFC 9370 defines multiple key exchanges in IKEv2. RFC 9242 defines the IKE_INTERMEDIATE exchange. These provide relevant architectural foundations for introducing additional key-exchange operations.

Engineers must verify the specific supported ML-KEM profile, negotiation behaviour and interoperability of their VPN products.

3.28 Cryptographic Performance Engineering

The operational cost of ML-KEM depends on implementation quality, parameter selection, processor architecture, compiler optimisation and available cryptographic acceleration.

Metric 01

Key Generation

Time and resources required to generate keys.

Metric 02

Encapsulation

CPU cost of generating ciphertext and secret.

Metric 03

Decapsulation

CPU cost of recovery and consistency checks.

Metric 04

Memory

Key storage, working buffers and session state.

ML-KEM may perform efficiently on modern processors, but cryptographic operation benchmarks must not be confused with complete application handshake performance.

3.29 Engineering Calculation — Handshake CPU Capacity

Consider a hypothetical API gateway receiving 20,000 new full handshakes per second. Assume that enabling hybrid key establishment adds an average of 80 microseconds of CPU processing per handshake on the gateway.

Additional CPU = 20,000 × 0.000080 = 1.6 CPU-seconds per second ≈ 1.6 fully utilised CPU cores
Handshake rate
20,000/s

Illustrative new full TLS handshakes.

Additional processing
80 μs

Hypothetical incremental CPU cost.

Additional CPU demand
1.6 cores

Idealised average CPU consumption.

Actual provisioning must account for peak workloads, concurrency, authentication costs, scheduling, memory allocation and operational headroom.

3.30 Engineering Calculation — Additional Bandwidth

Using the same illustrative gateway workload, assume every full handshake changes from X25519 to X25519MLKEM768.

Additional bytes = 2272 × 20,000 = 45,440,000 bytes/s = 363.52 Mbit/s
Full handshakes per second Additional raw key-share bandwidth
1001.8176 Mbit/s
100018.176 Mbit/s
500090.88 Mbit/s
10,000181.76 Mbit/s
20,000363.52 Mbit/s

These figures represent aggregate additional raw key-establishment traffic across both directions. They exclude transport overhead, retransmissions and changes to authentication messages.

3.31 Engineering Calculation — Ephemeral Key Storage

Consider an initiating endpoint maintaining 50,000 concurrent outstanding ML-KEM-768 key-establishment operations, each retaining a distinct expanded decapsulation key.

Memory = 50,000 × 2400 bytes = 120,000,000 bytes ≈ 114.44 MiB

This calculation includes only the specified expanded decapsulation-key bytes. Actual session memory may include additional cryptographic state, network buffers and application data.

Some implementations may use alternative internal representations or regenerate expanded keys from protected seed material, subject to their security and performance requirements.

3.32 Implementation Security and Side Channels

Mathematical security does not guarantee implementation security.

Threat 01

Timing Leakage

Secret-dependent execution time may expose information about private cryptographic state.

Threat 02

Cache Leakage

Secret-dependent memory access can expose information through shared processor resources.

Threat 03

Fault Injection

Faults during cryptographic processing may undermine expected security properties.

Threat 04

Randomness Failure

Predictable random inputs can compromise otherwise sound cryptographic constructions.

Threat 05

Key Material Exposure

Logs, memory dumps and unsafe diagnostic tooling can disclose sensitive key material.

Threat 06

Validation Errors

Incorrect encoding checks or inconsistent rejection behaviour can weaken security.

Use Reviewed Cryptographic Implementations

The mathematical diagrams in this engineering guide are intended for education. Production cryptography requires maintained libraries, reviewed implementations, secure randomness and appropriate validation or certification where required.

3.33 Production Architecture — Enterprise AI Gateway

Consider an enterprise deploying hybrid post-quantum TLS across its AI gateway, inference services and internal application infrastructure.

ENTERPRISE POST-QUANTUM SECURITY ARCHITECTURE ENTERPRISE USERS AI AGENTS APPLICATIONS Browser and API clients Autonomous workloads Service consumers ENTERPRISE AI GATEWAY TLS termination · Identity · Policy enforcement Hybrid X25519MLKEM768 where supported MODEL INFERENCE RAG SERVICES INTERNAL APIs Independent TLS session Independent TLS session Independent TLS session Each TLS termination boundary requires independent security validation
ENTERPRISE PQC DEPLOYMENT AI GATEWAY AND SERVICE SECURITY

Enabling post-quantum key establishment on the external gateway does not automatically protect its upstream connections. Each independently terminated TLS session must be assessed.

3.34 Production Incident — The Disappearing ClientHello

Incident investigation · PQC migration

Hybrid TLS Handshakes Fail at Selected Branches

An enterprise enables hybrid post-quantum key establishment on a central application gateway. Most clients connect successfully, but users at several remote branches report intermittent connection timeouts.

Conventional TLS connections remain functional. The failures occur before the server returns its ServerHello.

PRODUCTION HANDSHAKE FAILURE BRANCH CLIENT LEGACY MIDDLEBOX TLS GATEWAY Hybrid ClientHello Faulty handshake parser Hybrid TLS supported HANDSHAKE DROPPED TCP CONNECTION ESTABLISHED — TLS HANDSHAKE INCOMPLETE Investigate segmentation, parsing, policy and path behaviour
PRODUCTION INCIDENT INVESTIGATION LEGACY MIDDLEBOX COMPATIBILITY

3.35 Structured Incident Investigation

01

Establish the Working Baseline

Compare conventional and hybrid TLS connections using equivalent endpoints, routes and application configurations.

02

Verify Cryptographic Negotiation

Confirm the supported groups, transmitted key shares and expected server selection.

03

Capture Traffic at Multiple Boundaries

Compare authorised packet captures before and after the suspected network device.

04

Inspect Transport Behaviour

Investigate TCP sequence numbers, retransmissions, advertised MSS, reassembly and path MTU evidence.

05

Inspect Middlebox Processing

Determine whether TLS inspection, protocol parsing, policy enforcement or implementation limitations cause the failure.

06

Validate the Remediation

Upgrade or correctly reconfigure the affected component and verify that hybrid negotiation succeeds without weakening the required security policy.

3.36 OpenSSL Cryptographic Discovery

Modern OpenSSL releases with ML-KEM support provide tools for inspecting local algorithms and testing compatible TLS endpoints.

● ● ●   POST-QUANTUM ENGINEERING TERMINAL
# Inspect the installed OpenSSL release

openssl version -a


# Inspect available providers

openssl list -providers


# Inspect supported KEM implementations

openssl list -kem-algorithms


# Generate an ML-KEM-768 test key
# Use an OpenSSL release supporting ML-KEM

umask 077

openssl genpkey \
  -algorithm ML-KEM-768 \
  -out mlkem768-private.pem


# Export the public key

openssl pkey \
  -in mlkem768-private.pem \
  -pubout \
  -out mlkem768-public.pem


# Test conventional TLS key establishment
# Against an authorised endpoint

openssl s_client \
  -connect example.com:443 \
  -servername example.com \
  -tls1_3 \
  -groups X25519


# Test hybrid TLS key establishment
# Requires compatible client and server support

openssl s_client \
  -connect example.com:443 \
  -servername example.com \
  -tls1_3 \
  -groups X25519MLKEM768


# Capture authorised handshake traffic

sudo tcpdump -i eth0 -s 0 \
  -w pqc-handshake.pcap \
  'tcp port 443'

ML-KEM and hybrid TLS group support depend on the OpenSSL release, build configuration and available providers. OpenSSL 3.5 introduced native ML-KEM support.

The example commands are intended for controlled testing. Generated private keys must be protected and handled according to organisational key-management requirements.

3.37 Packet-Level Engineering Evidence

●   SYNTHETIC WIRESHARK INVESTIGATION
WORKING HYBRID SESSION
--------------------------------------------

TCP
  SYN
  SYN, ACK
  ACK

TLS ClientHello
  Supported Versions: TLS 1.3
  Supported Group: X25519MLKEM768
  Key Share Data Length: 1216 bytes

TLS ServerHello
  Selected Group: X25519MLKEM768
  Key Share Data Length: 1120 bytes
  Cipher Suite: TLS_AES_256_GCM_SHA384

Encrypted Handshake Messages

Protected Application Data


FAILING BRANCH SESSION
--------------------------------------------

TCP
  SYN
  SYN, ACK
  ACK

Client TCP Data
  TLS ClientHello, first portion

Client TCP Data
  Remaining ClientHello bytes

Observation:
  No ServerHello received

Additional observations:
  Capture before middlebox:
    Complete ClientHello observed

  Capture after middlebox:
    Complete ClientHello not observed

Investigation direction:
  Inspect middlebox handling of TLS
  messages spanning TCP segments.

--------------------------------------------

This is synthetic educational evidence, not an actual packet capture. A missing ServerHello alone does not establish the root cause. Multi-point evidence is required to distinguish packet loss, policy rejection, parsing defects and endpoint failures.

3.38 ML-KEM Production Monitoring

Observability 01

Negotiated Groups

Track successful hybrid negotiation rather than merely advertised support.

Observability 02

Handshake Latency

Compare median and tail handshake latency against the conventional baseline.

Observability 03

Failure Rates

Track negotiation failures, timeouts and protocol-level errors.

Observability 04

CPU Saturation

Monitor cryptographic processing, connection rates and worker utilisation.

Observability 05

Transport Behaviour

Observe retransmissions, packet loss, handshake bytes and PMTU-related symptoms.

Observability 06

Security Coverage

Identify connections that continue to negotiate conventional-only mechanisms.

3.39 Common ML-KEM Engineering Misconceptions

Misconception Engineering reality
ML-KEM encrypts all application traffic. It establishes shared secret material for a surrounding protocol.
ML-KEM independently authenticates the server. Authentication requires separate protocol mechanisms.
ML-KEM-768 uses a 768-bit public key. Its standardised encapsulation key is 1184 bytes.
ML-KEM-1024 produces a longer shared secret. All three parameter sets produce a 32-byte shared secret.
Larger TLS messages always cause IP fragmentation. TCP normally segments the data stream according to transport constraints.
Hybrid TLS automatically protects certificate signatures. Key establishment and signature authentication are separate security properties.
Every invalid ciphertext produces an explicit error. Internal consistency failures use implicit rejection after applicable input validation.
Kyber and ML-KEM implementations are always interchangeable. Pre-standardisation variants and FIPS 203 ML-KEM may differ in encoding or algorithm details.
Post-quantum cryptography requires a quantum computer. ML-KEM operates on conventional computing infrastructure.
Quantum resistance eliminates implementation vulnerabilities. Randomness, side-channel resistance and secure key handling remain essential.

3.40 Key Engineering Takeaways

✓

ML-KEM is a standardised post-quantum key encapsulation mechanism defined by NIST FIPS 203.

✓

Its mathematical security foundation involves Module Learning With Errors and structured polynomial arithmetic.

✓

The Number Theoretic Transform supports efficient polynomial computation.

✓

Key generation, encapsulation and decapsulation provide the fundamental KEM operations.

✓

Implicit rejection is an essential component of the decapsulation security architecture.

✓

Hybrid key establishment can combine conventional and post-quantum mechanisms through a defined protocol construction.

✓

Larger cryptographic payloads introduce network transport, capacity and interoperability considerations.

✓

Post-quantum deployment must be verified through negotiated protocol evidence, production monitoring and controlled interoperability testing.

Apply Your Knowledge — Interactive Engineering Lab

Interactive Engineering Widget 03

ML-KEM Cryptographic Architecture and Packet Journey Explorer

Explore the internal architecture of lattice-based key establishment. Follow key generation, encapsulation and decapsulation, compare parameter sets and investigate the effects of hybrid post-quantum cryptography on network transport.

Explore

Visualise lattice structures, noisy equations and polynomial representations.

Experiment

Select ML-KEM parameters and follow the cryptographic message journey.

Investigate

Analyse handshake size, transport segmentation and production failures.

Technical Standards and Engineering References

Continue your engineering journey

Section 04 — ML-DSA and Post-Quantum Digital Signatures

Explore lattice-based digital signatures, signing and verification, Module-SIS, certificate authentication, post-quantum PKI and enterprise digital trust.

NEXT SECTION →
Network Insight · Interactive Engineering 03

ML-KEM Key Establishment Simulator

Investigate how module-lattice-based key encapsulation establishes shared secret material across an untrusted network. Explore key generation, encapsulation, decapsulation, implicit rejection and network transmission overhead.

Quantum Black & Chrome Edition NIST FIPS 203 Module Lattices Key Encapsulation Implicit Rejection Network Engineering
Parameter Set ML-KEM-768 Selected algorithm
Encapsulation Key 1,184 B Public key material
Ciphertext 1,088 B Encapsulated secret material
Shared Secret 32 B All ML-KEM parameter sets
Session State Idle Simulated key establishment
Cryptographic Controls

ML-KEM Laboratory

Current Cryptographic Stage

ML-KEM is a key-encapsulation mechanism, not a bulk data encryption algorithm. A surrounding protocol must authenticate the communicating parties and derive appropriate application traffic keys.
Animated Cryptographic Digital Twin

ML-KEM Key Establishment Architecture

Key Establishment Assessment

Shared Secret Inspection

Encapsulation and Decapsulation Output

Endpoint B · Encapsulator

Shared Secret K

—

Produced locally by the encapsulation operation. The shared secret itself is not transmitted.

Endpoint A · Decapsulator

Shared Secret K′

—

Recovered using the private decapsulation key and the received ciphertext.

Displayed secrets are synthetic demonstration values. This laboratory does not perform actual ML-KEM cryptographic operations. Production applications must never expose private keys or shared secrets in diagnostic interfaces.
FIPS 203 Parameter Explorer

ML-KEM Parameter Sets

Parameter ML-KEM-512 ML-KEM-768 ML-KEM-1024
NIST security category 1 3 5
Module dimension k 2 3 4
Polynomial degree n 256 256 256
Modulus q 3329 3329 3329
Encapsulation key 800 B 1,184 B 1,568 B
Decapsulation key 1,632 B 2,400 B 3,168 B
Ciphertext 768 B 1,088 B 1,568 B
Shared secret 32 B 32 B 32 B
Public key + ciphertext 1,568 B 2,272 B 3,136 B
Security categories are NIST comparative security categories, not literal guarantees of a particular number of quantum security bits. See the official FIPS 203 standard .
Module-Lattice Architecture

Inside the ML-KEM Mathematical Structure

Selected Mathematical Parameters

ML-KEM operates using polynomial vectors and matrices over a finite polynomial ring. Its security is related to the Module Learning With Errors problem. The lattice diagram is a conceptual representation, not the actual high-dimensional mathematical object.
Cryptographic Fault Laboratory

Implicit Rejection and Ciphertext Integrity

Compare valid ciphertext processing with modified ciphertext and incorrect key scenarios.

Fault Analysis

For a correctly sized ciphertext that fails the internal re-encryption comparison, ML-KEM uses implicit rejection and derives alternative secret material rather than exposing a validity flag. Incorrect input lengths are a separate input-validation condition. A surrounding protocol can subsequently detect unsuccessful key establishment through authentication or key-confirmation failure.
Network Engineering Analysis

ML-KEM Transmission Overhead and TCP Segmentation

Investigate how post-quantum public keys and ciphertexts affect network transmission sizes. The model treats the two messages as separate TCP byte streams in opposite directions.

Calculated Network Impact

TCP segmentation is not IP fragmentation. The calculation assumes the selected IP MTU is available end to end, and TCP divides each message according to the resulting payload capacity. Actual TLS records, certificates, TCP acknowledgements, Ethernet framing, retransmissions and congestion are not included. Serialization delay is not total handshake latency.
Protocol Integration

From Shared Secret to Protected Application Traffic

ML-KEM does not independently authenticate a peer or establish a complete secure channel. A production protocol must bind the key exchange to authenticated identities and the relevant protocol transcript, derive traffic keys, and provide authenticated encryption.
Engineering Diagnostics

ML-KEM Cryptographic Console

Vendor-neutral educational CLI. Enter help to display available commands.

Interactive Engineering Challenges

Post-Quantum Key Establishment Investigation

Active Engineering Investigation

Select an Engineering Challenge

Configure the laboratory, execute the exchange and collect diagnostic evidence.

Network Insight / Post-Quantum Security / Section 04

ML-DSA and Post-Quantum Digital Signatures

Engineering quantum-resistant authentication, software integrity, certificate infrastructures and digital trust across enterprise networks, cloud platforms and distributed systems.

FIPS 204 CRYSTALS-Dilithium Module-LWE Module-SIS TLS Authentication Post-Quantum PKI Secure Boot
NIST Standard
204

Federal Information Processing Standard for ML-DSA.

Parameter Sets
3

ML-DSA-44, ML-DSA-65 and ML-DSA-87.

Primary Function
TRUST

Authenticity, integrity and proof of signing-key possession.

4.1 Why Digital Signatures Must Become Quantum Resistant

Modern network security depends on more than encryption. Before an enterprise client establishes a trusted connection, it must determine whether the remote system is authentic. Before a network device installs firmware, it must determine whether the software originated from an authorised publisher and has remained unmodified.

Digital signatures provide the cryptographic foundation for these decisions. RSA and elliptic-curve signature schemes underpin certificate authorities, TLS authentication, software distribution, secure boot, identity systems and many infrastructure management platforms.

A sufficiently capable fault-tolerant quantum computer running Shor's algorithm could undermine the mathematical assumptions protecting RSA and elliptic-curve cryptography. An attacker capable of recovering a signing private key could potentially impersonate trusted systems or produce fraudulent signatures.

Classical Digital Trust

RSA and ECDSA

Established signature algorithms based on integer factorisation and elliptic-curve discrete logarithm problems. Both are vulnerable in principle to sufficiently capable quantum computers.

Post-Quantum Digital Trust

ML-DSA and SLH-DSA

Standardised signature schemes based on different mathematical foundations that are currently believed to resist known classical and quantum attacks.

Engineering Principle

ML-KEM establishes shared secrets. ML-DSA authenticates messages and identities. These mechanisms solve different security problems and may be deployed together within a complete post-quantum communications architecture.

4.2 From CRYSTALS-Dilithium to ML-DSA

ML-DSA stands for Module-Lattice-Based Digital Signature Algorithm. It is derived from the CRYSTALS-Dilithium submission to the NIST post-quantum cryptography standardisation programme.

In August 2024, NIST published FIPS 204, defining ML-DSA as a standardised digital signature algorithm. The standard specifies key generation, signing, verification, parameter sets and encoding requirements.

ML-DSA is closely related to Dilithium, but engineers should not assume that historical Dilithium implementations and final FIPS 204 implementations are automatically interoperable. Algorithm identifiers, encodings and implementation versions must be validated.

RESEARCH CRYSTALS Dilithium STANDARDISATION ML-DSA FIPS 204 DEPLOYMENT Digital Trust PKI / TLS / Firmware
Figure 4.1 — From lattice-based cryptographic research to standardised signature algorithms and production trust infrastructure.

4.3 Understanding Module-LWE and Module-SIS

ML-DSA operates using structured mathematical objects derived from lattice cryptography. Rather than relying on integer factorisation or elliptic-curve discrete logarithms, its security is associated with computationally difficult problems involving polynomial vectors and matrices.

Module Learning With Errors

Module-LWE

Recovering hidden information, or distinguishing structured samples from random ones, becomes computationally difficult when modular linear relationships contain appropriately distributed small errors.

t = A · s + e (mod q)

A represents a public matrix, s a secret vector and e a small error vector. This is a simplified conceptual representation of the underlying problem.

Module Short Integer Solution

Module-SIS

Finding a non-zero, sufficiently short vector satisfying a modular linear relationship is computationally difficult for appropriately selected parameters.

A · z = 0 (mod q)

The challenge is not simply finding any solution, but finding one that also satisfies a restrictive norm bound.

Short vector Longer candidate Origin Alternative vector CONCEPTUAL TWO-DIMENSIONAL PROJECTION
Figure 4.2 — Conceptual lattice geometry. Actual ML-DSA computations involve structured, high-dimensional algebraic objects, not this simplified two-dimensional grid.

The mathematical structure enables efficient computation while retaining security assumptions that are not known to be broken by existing quantum algorithms. This does not constitute a mathematical guarantee against every future attack.

4.4 ML-DSA Key Generation, Signing and Verification

ML-DSA defines three principal cryptographic operations. The signer generates a public and private key pair, produces a signature using the private key, and distributes the signature alongside the signed message or associated protocol data.

SIGNING SYSTEM VERIFYING SYSTEM Message M ML-DSA Sign Private signing key Signature σ Trusted Public Key ML-DSA Verify Message + Signature VALID INVALID
Figure 4.3 — The private key remains within the signing system. The verifier uses the message, signature and trusted public key.
01

Key Generation

Generate cryptographic seeds and derive the public matrix, secret polynomial vectors and encoded public and private keys. Private key material must remain protected throughout its lifecycle.

02

Message Processing

Process the message together with the required domain separation, context and public-key-related information. The resulting digest binds the signature operation to the intended input.

03

Generate a Signature Candidate

Derive a masking vector, compute a commitment and generate a cryptographic challenge. Combine the challenge with secret key information to construct a candidate signature.

04

Rejection Sampling

Check the candidate against the algorithm's prescribed bounds and conditions. Reject unsuitable candidates and repeat the process when necessary.

05

Signature Verification

Decode the signature, validate its structure and bounds, reconstruct the relevant commitment information and recompute the challenge. Accept only when all verification conditions hold.

Cryptographic Boundary

Digital signatures do not encrypt the message. A valid signature demonstrates that the verification conditions are satisfied for the supplied public key. Establishing who owns that key requires a separate trust mechanism, such as a validated certificate chain.

4.5 Why Rejection Sampling Matters

A central challenge in lattice-based signature design is producing signatures without exposing exploitable information about the underlying secret vectors.

ML-DSA uses masking and rejection conditions to constrain the distribution and structure of generated signatures. When a candidate fails the required checks, the signing procedure generates another candidate.

Generate Candidate Bounds Satisfied? YES Accept Encode signature NO — REGENERATE
Figure 4.4 — Conceptual rejection sampling loop. The actual algorithm applies multiple prescribed checks.

From an infrastructure perspective, signing latency can vary because the number of candidate-generation attempts is not fixed. Engineers evaluating high-volume signing services should therefore measure latency distributions rather than relying exclusively on average signing times.

Implementations must also address side-channel resistance, randomness requirements, memory handling and secure key storage. Algorithm standardisation alone does not guarantee a secure implementation.

4.6 ML-DSA-44, ML-DSA-65 and ML-DSA-87

FIPS 204 defines three parameter sets that offer different security and resource-consumption characteristics. Higher parameter sets require larger keys and signatures and may introduce additional computational overhead.

Parameter set NIST category Public key Private key Signature
ML-DSA-44 2 1,312 B 2,560 B 2,420 B
ML-DSA-65 3 1,952 B 4,032 B 3,309 B
ML-DSA-87 5 2,592 B 4,896 B 4,627 B
Signature Size Comparison
ECDSA P-256 — 64 bytes (raw r || s)
RSA-3072 — 384 bytes
ML-DSA-44 — 2,420 bytes
ML-DSA-65 — 3,309 bytes
ML-DSA-87 — 4,627 bytes
Algorithm-level signature sizes. ECDSA DER encoding introduces additional bytes. Protocol and certificate overhead are excluded. This is a size comparison, not a security-equivalence comparison.
Network Engineering Impact

An ML-DSA-65 signature alone occupies 3,309 bytes, exceeding the payload capacity of a typical 1,500-byte Ethernet MTU. In TCP-based TLS this normally results in additional TCP segments, rather than necessarily causing IP fragmentation. Complete certificate chains can introduce considerably more data.

4.7 ML-DSA and SLH-DSA: Alternative Trust Foundations

FIPS 204

ML-DSA

A module-lattice-based signature algorithm derived from CRYSTALS-Dilithium. It offers a practical balance between signature size, key size and computational performance for many potential enterprise applications.

FIPS 205

SLH-DSA

A stateless hash-based signature algorithm derived from SPHINCS+. It provides an alternative mathematical foundation, with different performance characteristics and substantially larger signatures for its standardised parameter sets.

SLH-DSA can provide cryptographic diversity where organisations wish to avoid depending exclusively on lattice-based assumptions. Algorithm selection should reflect application requirements, regulatory guidance, implementation maturity and the operational cost of larger signatures.

4.8 Post-Quantum TLS Authentication

In a certificate-authenticated TLS 1.3 handshake, the server normally presents its certificate chain and uses its private signing key to produce a CertificateVerify signature over protocol-defined handshake transcript information.

A client validates the certificate chain and verifies the CertificateVerify signature before accepting the authenticated server identity. Mutual TLS extends certificate-based authentication to the client.

TLS Client TLS Server ClientHello ServerHello ENCRYPTED SERVER HANDSHAKE EncryptedExtensions + Certificate CertificateVerify — ML-DSA Server Finished Client Finished AUTHENTICATED SESSION
Figure 4.5 — Simplified TLS 1.3 server authentication using ML-DSA where supported by the negotiated protocol profile. Optional messages and implementation details are omitted.
Key Establishment

ML-KEM or Hybrid Key Exchange

Protects the establishment of shared session secrets against the relevant cryptographic threats.

Authentication

ML-DSA Signatures

Authenticates the handshake through the negotiated signature scheme and associated certificate trust infrastructure.

Deployment Distinction

A TLS connection using post-quantum key establishment does not automatically use post-quantum authentication. Likewise, FIPS 204 standardisation does not mean that every TLS library, browser, firewall or load balancer supports ML-DSA. Both capabilities must be evaluated independently.

4.9 X.509 Certificates and Post-Quantum PKI

Public Key Infrastructure establishes trust relationships between certificate authorities, devices, services and applications. Migrating PKI to post-quantum algorithms involves more than replacing the signature algorithm on a single server.

OFFLINE TRUST ANCHOR Root CA Issuing CA Network and service identities Signing CA Software and device trust TLS Services Network Devices Code Signing Firmware Service identity Device identity Software integrity Boot integrity
Figure 4.6 — Illustrative enterprise post-quantum PKI hierarchy. Actual CA separation and algorithm policies depend on organisational trust requirements.

X.509 certificates contain a subject public key, identity information, validity constraints, extensions and an issuer signature. The subject public-key algorithm and the issuer's certificate-signature algorithm are distinct properties.

A certificate containing an ML-DSA public key may still be signed by a classical certificate authority where supported by the applicable certificate profile. Such a chain does not automatically provide fully post-quantum authentication.

PKI Migration Requirements
01

Certificate Authorities

Validate root and issuing CA algorithm support, certificate profiles and issuance policies.

02

Hardware Security Modules

Confirm supported parameter sets, key protection, firmware compatibility and applicable validation requirements.

03

Relying Parties

Test certificate parsing, algorithm identifiers, chain validation and trust-store compatibility.

04

Certificate Lifecycle

Evaluate enrolment, renewal, revocation, key rotation, auditing and disaster recovery.

4.10 Code Signing and Secure Boot

Post-quantum signatures are particularly relevant to infrastructure with long operational lifetimes. Routers, industrial controllers, embedded devices and critical infrastructure equipment may remain deployed for many years.

If a device relies on a classical signing key embedded in an immutable boot trust anchor, migrating to a new signature algorithm may require significant firmware changes or even hardware replacement.

BUILD SIGN DISTRIBUTE VERIFY CI/CD Pipeline ML-DSA HSM Signed Image Network Device Firmware artifact Protected key Artifact repository Boot trust anchor VERIFIED SOFTWARE SUPPLY CHAIN
Figure 4.7 — Conceptual post-quantum software signing and secure boot architecture, assuming compatible device firmware and signing infrastructure.

Code Signing

Protects the integrity and authenticity of software releases, container artifacts, packages, firmware and deployment manifests. The verifier must enforce the correct signing identity and artifact policy.

Secure Boot

Establishes a chain of trust from a hardware or firmware trust anchor through bootloaders and operating system images. Invalid or unauthorised components should be rejected according to the platform's security policy.

Long-Term Signature Validation

Archived signed records may require trusted timestamps, preserved validation evidence and renewed protection as algorithms and trust policies evolve.

Crypto-Agile Firmware

Devices should support controlled trust-anchor updates, algorithm transitions and rollback protection without compromising their established boot security boundary.

4.11 Production Digital Trust Architecture

A production post-quantum signature architecture spans multiple operational domains. Certificate authorities, signing services, hardware security modules, TLS termination points, device identities and software supply chains must operate under consistent cryptographic governance.

Trust Plane

PKI and Identity

Root trust anchors, issuing authorities, certificate profiles, workload identities and certificate lifecycle automation.

Signing Plane

Cryptographic Services

HSMs, protected signing keys, signing APIs, access controls and tamper-resistant audit records.

Enforcement Plane

Verification

TLS endpoints, network devices, API gateways, secure boot systems and software admission controllers.

Infrastructure component Engineering concern Validation evidence
TLS load balancer Signature negotiation and certificate size Handshake traces and latency percentiles
Enterprise CA Algorithm profiles and chain compatibility Certificate issuance and validation tests
HSM Key protection and signing throughput Operations per second and queue depth
Network appliance Memory limits and firmware support Resource telemetry and boot validation
Software pipeline Artifact authenticity and signer identity Signature verification and provenance logs
Security monitoring Algorithm policy and downgrade detection Negotiated algorithms and policy violations

4.12 Engineering Investigation: The Failing Certificate Migration

Production Incident / PQC-004

Post-Quantum Certificate Rollout Causes TLS Failures

An enterprise introduces ML-DSA certificates on a test group of application gateways. Modern test clients connect successfully, but several legacy applications fail during certificate processing. Other clients experience increased handshake latency.

[INFO] Server certificate: ML-DSA-65
[INFO] Modern test client: verification successful
[FAIL] Legacy client: unsupported public key algorithm
[FAIL] Restricted client: certificate message exceeds configured limit

[WARN] Handshake latency above baseline
Illustrative diagnostic output, not a capture from a real deployment.
01

Inspect Algorithm Negotiation

Determine whether the client and server support a compatible signature scheme and certificate public-key algorithm.

02

Validate the Certificate Chain

Inspect issuer signatures, trust anchors, algorithm identifiers, certificate extensions and certificate path constraints.

03

Measure Handshake Expansion

Compare certificate message sizes, TCP segmentation, retransmissions, handshake duration and configured protocol buffer limits against the classical baseline.

04

Inspect Cryptographic Performance

Examine signing latency, verification latency, HSM utilisation, CPU consumption and connection establishment rates.

05

Apply a Controlled Migration Policy

Use explicitly approved compatibility profiles, staged deployment groups and monitored rollback procedures. Avoid silent fallback that violates the organisation's required authentication security level.

Engineering Takeaways

Digital Trust in the Post-Quantum Era

ML-DSA introduces a standardised lattice-based mechanism for digital signatures, but migrating enterprise digital trust requires coordinated changes across cryptographic libraries, certificate authorities, hardware security modules, network infrastructure and software supply chains.

The engineering challenge is not simply generating a quantum-resistant signature. It is ensuring that every component responsible for issuing, transporting, validating and enforcing digital trust can support the new cryptographic architecture reliably and securely.

Post-quantum key establishment protects session secrets. Post-quantum digital signatures protect authentication and integrity. Crypto-agility enables both to evolve.

Next Engineering Section / 05

Hybrid Cryptography and Quantum-Safe TLS

Explore how classical and post-quantum cryptographic mechanisms can coexist within modern TLS architectures, including hybrid key establishment, handshake negotiation, certificate authentication, downgrade resistance and enterprise TLS termination.

NETWORK INSIGHT — ENGINEERING GUIDES MATTHEW CONRAN POST-QUANTUM SECURITY / 04
Network Insight · Interactive Engineering 04

Post-Quantum Signature Explorer

Investigate quantum-resistant digital signatures, message integrity, signer authentication and cryptographic trust. Compare module-lattice-based ML-DSA with stateless hash-based SLH-DSA across enterprise network infrastructure.

Quantum Black & Chrome Edition FIPS 204 FIPS 205 ML-DSA SLH-DSA Digital Trust
Algorithm ML-DSA-65 Selected signature scheme
Public Key 1,952 B Verification key
Signature 3,309 B Encoded signature size
Verification Pending Mathematical validity
Trust Decision Pending Application acceptance
Signature Laboratory

Configure Digital Signature

Current Stage

A digital signature provides evidence of message integrity and possession of the corresponding signing key. It does not encrypt the message or independently establish the identity of the signer.
Animated Cryptographic Digital Twin

Post-Quantum Signing and Verification Architecture

Engineering Assessment

Message Integrity Laboratory

Inspect the Signed and Received Objects

Original Message

Signer View

—
—
—
Received Message

Verifier View

—
—
—
Signature Object

Encoded Signature

—

Awaiting signature generation.

Verification Result

Awaiting Verification

Execute the signature journey.

SHA-256 fingerprints are calculated using Web Crypto when available. They are diagnostic message fingerprints, not a representation of the complete ML-DSA or SLH-DSA signing algorithms. Signature bytes and key identifiers are synthetic educational objects.
NIST Signature Standards

ML-DSA Parameter Explorer — FIPS 204

Parameter ML-DSA-44 ML-DSA-65 ML-DSA-87
NIST security category 235
Public key 1,312 B 1,952 B 2,592 B
Private key 2,560 B 4,032 B 4,896 B
Signature 2,420 B 3,309 B 4,627 B
Module matrix dimensions 4 × 4 6 × 5 8 × 7
ML-DSA is a module-lattice-based digital signature algorithm standardised in NIST FIPS 204. It is designed to provide digital signature security against classical and quantum adversaries under its underlying security assumptions.
Stateless Hash-Based Signatures

SLH-DSA Parameter Explorer — FIPS 205

Parameter set Category Public key Private key Signature
SLH-DSA is a stateless hash-based signature standard specified in NIST FIPS 205. It uses a hypertree construction incorporating XMSS, WOTS+ and FORS components. The tree shown here is a simplified teaching diagram, not a complete SLH-DSA implementation.
Cryptographic Architecture Comparison

Module-Lattice Signatures versus Hash-Based Signatures

Module-Lattice-Based

ML-DSA

Uses structured polynomial arithmetic, short secret vectors, commitment generation, a message-bound challenge and rejection sampling. The verifier reconstructs the relevant commitment information and checks the signature conditions.

Stateless Hash-Based

SLH-DSA

Uses hash-based signature components and authentication paths within a hypertree. Verification reconstructs the public root through the relevant signature and hash-tree computations.

Identity and Trust Decision Engine

Cryptographic Validity Does Not Automatically Mean Trust

Security Check Result
A mathematically valid signature may still be rejected because the signer is not trusted, the credential is revoked, or application authorisation policy is not satisfied. This laboratory models those decisions separately.
Network Engineering Analysis

Post-Quantum Signature Transmission Overhead

Calculated Network Impact

The network model assumes a signed application message, its signature, optional raw verification key and additional protocol bytes are carried in a TCP byte stream. Certificate encoding, acknowledgements, retransmissions, Ethernet overhead and protocol-specific record boundaries are excluded.
Signature Size Comparison

Classical and Post-Quantum Signature Objects

The comparison uses raw 64-byte Ed25519 and fixed-width P-256 ECDSA signatures, a 256-byte RSA-2048 signature, and selected standardised post-quantum signature sizes. DER-encoded ECDSA signatures can have different lengths. These algorithms do not all provide equivalent security levels.
Production Diagnostics

Post-Quantum Signature CLI

Vendor-neutral educational diagnostic interface. Enter help to display available commands.

Interactive Engineering Challenges

Post-Quantum Signature Investigations

Active Engineering Investigation

Select an Engineering Challenge

Execute the appropriate signature experiment, inspect the diagnostic evidence and select the correct engineering conclusion.

0 of 6 engineering challenges completed

Network Insight / Post-Quantum Security / Section 05

Hybrid Cryptography and Quantum-Safe TLS

Engineering the transition from classical secure communications to quantum-resistant session establishment through hybrid cryptography, TLS 1.3, cryptographic key schedules and enterprise-scale security infrastructure.

TLS 1.3 X25519 ML-KEM-768 Hybrid Key Exchange HKDF CertificateVerify Crypto-Agility TLS Termination
Classical Foundation
X25519

Elliptic-curve Diffie-Hellman key agreement.

Post-Quantum Foundation
ML-KEM

Module-lattice-based key encapsulation.

Combined Architecture
HYBRID

Protocol-defined combination of independent cryptographic mechanisms.

5.1 Why Hybrid Cryptography Matters

Replacing the cryptographic foundations of the Internet is fundamentally different from introducing a new application feature. TLS protects web applications, cloud services, management interfaces, APIs, microservices and enterprise communications across billions of interconnected systems.

Classical key agreement mechanisms such as X25519 provide established security properties against known conventional attacks. However, their elliptic-curve mathematical foundations are vulnerable in principle to sufficiently capable fault-tolerant quantum computers running Shor's algorithm.

Post-quantum mechanisms such as ML-KEM introduce different mathematical assumptions. Hybrid key establishment combines classical and post-quantum components within a defined protocol construction rather than requiring an immediate transition to a single new cryptographic foundation.

CLASSICAL PATH X25519 ECDH shared secret QUANTUM-RESISTANT PATH ML-KEM Encapsulated shared secret HYBRID GROUP COMBINE Defined construction TLS KEY SCHEDULE HKDF Derived traffic keys
Figure 5.1 — Hybrid key establishment combines classical and post-quantum shared secrets using a protocol-defined construction before TLS derives its traffic keys.
Engineering Principle

A properly designed hybrid key establishment construction aims to preserve confidentiality if at least one component remains secure, subject to the security properties of the combiner, protocol and implementation. Simply combining two arbitrary algorithms does not automatically provide this guarantee.

5.2 The TLS 1.3 Security Architecture

TLS 1.3 separates key establishment, authentication, key derivation and authenticated encryption into distinct cryptographic functions. This separation makes it possible to introduce new key establishment mechanisms without replacing every cryptographic component simultaneously.

Layer 01

Key Establishment

Establishes shared secret material between endpoints. A negotiated hybrid group can combine X25519 and ML-KEM.

Layer 02

Authentication

Establishes endpoint authenticity through certificates, digital signatures or an appropriate pre-shared-key authentication mechanism.

Layer 03

Key Derivation

HKDF derives handshake secrets, application traffic secrets and associated cryptographic key material.

Layer 04

Record Protection

Authenticated encryption algorithms such as AES-GCM and ChaCha20-Poly1305 protect TLS records.

Important TLS 1.3 Distinction

TLS 1.3 cipher suites specify the authenticated encryption algorithm and associated hash function. The key establishment group and signature algorithm are negotiated separately. A cipher suite name alone does not establish whether a connection uses post-quantum cryptography.

5.3 Understanding X25519 and ML-KEM Hybrid Groups

X25519 performs elliptic-curve Diffie-Hellman key agreement using Curve25519. Each endpoint contributes a public value derived from private key material, allowing both endpoints to compute a common shared secret.

ML-KEM operates differently. One endpoint generates an encapsulation key and decapsulation key. The other endpoint uses the encapsulation key to generate a ciphertext and shared secret. The first endpoint decapsulates the ciphertext to recover the corresponding shared secret.

Property X25519 ML-KEM-768
Mathematical foundation Elliptic-curve discrete logarithm Module-lattice cryptography
Mechanism Diffie-Hellman key agreement Key encapsulation mechanism
Public contribution 32-byte public value 1,184-byte encapsulation key
Responder contribution 32-byte public value 1,088-byte ciphertext
Shared secret size 32 bytes 32 bytes
Quantum resistance Not resistant to sufficiently capable Shor attacks Designed to resist known quantum attacks

A hybrid TLS group such as X25519MLKEM768 combines these mechanisms into a single negotiated key establishment group. Both components participate in the handshake and contribute secret material to the TLS key schedule.

Engineers must distinguish the final ML-KEM algorithm from earlier experimental Kyber-based TLS groups. Similar algorithm names do not guarantee compatible wire encodings, identifiers or implementations.

5.4 The Hybrid TLS 1.3 Handshake

The hybrid handshake retains the overall TLS 1.3 architecture. The principal change is the structure of the negotiated key share and the computation of the shared secret supplied to the key schedule.

TLS CLIENT Hybrid-capable endpoint TLS SERVER Hybrid-capable service Generate X25519 key pair Generate ML-KEM key pair ClientHello supported_groups + hybrid key_share Compute X25519 secret ML-KEM encapsulation Combine shared secrets ServerHello Selected group + responder key share Compute X25519 secret ML-KEM decapsulation Combine shared secrets BOTH ENDPOINTS Derive handshake traffic keys ENCRYPTED HANDSHAKE EncryptedExtensions + Certificate CertificateVerify Server Finished Client Finished PROTECTED APPLICATION DATA
Figure 5.2 — Simplified certificate-authenticated hybrid TLS 1.3 handshake. Optional messages, PSK resumption, HelloRetryRequest and client certificate authentication are omitted.
01

Client Cryptographic Preparation

The client generates ephemeral X25519 key material and an ML-KEM encapsulation and decapsulation key pair.

02

ClientHello

The client advertises supported groups and supplies key shares for selected groups. A hybrid key share contains the required classical and post-quantum public contributions.

03

Server Cryptographic Processing

The server selects a compatible hybrid group, computes its X25519 shared secret and performs ML-KEM encapsulation using the client's encapsulation key.

04

ServerHello

The server returns its classical public contribution and the ML-KEM ciphertext in the negotiated group's required encoding.

05

Client Shared Secret Recovery

The client computes its X25519 shared secret and decapsulates the ML-KEM ciphertext. Both endpoints now possess the corresponding component secrets.

06

Key Derivation and Authentication

Both endpoints construct the hybrid shared secret, derive handshake traffic keys and complete the authentication and Finished verification procedures.

5.5 Shared Secret Combination

The hybrid construction must combine its component secrets in an unambiguous, protocol-defined manner. Both endpoints must use identical ordering, lengths, encodings and cryptographic processing.

Classical shared secret = Z_classical
Post-quantum shared secret = Z_pq

Z_hybrid = ProtocolDefinedCombine(Z_classical, Z_pq)

X25519 component = 32 bytes
ML-KEM-768 component = 32 bytes
Concatenated input = 64 bytes

In a concatenation-based hybrid group, the combined secret is formed from the component secrets in the order specified by that group's definition. The resulting input is then processed by the TLS 1.3 key schedule.

Implementation Boundary

The representation above is conceptual pseudocode, not an implementation specification. Production systems must follow the exact negotiated group's wire format, secret ordering, validation rules and key schedule integration. Do not construct a proprietary hybrid protocol from this illustration.

X25519 SHARED SECRET 32 BYTES ML-KEM SHARED SECRET 32 BYTES PROTOCOL-DEFINED COMBINATION 64-BYTE HYBRID INPUT
Figure 5.3 — Conceptual combined shared-secret size. The diagram does not specify component ordering.

5.6 HKDF and the TLS 1.3 Key Schedule

TLS does not directly use the shared secret produced by key establishment as an application encryption key. Instead, TLS 1.3 uses the HMAC-based Extract-and-Expand Key Derivation Function, known as HKDF.

HKDF supports the derivation of multiple cryptographic secrets from input key material. TLS combines HKDF operations with protocol-specific labels and transcript hashes to establish separation between cryptographic contexts and traffic directions.

PSK OR ZERO INPUT Early Secret HYBRID SHARED SECRET X25519 + ML-KEM HKDF-EXTRACT Handshake Secret CLIENT DIRECTION Handshake Traffic Secret SERVER DIRECTION Handshake Traffic Secret FURTHER KEY DERIVATION Master Secret Application Traffic Secrets Exporter Master Secret Resumption Master Secret
Figure 5.4 — Simplified TLS 1.3 key schedule. Intermediate Derive-Secret operations, transcript hashes, Finished keys and early-data branches are omitted for clarity.
HKDF-Extract

Secret Extraction

Processes input key material and a salt to produce a pseudorandom key suitable for subsequent derivation.

HKDF-Expand

Context-Specific Derivation

Derives output key material using contextual information. TLS 1.3 applies its own HKDF-Expand-Label construction.

Handshake Secret = HKDF-Extract(
  Derive-Secret(Early Secret, "derived", ""),
  Negotiated Shared Secret
)

Client Handshake Traffic Secret = Derive-Secret(
  Handshake Secret,
  "c hs traffic",
  ClientHello...ServerHello
)

The negotiated hybrid shared secret occupies the key establishment input position in the TLS key schedule. The surrounding TLS 1.3 derivation architecture continues to provide separate secrets for different protocol purposes.

5.7 CertificateVerify and Authentication

Hybrid key establishment addresses the confidentiality properties of session secret establishment. It does not independently establish the identity of the remote endpoint.

During a certificate-authenticated TLS 1.3 handshake, the CertificateVerify message contains a digital signature over protocol-defined data incorporating the handshake transcript hash. This binds authentication to the specific handshake.

Deployment Profile A

Hybrid Key Exchange + Classical Authentication

X25519 and ML-KEM establish session secrets while RSA or ECDSA provides certificate-based authentication.

This can improve resistance to harvest-now-decrypt-later threats, but classical authentication remains vulnerable to a future sufficiently capable quantum attacker.

Deployment Profile B

Hybrid Key Exchange + Post-Quantum Authentication

Hybrid key establishment is combined with a supported post-quantum signature scheme and an appropriately protected certificate trust path.

This addresses both key establishment and authentication migration, subject to the security of the complete protocol and implementation.

Security Architecture

Quantum-resistant key establishment, quantum-resistant authentication and quantum-appropriate symmetric protection are separate engineering objectives. A successful migration must evaluate each independently.

5.8 Algorithm Negotiation and HelloRetryRequest

TLS endpoints communicate their cryptographic capabilities during the handshake. A client may support several key establishment groups while initially transmitting key shares for only a subset of those groups.

TLS mechanism Engineering purpose
supported_groups Advertises supported key establishment groups.
key_share Transports group-specific public key material.
signature_algorithms Advertises supported handshake signature schemes.
signature_algorithms_cert Optionally identifies supported certificate signature algorithms.
cipher_suites Advertises supported record-protection and hash combinations.
HelloRetryRequest Allows a server to request an appropriate key share when required.
CLIENT SERVER ClientHello — hybrid group supported Required hybrid key share not included HelloRetryRequest ClientHello 2 — requested hybrid key share ServerHello — selected hybrid group
Figure 5.5 — Illustrative HelloRetryRequest flow. The additional exchange introduces an extra network round trip before handshake completion.

Offering more initial key shares can reduce the probability of a retry, but it increases ClientHello size. Offering fewer key shares reduces the initial message size but may introduce an additional round trip.

This creates a production engineering trade-off between bandwidth consumption, compatibility, cryptographic policy and connection establishment latency.

5.9 Downgrade Resistance and Cryptographic Policy

TLS 1.3 incorporates transcript authentication and Finished verification to detect unauthorised modification of the negotiated handshake. An attacker cannot ordinarily remove an advertised hybrid group from an authenticated handshake without causing transcript verification to fail.

However, cryptographic downgrade resistance also depends on application behaviour, endpoint policy, retry logic and operational configuration.

Policy 01

Hybrid Required

Connections must negotiate an approved hybrid group. Unsupported peers fail according to policy.

Policy 02

Hybrid Preferred

Hybrid groups are preferred, while explicitly approved classical groups remain available during migration.

Policy 03

Uncontrolled Fallback

Applications retry failed connections with weaker settings without adequate policy enforcement or visibility.

Production Security Requirement

A successful classical TLS connection is not evidence that a required post-quantum policy has been satisfied. Organisations must monitor the actual negotiated group and enforce minimum cryptographic requirements.

5.10 Hybrid Key Shares and Network Overhead

Post-quantum key establishment introduces larger public contributions than traditional elliptic-curve mechanisms. This directly affects TLS handshake message sizes and potentially changes packet transmission behaviour.

Key Share Payload Comparison
X25519 client key share — 32 bytes
ML-KEM-768 encapsulation key — 1,184 bytes
Hybrid client key share — 1,216 bytes
Hybrid server key share — 1,120 bytes
Raw cryptographic key share payload sizes for an X25519 and ML-KEM-768 hybrid construction. TLS extension headers, other extensions, transport headers and certificates are excluded.
Client Contribution
38×

Hybrid client key share payload compared with a 32-byte X25519 key share.

Server Contribution
35×

Hybrid server key share payload compared with a 32-byte X25519 key share.

Combined Increase
2,272 B

Additional raw key share bytes across both contributions compared with X25519 alone.

These ratios apply only to the raw key share contributions, not the complete TLS handshake. The overall increase depends on certificate chains, additional extensions, transport behaviour and other protocol data.

ILLUSTRATIVE CLASSICAL CLIENTHELLO Headers TLS handshake data ILLUSTRATIVE HYBRID CLIENTHELLO Headers Other TLS data Hybrid share Partial payload Headers Remaining TLS data TCP byte stream reassembled by the receiving endpoint
Figure 5.6 — Illustrative segmentation comparison, not an exact packet-size model. Actual segment counts depend on the complete handshake, MSS, MTU and transport stack.

In TCP-based TLS, larger handshake messages can span multiple TCP segments and TLS records. This does not inherently imply IP fragmentation.

QUIC-based TLS introduces different considerations, including UDP datagram sizes, CRYPTO frame transport, loss recovery and server anti-amplification limits before client address validation.

5.11 Enterprise TLS Termination Architecture

Enterprise applications rarely communicate directly with a single application server. TLS sessions may terminate at content delivery networks, web application firewalls, reverse proxies, API gateways, service mesh proxies or load balancers.

Each termination point establishes an independent cryptographic boundary. When a proxy decrypts an incoming TLS connection and establishes another connection towards a backend service, the two sessions negotiate their cryptographic properties independently.

Client Hybrid TLS capable TLS TERMINATION Edge Gateway Decrypt / inspect / re-encrypt Backend Service Independent TLS endpoint FRONTEND SESSION X25519 + ML-KEM Hybrid key establishment BACKEND SESSION Classical X25519 Separate cryptographic policy CRYPTOGRAPHIC COVERAGE GAP Hybrid frontend protection does not extend automatically to the backend connection.
Figure 5.7 — Enterprise TLS termination creates separate cryptographic sessions. Frontend and backend protection must be assessed independently.
Reverse Proxy

Frontend and Backend TLS

Validate supported hybrid groups on both listener and upstream connection configurations. Inspect certificate handling and connection pooling behaviour.

Load Balancer

Layer 4 versus Layer 7

A TLS passthrough load balancer generally preserves the endpoint-to-endpoint TLS session. A terminating load balancer introduces its own cryptographic boundary.

API Gateway

API Security and Cryptographic Policy

Evaluate client-facing TLS, backend TLS, mutual authentication, certificate validation and negotiated algorithm telemetry.

Service Mesh

East-West Communications

Validate the cryptographic capabilities of workload proxies, identity infrastructure, control-plane components and inter-service connections.

5.12 Quantum-Ready Enterprise Communications

Enterprise Clients Mobile Applications Partner APIs Managed endpoints External access Machine identities EDGE SECURITY PLANE CDN / WAF / TLS Gateway API Gateway Approved TLS profile Application Proxy Approved TLS profile Microservices AI Services Applications Data Services Protected transport Protected transport Protected transport Protected transport
Figure 5.8 — Target-state enterprise communications architecture. Each protected connection requires an independently validated cryptographic policy and compatible endpoints.

A quantum-ready architecture should maintain visibility into every significant cryptographic boundary rather than treating the public-facing gateway as the sole migration target.

Communication path Required engineering validation
Client to CDN Browser support, negotiated group and edge policy.
CDN to origin Independent origin TLS capabilities and authentication.
API gateway to service Upstream TLS configuration and certificate trust.
Service to service Service mesh mTLS, workload identity and algorithm support.
Application to database Database driver, server TLS library and connection policy.
Management network Administrative interfaces and device cryptographic capabilities.

5.13 Production Performance and Session Resumption

Post-quantum TLS performance cannot be evaluated solely by benchmarking ML-KEM encapsulation and decapsulation. Production performance depends on the complete connection establishment path.

Compute

Cryptographic Processing

Key generation, encapsulation, decapsulation, signature verification and memory allocation.

Network

Handshake Transport

Message size, packet loss, retransmission, round-trip latency and path characteristics.

Platform

Connection Capacity

TLS worker utilisation, connection queues, session caches and peak connection rates.

TLS session resumption and connection reuse can reduce the frequency of full handshakes. However, resumed sessions require their own cryptographic policy.

TLS 1.3 supports PSK-based resumption with or without a fresh key establishment exchange, depending on the negotiated mode and implementation. A resumed connection does not necessarily perform a new hybrid exchange.

Similarly, TLS 1.3 early data is protected using PSK-derived key material before completion of a fresh handshake and has distinct replay and forward-secrecy considerations.

Benchmarking Strategy

Measure full handshakes and resumed handshakes separately. Compare connection establishment latency, CPU utilisation, memory consumption, negotiated algorithms and failure rates under realistic traffic conditions.

5.14 Engineering Investigation: The Hybrid TLS Incident

Production Incident / PQC-005

Hybrid TLS Rollout Introduces Intermittent Connection Failures

An enterprise enables hybrid key establishment on its external application gateways. Modern clients negotiate the hybrid group successfully, but several remote locations report increased connection latency and intermittent handshake failures.

Security monitoring also reveals that backend connections continue to negotiate classical key establishment.

[INFO] Frontend TLS version: TLS 1.3
[INFO] Frontend group: X25519MLKEM768
[INFO] Backend group: X25519
[WARN] ClientHello spans multiple TCP segments
[WARN] HelloRetryRequest rate above baseline
[WARN] Backend cryptographic coverage incomplete

[FAIL] Legacy inspection device rejects handshake
[FAIL] Hybrid-required policy not satisfied on backend
Synthetic engineering incident and illustrative telemetry. Not output from a specific vendor or production deployment.
01

Establish the Classical Baseline

Record handshake success rates, negotiated groups, ClientHello sizes, connection establishment latency and resource utilisation before the migration.

02

Inspect Handshake Negotiation

Examine supported_groups, key_share and the selected ServerHello group. Determine whether a HelloRetryRequest introduces an additional round trip.

03

Investigate Network Transport

Compare TCP segmentation, retransmissions, MSS, path MTU behaviour and connection timeouts. Determine whether failures correlate with larger handshake messages.

04

Inspect Middlebox Behaviour

Test whether inspection devices, firewalls or legacy proxies incorrectly reject unfamiliar groups, larger messages or multi-segment ClientHello traffic.

05

Validate Every TLS Termination Boundary

Independently inspect frontend, upstream and east-west TLS sessions. Identify connections that continue using classical key establishment.

06

Restore Policy-Compliant Operation

Upgrade incompatible infrastructure, adjust validated protocol limits and deploy approved migration profiles. Avoid uncontrolled fallback as a troubleshooting shortcut.

5.15 Enterprise Post-Quantum TLS Migration Roadmap

01

Cryptographic Discovery

Inventory TLS libraries, certificates, endpoints, termination devices, supported groups and cryptographic dependencies.

02

Data Classification and Threat Assessment

Identify communications requiring long-term confidentiality and prioritise exposure to harvest-now-decrypt-later threats.

03

Controlled Hybrid Deployment

Introduce approved hybrid groups within a representative test environment. Validate endpoint compatibility and collect performance evidence.

04

Production Canary Deployment

Enable hybrid cryptography for a controlled subset of services and clients. Monitor negotiated groups, connection failures and latency distributions.

05

Expand Cryptographic Coverage

Extend the approved architecture to backend connections, internal APIs, management services and service-to-service communications.

06

Authentication Migration

Introduce supported post-quantum signature schemes, certificate profiles and trust infrastructure according to implementation readiness.

07

Continuous Crypto-Agility

Maintain algorithm inventories, configurable cryptographic policies, interoperability testing, monitoring and controlled algorithm retirement.

Engineering Takeaways

Hybrid Cryptography Is an Architectural Transition

Hybrid TLS provides a mechanism for introducing quantum-resistant key establishment while retaining an established classical cryptographic component.

However, the security properties of a production deployment depend on much more than selecting X25519 and ML-KEM. Algorithm negotiation, key derivation, authentication, transport behaviour, termination boundaries and migration policies must all operate correctly.

Enterprise engineers must therefore treat post-quantum TLS as an infrastructure-wide cryptographic transformation rather than a single gateway configuration change.

The objective is not merely to establish a hybrid TLS session. It is to establish verifiable, policy-compliant cryptographic protection across the complete communications architecture.

Next Engineering Section / 06

Quantum-Safe VPNs, IPsec and Network Infrastructure

Explore how post-quantum cryptography extends beyond application-layer TLS into network-layer security, including IKEv2, IPsec tunnels, multiple key exchanges, security associations, enterprise VPN gateways, SD-WAN infrastructure and hybrid network connectivity.

CONTINUE TO SECTION 06
NETWORK INSIGHT — ENGINEERING GUIDES MATTHEW CONRAN POST-QUANTUM SECURITY / 05
Network Insight · Interactive Engineering 05

Hybrid TLS Handshake Simulator

Explore the transition from classical TLS 1.3 key establishment to hybrid post-quantum cryptography. Investigate negotiation, shared secrets, authentication, encrypted traffic, interoperability and production network failures.

Quantum Black & Chrome TLS 1.3 X25519 ML-KEM-768 Hybrid Key Establishment Packet Analysis
Negotiated Group Pending TLS key establishment
TLS State Idle Handshake progression
Key Exchange Pending Classical or hybrid
Authentication Pending Server identity validation
Application Traffic Blocked Session availability
TLS Engineering Laboratory

Configure the Connection

Current Protocol State

This laboratory models a full TLS 1.3 handshake without session resumption, early data or client certificate authentication.
Animated Network Digital Twin

Hybrid TLS Architecture

Engineering Assessment

Protocol Sequence Explorer

TLS 1.3 Message Sequence

ClientHello and ServerHello are visible before handshake traffic encryption is established. Subsequent server handshake messages are protected using handshake traffic keys. The client and server derive application traffic secrets through the TLS 1.3 key schedule.
Cryptographic Object Inspector

ClientHello and ServerHello Anatomy

Client → Server

ClientHello

Server → Client

ServerHello

X25519MLKEM768 combines an X25519 key exchange with ML-KEM-768. Its client key share contains a 1,184-byte ML-KEM encapsulation key and a 32-byte X25519 public key. Its server key share contains a 1,088-byte ML-KEM ciphertext and a 32-byte X25519 public key. These sizes exclude TLS extension framing.
Hybrid Cryptographic Engine

Shared Secret Establishment and TLS Key Schedule

Classical Component

X25519

Awaiting key establishment.

Elliptic-curve Diffie-Hellman produces a 32-byte shared secret.

Post-Quantum Component

ML-KEM-768

Awaiting encapsulation.

Encapsulation and decapsulation establish a 32-byte shared secret.

Hybrid Key Establishment Output

Awaiting Negotiation

—

All displayed secret values are synthetic educational placeholders. Real TLS implementations never expose shared secrets in an ordinary packet capture. The combined secret is an input to the TLS key schedule, not a directly usable application encryption key.
Authentication and Security Policy

Hybrid Key Establishment Does Not Automatically Upgrade Authentication

Confidentiality

Pending

Server Authentication

Pending

Security property Classical TLS Hybrid TLS
Key establishment X25519 X25519 + ML-KEM-768
Application encryption AES-GCM or ChaCha20-Poly1305 AES-GCM or ChaCha20-Poly1305
Server authentication Classical signature Independent signature negotiation
Recorded-session quantum exposure Classical key establishment at risk Mitigated by secure hybrid establishment
Transcript authentication CertificateVerify and Finished CertificateVerify and Finished
Hybrid key establishment is intended to retain confidentiality if one component remains secure, subject to the construction and implementation assumptions. Classical certificate authentication remains a separate migration concern.
Network Performance Laboratory

Handshake Size, MTU and Transmission Overhead

Calculated Engineering Impact

Classical versus Hybrid TLS

Metric Classical Hybrid
This is a simplified transmission model using configurable certificate sizes, illustrative TLS framing and a 20-byte TCP header. It excludes retransmissions, congestion-window effects, acknowledgements, TCP connection establishment and cryptographic processing time. The latency calculation is illustrative, not a measured benchmark.
Virtual Wireshark Laboratory

Inspect the TLS Packet Capture

No. Time Source Destination Protocol Bytes Information
Selected Packet Details

Awaiting Packet Capture

Run the TLS handshake and select a captured message.
This is a synthetic, logical TLS message trace, not an actual PCAP file. Encrypted handshake message names represent a decrypted diagnostic view. Ordinary passive captures cannot reveal those protected messages without appropriate session secrets.
Engineering Fault Injection

Investigate Hybrid TLS Failures

Current Incident

Normal Operation

Select a fault scenario and execute the handshake.

Production Diagnostics

Quantum-Safe TLS CLI

Vendor-neutral simulated CLI. Enter help to display available commands.

Engineering Certification Challenges

Hybrid TLS Troubleshooting Laboratory

Active Engineering Investigation

Select a Challenge

Configure the connection, execute the handshake, collect CLI evidence and identify the outcome.

0 of 6 engineering challenges completed

NETWORK INSIGHT / POST-QUANTUM SECURITY / SECTION 06

Quantum-Safe VPNs, IPsec and Network Infrastructure

Engineering quantum-resistant network connectivity through hybrid IKEv2 key establishment, IPsec security associations, encrypted tunnels, distributed VPN gateways and cryptographically agile enterprise infrastructure.

IKEv2 IPsec ESP RFC 9370 ML-KEM SD-WAN Hybrid Cloud VPN Rekeying Crypto-Agility
Control Plane
IKEv2

Negotiation, authentication and cryptographic key establishment.

Data Plane
ESP

Confidentiality, integrity and replay protection for network traffic.

Quantum Migration
HYBRID

Multiple key exchanges contributing to protected security associations.

6.1 Why VPN Infrastructure Requires Post-Quantum Protection

Virtual private networks protect some of the most sensitive communication paths within enterprise infrastructure. They connect branch offices, data centres, cloud environments, industrial networks, remote users and geographically distributed applications.

Unlike an individual TLS session, a site-to-site VPN can transport traffic belonging to thousands of applications and users through a shared encrypted network tunnel. The cryptographic protection of that tunnel therefore becomes a foundational security dependency.

A future cryptographically relevant quantum computer could threaten classical public-key mechanisms used to establish VPN session keys. An adversary that records encrypted VPN traffic and its associated classical key exchanges today may attempt to recover historical session keys in the future.

ENTERPRISE NETWORK A VPN GW-A IKEv2 + ESP VPN GW-B IKEv2 + ESP ENTERPRISE NETWORK B CONTROL PLANE Hybrid IKEv2 Exchange DATA PLANE Encrypted ESP Traffic Symmetric traffic protection
Figure 6.1 — Conceptual site-to-site IPsec architecture. Hybrid key establishment protects the creation of key material, while ESP protects the transported network packets.
Fundamental Engineering Principle

Post-quantum VPN migration primarily changes how cryptographic keys are established and how peers are authenticated. It does not require ML-KEM to encrypt every individual packet travelling through an IPsec tunnel.

6.2 Separating the IKEv2 Control Plane and IPsec Data Plane

Internet Key Exchange version 2 provides the negotiation and management framework used to establish IPsec security associations. Encapsulating Security Payload provides the packet protection mechanism.

Control Plane

Internet Key Exchange — IKEv2

Negotiates cryptographic algorithms, exchanges key material, authenticates peers, establishes security associations, performs rekeying and manages tunnel lifecycle events.

Data Plane

Encapsulating Security Payload — ESP

Uses negotiated symmetric keys to protect IP packets, providing confidentiality and, when appropriately configured, integrity, authentication and anti-replay protection.

Function IKEv2 IPsec ESP
Algorithm negotiation Yes Uses negotiated parameters
Peer authentication Yes Uses established SA keys
Hybrid key establishment Supported through appropriate extensions Not performed per packet
Application packet encryption No Yes
Security association lifecycle Negotiates and manages Consumes SA state
Transport Typically UDP 500 or 4500 IP protocol 50 or UDP encapsulation

6.3 The Classical IKEv2 Handshake

A conventional IKEv2 connection begins with IKE_SA_INIT, followed by IKE_AUTH. The first exchange negotiates cryptographic parameters and establishes initial key material. The second authenticates the peers and normally establishes the first Child SA.

INITIATOR RESPONDER IKE_SA_INIT SA proposals + KEi + Ni IKE_SA_INIT Response Selected proposal + KEr + Nr INITIAL KEY DERIVATION Protected IKE message keys IKE_AUTH Protected identity + authentication + Child SA proposal IKE_AUTH Response Protected responder authentication + selected Child SA ESP Protected Traffic
Figure 6.2 — Simplified conventional IKEv2 exchange. Optional payloads, EAP authentication and other extensions are omitted for clarity.
Exchange 01

IKE_SA_INIT

Exchanges security association proposals, key exchange payloads and nonces. Initial IKE encryption and integrity keys are derived from the negotiated exchange.

Exchange 02

IKE_AUTH

Authenticates the communicating peers, exchanges identities and normally negotiates the first Child SA used for protected application traffic.

6.4 IKEv2 Key Derivation Architecture

IKEv2 derives a collection of cryptographic keys rather than relying on a single key for every security function. In conventional Diffie-Hellman-based establishment, the shared secret and exchanged nonces contribute to the initial SKEYSEED value.

SKEYSEED = prf(Ni | Nr, g^ir)

SK_d | SK_ai | SK_ar | SK_ei | SK_er | SK_pi | SK_pr
= prf+(SKEYSEED, Ni | Nr | SPIi | SPIr)

This represents the conventional initial IKEv2 derivation structure. Multiple-key-exchange extensions introduce additional derivation procedures and must follow their specific protocol definitions.

INITIATOR AND RESPONDER NONCES Ni + Nr INITIAL KEY EXCHANGE Shared Secret PSEUDORANDOM FUNCTION SKEYSEED prf+ Key Expansion SK_d SK_ai / SK_ar SK_ei / SK_er SK_pi / SK_pr Key derivation IKE integrity IKE encryption Authentication
Figure 6.3 — Conventional IKEv2 key separation. Additional derivation inputs are omitted from the diagram. Separate integrity keys may not be required when using an appropriate authenticated encryption transform.
Key MaterialPurpose
SK_dDerivation of further key material, including Child SA keys.
SK_ai / SK_arDirectional IKE message integrity keys when required.
SK_ei / SK_erDirectional IKE message encryption keys.
SK_pi / SK_prUsed in peer authentication computations.
Child SA KEYMATCryptographic key material for IPsec traffic protection.

6.5 RFC 9370 and Multiple Key Exchanges

RFC 9370 extends IKEv2 to support multiple key exchanges. Instead of relying exclusively on one negotiated key establishment mechanism, an IKE SA can incorporate additional exchanges into its cryptographic establishment.

This provides an architectural framework for combining classical and post-quantum mechanisms, subject to compatible algorithm specifications, implementations and negotiated security policies.

INITIAL EXCHANGE Classical KE Initial IKE key material ADDITIONAL EXCHANGE ML-KEM Post-quantum contribution OPTIONAL EXTENSION Further KE If negotiated and supported PROTOCOL-DEFINED DERIVATION Updated IKE SA Keys AUTHENTICATED SECURITY ASSOCIATION Derive Child SA Key Material
Figure 6.4 — Conceptual multiple-key-exchange architecture. Additional exchanges update key material according to the extension's defined derivation procedure. This is not a literal concatenation specification.

RFC 9370 defines additional key exchange transform types that can be negotiated alongside the initial key exchange. Multiple exchanges can contribute to the resulting cryptographic state.

Standards Boundary

RFC 9370 provides the multiple-key-exchange framework. It does not by itself define every ML-KEM algorithm identifier, payload encoding or vendor configuration required for interoperable post-quantum VPN deployment.

6.6 IKE_INTERMEDIATE and Hybrid IKEv2 Establishment

RFC 9242 introduces the IKE_INTERMEDIATE exchange, allowing additional protected exchanges between IKE_SA_INIT and IKE_AUTH.

This is particularly useful for post-quantum key establishment because the initial IKE_SA_INIT exchange occurs before IKE encryption keys are available. Subsequent protected exchanges can use IKE fragmentation mechanisms when supported and negotiated.

VPN INITIATOR VPN RESPONDER IKE_SA_INIT Initial KE + additional KE proposals IKE_SA_INIT Response Selected algorithms + initial KE response INITIAL KEY DERIVATION Protected intermediate messages ADDITIONAL KEY ESTABLISHMENT IKE_INTERMEDIATE Protected ML-KEM encapsulation key IKE_INTERMEDIATE Response Protected ML-KEM ciphertext UPDATED KEY MATERIAL Classical + post-quantum contribution IKE_AUTH IKE_AUTH Response ESP TRAFFIC — ESTABLISHED CHILD SA
Figure 6.5 — Illustrative hybrid IKEv2 establishment using an additional ML-KEM exchange. Exact payload formats and algorithm negotiation depend on the applicable integration specification. Peer authentication completes in IKE_AUTH.
01

Negotiate the Initial and Additional Exchanges

Both VPN peers advertise compatible key exchange capabilities and agree on the required cryptographic construction.

02

Establish Initial IKE Protection

The initial exchange provides key material for protecting subsequent IKE messages. At this stage, peer authentication has not yet completed.

03

Perform Additional Post-Quantum Key Establishment

Compatible peers exchange the required ML-KEM public contribution and ciphertext using the negotiated additional key exchange mechanism.

04

Update the IKE Cryptographic State

The additional shared secret contributes to updated key material through the protocol-defined derivation procedure.

05

Authenticate the Peers

IKE_AUTH completes authentication, including the required binding of intermediate exchanges, and normally establishes the initial Child SA.

06

Activate the IPsec Data Plane

The gateways install the negotiated Child SA state and begin protecting matching network traffic with ESP.

6.7 ML-KEM Integration into VPN Infrastructure

ML-KEM introduces a different cryptographic mechanism from traditional Diffie-Hellman exchanges. Rather than exchanging two equivalent public contributions, a KEM uses an encapsulation key and a ciphertext.

Parameter Set Encapsulation Key Ciphertext Shared Secret
ML-KEM-512800 bytes 768 bytes32 bytes
ML-KEM-7681,184 bytes 1,088 bytes32 bytes
ML-KEM-10241,568 bytes 1,568 bytes32 bytes

These values represent the raw algorithm payload sizes defined by FIPS 203. Actual IKE messages include additional protocol headers, encryption overhead, notifications and other negotiated payloads.

ML-KEM-768
1,184 B

Encapsulation key contribution.

ML-KEM-768
1,088 B

Ciphertext contribution.

Combined Raw Payload
2,272 B

Total ML-KEM-768 public exchange material.

Interoperability Requirement

Two VPN gateways supporting ML-KEM do not necessarily support the same IKEv2 integration. Engineers must verify parameter sets, negotiated transform identifiers, additional exchange behaviour, software versions and compatible cryptographic profiles.

6.8 Post-Quantum Pre-Shared Keys — RFC 8784

Multiple key exchanges are not the only mechanism for strengthening IKEv2 against future quantum threats. RFC 8784 defines a method for mixing an additional post-quantum pre-shared key, known as a PPK, into IKEv2 key material.

A sufficiently strong, independently provisioned PPK can provide an additional symmetric secret that is not recoverable simply by breaking the recorded classical Diffie-Hellman exchange.

Architecture A

Hybrid KEM-Based Key Establishment

Uses negotiated public-key mechanisms to establish classical and post-quantum shared secret contributions. Requires compatible multiple-key-exchange implementations.

Architecture B

Post-Quantum Pre-Shared Key

Uses a separately provisioned, high-entropy secret that contributes to the specified IKEv2 key derivation and authentication-related state.

Operational Consideration

PPK-based protection introduces secret distribution, storage, rotation and lifecycle requirements. A weak password or ordinary low-entropy VPN secret must not be treated as an adequate post-quantum PPK.

RFC 8784 does not make every message in the initial IKE exchange quantum-resistant. Engineers must assess its precise protection boundaries rather than treating PPK deployment as equivalent to a complete hybrid KEM and post-quantum authentication architecture.

6.9 IKE Security Associations and Child Security Associations

An IKE SA provides the protected management relationship between VPN peers. Child SAs provide the security state used to protect network traffic.

A single IKE SA can manage multiple Child SAs. Each IPsec SA is unidirectional, so bidirectional communication normally requires a corresponding pair of IPsec security associations.

CONTROL PLANE SECURITY STATE IKE SA Negotiation / Authentication / Rekeying Child SA Pair 1 Child SA Pair 2 Child SA Pair 3 Corporate Traffic Application Traffic Management Traffic Traffic Selectors A Traffic Selectors B Traffic Selectors C Approved network ranges Application subnets Administrative subnets
Figure 6.6 — One IKE SA managing multiple Child SA pairs. Each Child SA pair contains directional IPsec security state. Traffic selectors are illustrative.
IKE SA State

Management Relationship

Includes negotiated IKE algorithms, IKE SPIs, authentication state, message identifiers, key material and lifecycle information.

Child SA State

Traffic Protection

Includes ESP SPIs, traffic protection algorithms, directional keys, sequence state, anti-replay information, lifetimes and traffic selectors.

The post-quantum properties of Child SA key material depend on the IKE establishment and subsequent key derivation and rekeying procedures. A hybrid IKE SA does not imply that every Child SA performs an independent ML-KEM exchange.

6.10 Inside an ESP-Protected Network Packet

IPsec tunnel mode encapsulates an original IP packet within a new protected packet. The original IP header and its payload are carried inside the encrypted portion of the ESP packet.

ORIGINAL IP PACKET Inner IP Header Transport + Application Data ESP ENCAPSULATION Encrypt and Authenticate Outer IP Header ESP Header SPI / Seq Explicit IV* Encrypted Inner Packet + ESP Trailer Auth Tag* Encrypted Content
Figure 6.7 — Simplified ESP tunnel-mode packet using an authenticated encryption profile. Explicit IV and authentication tag formats depend on the selected transform. Optional UDP encapsulation is omitted. Diagram not to scale.
Packet ComponentEngineering Function
Outer IP headerRoutes the protected packet between tunnel endpoints.
Security Parameters IndexIdentifies the receiving security association in its applicable lookup context.
Sequence numberSupports anti-replay processing.
Explicit IVTransform-specific input used in encryption processing.
Encrypted inner packetProtects the original IP packet in tunnel mode.
ESP trailerContains padding, padding length and next-header information.
Authentication tagSupports integrity and authenticity verification for the selected AEAD transform.
Data Plane Insight

Hybrid key establishment does not automatically increase the size of every ESP packet. Once the tunnel is established, per-packet overhead is determined primarily by the selected ESP transform, encapsulation mode and underlying network transport.

6.11 Symmetric Encryption in a Post-Quantum VPN

Quantum computing affects public-key and symmetric cryptographic mechanisms differently. Shor's algorithm threatens the mathematical foundations of classical Diffie-Hellman and elliptic-curve key establishment.

Grover's algorithm provides an idealised quadratic speedup for unstructured search. Its practical impact depends on quantum circuit complexity, hardware resources and implementation assumptions.

Key Establishment

ML-KEM

Introduces quantum-resistant shared secret establishment within a compatible IKEv2 construction.

Traffic Protection

AES-256-GCM

An authenticated symmetric encryption option that may be selected within an approved quantum-ready IPsec security profile.

Peer Authentication

Digital Signatures or Strong Secrets

Requires an independently evaluated authentication architecture and compatible protocol support.

Selecting AES-256-GCM alone does not make a VPN quantum-resistant if its traffic keys are established exclusively through vulnerable classical public-key mechanisms.

6.12 VPN Rekeying and Security Association Lifecycles

VPN tunnels are not static cryptographic objects. Security associations are periodically replaced according to configured lifetime policies, traffic volumes, implementation behaviour and security requirements.

IKEv2 uses CREATE_CHILD_SA exchanges to create additional Child SAs, rekey existing Child SAs and rekey the IKE SA. These operations must be included in a post-quantum migration assessment.

SECURITY ASSOCIATION LIFECYCLE EXISTING CHILD SA Existing SPI and traffic keys REPLACEMENT CHILD SA New SPI and traffic keys REKEY WINDOW Established New SA Old SA retired Time
Figure 6.8 — Conceptual make-before-break Child SA rekeying. Actual overlap, traffic transition and deletion behaviour depend on the implementation and exchange outcome.
Lifecycle Operation A

Child SA Rekeying

Establishes replacement traffic protection state. A fresh key exchange may be included according to the negotiated policy and implementation.

Lifecycle Operation B

IKE SA Rekeying

Replaces the protected management association and requires the appropriate negotiated key establishment procedures for the new IKE SA.

Multiple additional key exchanges during SA creation or rekeying can involve the IKE_FOLLOWUP_KE exchange defined by RFC 9370.

Production Requirement

Validate initial establishment, Child SA rekeying, IKE SA rekeying and recovery after gateway failure. A successful initial hybrid handshake is not sufficient evidence that every subsequent lifecycle operation maintains the required cryptographic policy.

6.13 MTU, IKE Fragmentation and NAT Traversal

Post-quantum key establishment can increase IKE message sizes. This introduces network engineering considerations because IKEv2 typically operates over UDP.

Unlike TCP, UDP does not provide automatic stream segmentation and reassembly. Large IKE messages can encounter IP fragmentation, path MTU constraints or middlebox limitations.

LARGE IKE MESSAGE Additional Post-Quantum Exchange Payload IKE Fragment 1 IKE Fragment 2 IKE Fragment 3 Protected fragment Protected fragment Protected fragment RECEIVING VPN GATEWAY Verify and Reassemble
Figure 6.9 — Conceptual IKE-layer fragmentation under RFC 7383. Fragment count is illustrative. IKE fragmentation applies to eligible protected exchanges and cannot fragment the unprotected IKE_SA_INIT exchange.
Mechanism Engineering Implication
IP fragmentation Occurs at the network layer and may be affected by firewall policies or fragment loss.
IKE fragmentation Splits eligible protected IKE messages into separately protected fragments.
Path MTU Determines the maximum IP packet size supported across the path without fragmentation.
NAT traversal Commonly uses UDP 4500 and introduces additional encapsulation considerations.
ESP tunnel overhead Reduces the effective payload capacity of the encrypted data path.
Retransmission Lost IKE messages or fragments can delay completion of key establishment.

Illustrative ESP MTU Calculation

Consider an IPv4 tunnel-mode VPN using an AES-GCM profile with an 8-byte explicit IV, a 16-byte authentication tag and no NAT traversal.

Underlay IP MTU = 1,500 bytes

Outer IPv4 header = 20 bytes
ESP header = 8 bytes
Explicit IV = 8 bytes
ESP trailer fields = 2 bytes
Authentication tag = 16 bytes

Fixed overhead = 54 bytes

Inner IP packet budget = 1,446 bytes
minus required ESP padding

With UDP encapsulation:
Additional UDP header = 8 bytes
Inner IP packet budget = 1,438 bytes
minus required ESP padding

Actual effective tunnel MTU depends on the negotiated transform, padding requirements, outer IP version, additional encapsulations and implementation behaviour. These calculations are illustrative rather than universal configuration recommendations.

6.14 Quantum-Ready SD-WAN Security Architecture

SD-WAN platforms frequently use encrypted overlay tunnels across broadband, MPLS, mobile and Internet underlay networks. The security architecture can involve controllers, orchestrators, device identities, key distribution services and distributed edge gateways.

Introducing post-quantum cryptography into an SD-WAN environment therefore requires evaluating the complete overlay security architecture rather than upgrading only the encryption algorithm on individual routers.

SD-WAN CONTROL PLANE Controller / Orchestrator Branch Edge Data Centre Edge Cloud Edge Cryptographic policy Cryptographic policy Cryptographic policy Approved Encrypted Overlay Internet MPLS 5G / Broadband
Figure 6.10 — Conceptual quantum-ready SD-WAN architecture. Actual tunnel establishment and key distribution mechanisms vary across SD-WAN platforms and may not use conventional IKEv2.
Control Plane Security

Controller Communications

Evaluate TLS sessions, management APIs, device onboarding, controller identities and certificate infrastructure.

Overlay Security

Encrypted Tunnel Establishment

Determine how overlay traffic keys are established, distributed, refreshed and protected against compromise.

Distributed Trust

Device Identity

Assess certificate algorithms, hardware-backed keys, provisioning services and device authentication.

Operational Security

Fleet-Wide Crypto-Agility

Maintain visibility into software capabilities, negotiated algorithms, upgrade dependencies and cryptographic policy compliance.

6.15 Hybrid Cloud VPN Gateways

Enterprise hybrid cloud architectures frequently use IPsec VPNs to connect on-premises infrastructure with cloud virtual networks.

Quantum-resistant VPN deployment requires compatibility across both ends of each tunnel. An enterprise firewall supporting hybrid IKEv2 cannot unilaterally introduce ML-KEM into a connection with an incompatible cloud gateway.

ENTERPRISE DATA CENTRE VPN Gateway Cluster Cloud Gateway A Cloud Gateway B Cloud Gateway C Hybrid profile Classical profile Hybrid profile Cloud Network A Cloud Network B Cloud Network C Application workloads Data services AI infrastructure
Figure 6.11 — Illustrative hybrid cloud migration. Each cloud gateway has an independent cryptographic capability and policy. The diagram does not represent verified support by any specific cloud provider.

Where a managed cloud VPN service does not support the required cryptographic profile, organisations may evaluate compatible virtual network appliances, alternative protected transport architectures or an explicitly governed transitional policy.

Cloud Engineering Principle

A private connection, dedicated circuit or isolated virtual network does not inherently provide quantum-resistant encryption. Connectivity isolation and cryptographic protection are distinct security properties.

6.16 Scaling Post-Quantum VPN Infrastructure

A large enterprise or service provider may operate thousands of simultaneous encrypted tunnels. Introducing additional cryptographic exchanges can change tunnel establishment capacity, recovery times and control-plane resource consumption.

Resource Dimension 01

Cryptographic Compute

Measure key generation, encapsulation, decapsulation, authentication and key derivation processing.

Resource Dimension 02

Handshake Latency

Additional exchanges can increase round-trip requirements, particularly across high-latency WAN and satellite links.

Resource Dimension 03

Gateway Memory

Evaluate concurrent handshake state, message buffers, fragment reassembly and security association storage.

Resource Dimension 04

Rekeying Capacity

Test simultaneous Child SA and IKE SA lifecycle operations during peak tunnel utilisation.

Resource Dimension 05

Failure Recovery

Measure tunnel restoration after gateway restart, network outage or high-availability failover.

Resource Dimension 06

Data Plane Throughput

Independently measure ESP forwarding performance, packet loss, latency and hardware acceleration.

Illustrative Rekeying Capacity Model

Active tunnels = 10,000
Assumed rekey interval = 3,600 seconds

Average rekey events per second:
10,000 / 3,600 = approximately 2.78

If 10,000 tunnels rekey within a 60-second window:
10,000 / 60 = approximately 166.7 events per second

Burst-to-average ratio = 60x

This simplified model assumes one rekey event per tunnel per interval. Real deployments may contain multiple Child SAs, independent IKE lifetimes, retries and overlapping lifecycle operations.

Capacity Planning

Average cryptographic processing demand can conceal significant recovery and rekeying bursts. Evaluate peak control-plane capacity and use supported lifetime distribution or scheduling mechanisms where appropriate.

6.17 Production Engineering Investigation — The Quantum VPN Failure

PRODUCTION INCIDENT / PQC-006

Hybrid VPN Migration Causes Intermittent Tunnel Establishment Failures

An enterprise enables an approved hybrid IKEv2 profile across its branch VPN infrastructure. Most branches establish tunnels successfully, but several remote locations experience repeated handshake timeouts.

Other branches establish their IKE SAs but continue using classical-only profiles because their gateway software does not support the required additional key exchange.

[PASS] IKE_SA_INIT completed
[PASS] Initial key exchange negotiated
[PASS] Additional ML-KEM exchange selected


[WARN] IKE_INTERMEDIATE message exceeds path budget
[WARN] Protected fragment retransmission detected
[WARN] Remote gateway capabilities differ


[FAIL] Intermediate exchange timeout
[FAIL] IKE_AUTH not completed
[FAIL] Required hybrid policy not satisfied
Synthetic diagnostic evidence for educational purposes. Not actual output from a particular VPN vendor.
01

Verify Underlay Connectivity

Confirm gateway reachability, routing, firewall policy, UDP 500 and UDP 4500 handling, NAT behaviour and packet loss characteristics.

02

Inspect IKE_SA_INIT

Examine the negotiated initial key exchange, additional key exchange proposals, algorithm compatibility and fragmentation support notifications.

03

Identify the Failed Intermediate Exchange

Correlate message identifiers, exchange types, retransmission intervals and gateway diagnostics to identify the failing stage.

04

Investigate Fragmentation and Path MTU

Determine whether the network is dropping IP fragments, protected IKE fragments or large UDP datagrams. Compare behaviour across working and failing paths.

05

Validate Authentication

If key establishment completes but IKE_AUTH fails, investigate certificate trust, authentication methods, identities, supported signatures and policy compatibility.

06

Inspect Child SA Installation

Confirm that ESP algorithms, traffic selectors, directional SPIs and routing policies match the intended network architecture.

07

Verify Cryptographic Policy Compliance

Confirm the actual negotiated initial and additional exchanges. A tunnel that successfully carries traffic may still fail the required post-quantum security policy.

08

Validate Rekeying and Failover

Repeat the investigation during Child SA rekeying, IKE SA rekeying and gateway recovery to ensure the corrected architecture remains stable.

6.18 Packet Capture and VPN Observability

Network engineers can use packet captures to identify IKE exchange types, message sizes, retransmissions, fragmentation behaviour, ESP traffic and outer transport characteristics.

Engineering Terminal
# Capture common IKE and ESP traffic

sudo tcpdump -ni any -s 0 -w vpn-investigation.pcap 'udp port 500 or udp port 4500 or ip proto 50 or ip6 proto 50'

# Example Wireshark display filters

isakmp
esp
udp.port == 500 || udp.port == 4500

These filters provide a starting point for authorised VPN troubleshooting. IPv6 extension headers and other encapsulations may require broader capture filters.

Visibility Limitation

Protected IKE_INTERMEDIATE and IKE_AUTH payloads cannot generally be inspected from an ordinary packet capture alone. Gateway logs, negotiated SA state and appropriately authorised diagnostic facilities are required to establish the cryptographic details.

Telemetry Engineering Value
Negotiated initial KE Identifies the initial key establishment mechanism.
Negotiated additional KE Confirms whether the required post-quantum contribution is present.
IKE establishment latency Measures the effect of additional exchanges and network conditions.
IKE retransmissions Identifies possible packet loss, timeout or processing problems.
Fragmentation counters Helps identify large-message transport problems.
Child SA rekey failures Identifies lifecycle and interoperability problems.
ESP replay and integrity failures Identifies data-plane protection or sequence-state problems.
Classical fallback rate Measures gaps in post-quantum migration coverage.

6.19 Enterprise Quantum-Safe VPN Migration Roadmap

01

Discover Cryptographic Dependencies

Inventory VPN gateways, firmware, cryptographic libraries, IKE versions, negotiated transforms, authentication methods, hardware acceleration and cloud connectivity dependencies.

02

Classify Protected Network Traffic

Identify tunnels carrying sensitive information with long confidentiality lifetimes and prioritise exposure to harvest-now-decrypt-later threats.

03

Define Approved Cryptographic Profiles

Specify acceptable key exchanges, additional exchanges, authentication methods, symmetric transforms, rekeying behaviour and fallback restrictions.

04

Build an Interoperability Test Environment

Validate multi-vendor gateway combinations, cloud connectivity, fragmented IKE messages, NAT traversal and high-latency network conditions.

05

Deploy Controlled Hybrid Tunnels

Begin with representative low-risk connectivity paths. Collect handshake, resource utilisation, packet loss and cryptographic negotiation evidence.

06

Expand Across Enterprise and Cloud Infrastructure

Extend validated profiles to branch networks, data centres, remote access, SD-WAN environments and compatible cloud VPN gateways.

07

Migrate Authentication Infrastructure

Evaluate quantum-resistant device identity, certificate chains, digital signatures and strong symmetric authentication alternatives according to supported deployment profiles.

08

Maintain Continuous Cryptographic Assurance

Monitor negotiated algorithms, lifecycle operations, unsupported peers, fallback events and software dependencies throughout the infrastructure lifecycle.

Engineering Takeaways

Quantum-Safe VPNs Are a Network Architecture Challenge

Post-quantum VPN migration extends far beyond replacing a classical Diffie-Hellman group with ML-KEM. It requires coordinated changes across key establishment, authentication, security association management, network transport and operational monitoring.

IKEv2 multiple-key-exchange extensions provide a framework for introducing additional cryptographic contributions while retaining the established IPsec data plane.

Engineers must understand how those contributions affect IKE SA state, Child SA key material, tunnel rekeying, message fragmentation, gateway interoperability and distributed network infrastructure.

The objective is not simply to establish an encrypted VPN tunnel. It is to establish and continuously maintain verifiable, policy-compliant cryptographic protection throughout the complete tunnel lifecycle.

Interactive Engineering Experience / 06

Post-Quantum VPN Packet Journey

The accompanying interactive engineering widget will allow learners to explore a complete hybrid VPN establishment and follow network packets through the resulting IPsec tunnel.

Establish the Tunnel

Step through IKE_SA_INIT, additional key exchange, IKE_AUTH and Child SA installation.

Inspect the Packet

Observe ESP encapsulation, inner and outer headers, traffic protection and receiving gateway processing.

Inject a Network Fault

Investigate incompatible cryptographic proposals, fragmentation failures and classical fallback.

Restore Secure Connectivity

Use simulated gateway evidence to restore a policy-compliant tunnel and validate its security state.

Next Engineering Section / 07

Post-Quantum PKI, Certificates and Device Identity

Explore the transformation of enterprise digital trust through quantum-resistant certificate authorities, ML-DSA signatures, X.509 certificates, hardware security modules, certificate lifecycle management, workload identity and cryptographically agile trust architectures.

CONTINUE TO SECTION 07
NETWORK INSIGHT — ENGINEERING GUIDES MATTHEW CONRAN POST-QUANTUM SECURITY / 06
Network Insight · Interactive Engineering 06

Post-Quantum VPN Packet Journey

Build a quantum-resistant site-to-site VPN. Explore IKEv2 negotiation, hybrid key establishment, IPsec security associations, ESP packet encapsulation and production network troubleshooting.

Quantum Black & Chrome IKEv2 IPsec ESP ML-KEM-768 RFC 9370 RFC 8784 AES-256-GCM
IKE Security Association Down Control plane
CHILD SA Down ESP data plane
Key Establishment Pending Negotiated profile
Protected Packets 0 Delivered through tunnel
Dropped Packets 0 Data-plane failures
VPN Configuration

Build the Secure Tunnel

Current VPN State

Tunnel Down

Configure the gateways and establish the VPN.

Animated Network Digital Twin

Quantum-Resistant Site-to-Site VPN

Packet Journey Assessment

Awaiting Traffic

Establish the IKE SA and CHILD SA before transmitting protected application traffic.

IKEv2 Control Plane

Multiple Key Exchange and Security Association Establishment

RFC 9370 defines a framework for multiple key exchanges in IKEv2. RFC 9242 defines the IKE_INTERMEDIATE exchange. This laboratory models an additional ML-KEM exchange using that architecture. RFC 8784 provides a separate mechanism for mixing a post-quantum preshared key into IKEv2 key derivation. Actual algorithm and extension support must be verified for both VPN implementations.
Cryptographic Architecture

Control Plane Keys versus Data Plane Encryption

Security component Classical VPN Hybrid VPN PPK-enhanced VPN
Initial exchange ECDH ECDH ECDH
Additional secret None ML-KEM High-entropy PPK
Peer authentication Independent Independent Independent
ESP encryption AES-256-GCM AES-256-GCM AES-256-GCM
Per-packet PQC operation None None None
Post-quantum key establishment protects the establishment of cryptographic key material. ESP continues to use efficient symmetric authenticated encryption. ML-KEM does not encrypt every application packet.
Interactive Packet Cutaway

ESP Tunnel Mode Encapsulation

Inner Packet

Enterprise Application

Outer Packet

Public Network Transport

Packet Inspection

Network Performance Laboratory

IPsec MTU, Encapsulation and IKE Fragmentation

Calculated Packet Overhead

Encapsulation Budget

The ESP model uses AES-GCM with an 8-byte explicit IV, 16-byte authentication tag, 8-byte ESP header and 4-byte plaintext alignment. NAT-T adds an 8-byte UDP header. Ethernet overhead, optional traffic-flow confidentiality padding and IP extension headers are excluded. Oversized packets are dropped in this laboratory's no-fragmentation data-plane model.
Security Association Inspector

IKE SA and Unidirectional ESP Security Associations

IKE Security Association

CHILD SA Pair

Direction ESP SPI Encryption Sequence Status
A CHILD SA negotiation normally establishes a pair of unidirectional IPsec SAs. Each direction has its own SPI, key material and sequence number state.
Virtual Wireshark Laboratory

IKEv2 and ESP Packet Capture

No. Source Destination Protocol Bytes Information
Selected Packet

Awaiting Capture

Establish the VPN or transmit a packet.
This is a synthetic logical trace, not a downloadable PCAP. Protected IKE payload details are presented as a decrypted diagnostic view. DROP entries are local device events, not packets observed on the wire.
Production Engineering Console

Quantum-Safe VPN Diagnostic CLI

Vendor-neutral educational CLI. Enter help to list available commands.

Engineering Incident Laboratory

Six Production Troubleshooting Challenges

Active Investigation

Select a Challenge

Establish the tunnel, collect evidence, diagnose the problem and verify your conclusion.

0 of 6 challenges completed

NETWORK INSIGHT / POST-QUANTUM SECURITY / SECTION 07

Post-Quantum PKI, Certificates and Device Identity

Engineering quantum-resistant digital trust through certificate authorities, post-quantum signatures, hardware-backed identities, automated certificate lifecycle management and distributed workload authentication.

X.509 ML-DSA SLH-DSA PKI HSM TPM Mutual TLS SPIFFE SPIRE Zero Trust Crypto-Agility
Trust Foundation
PKI

Establishes and distributes verifiable digital trust.

Quantum-Resistant Signatures
ML-DSA

Standardised module-lattice-based digital signatures.

Operational Objective
IDENTITY

Authenticated devices, users, services and workloads.

7.1 Why Digital Trust Must Become Quantum-Resistant

Encryption protects information from unauthorised disclosure. Digital trust determines whether the entity receiving or transmitting that information is authentic. Both properties are essential to secure network architecture.

Modern enterprise infrastructure depends on public key infrastructure to authenticate web servers, VPN gateways, network devices, cloud services, Kubernetes workloads, software updates and administrative systems.

Classical PKI commonly relies on RSA and elliptic-curve digital signatures. A sufficiently capable quantum computer could undermine the mathematical assumptions protecting these signature mechanisms, potentially enabling an adversary to forge signatures or impersonate trusted identities.

DIGITAL TRUST Quantum-ready PKI Network Devices Cloud Services VPN Gateways API Gateways IoT Infrastructure Kubernetes Device certificates Service identity Peer authentication TLS authentication Hardware identity Workload identity DISTRIBUTED ENTERPRISE TRUST DOMAIN
Figure 7.1 — Conceptual enterprise digital trust architecture. PKI provides identity and trust services; it is not necessarily an inline network forwarding component.
Fundamental Engineering Principle

Quantum-resistant key establishment and quantum-resistant authentication are separate security objectives. A connection using ML-KEM can still depend on classical RSA or ECDSA authentication.

7.2 The Architecture of Public Key Infrastructure

Public key infrastructure establishes relationships between cryptographic public keys, identities and trusted certificate issuers.

Rather than manually distributing every public key to every communicating system, organisations distribute trusted certificate authority information and use signed certificates to establish verifiable identity bindings.

Trust Anchor

Root Certificate Authority

Establishes the highest-level trust relationship. Root signing keys are typically protected through strict operational controls and may be maintained offline.

Delegated Trust

Intermediate CA

Issues certificates under a delegated trust relationship and applicable certificate policy constraints.

Operational Identity

End-Entity Certificate

Binds a public key to an approved device, service, user or workload identity.

Identity Verification

Registration Authority

Performs or coordinates identity verification and certificate enrolment approval.

Trust Distribution

Certificate Repository

Distributes certificate chains, trust bundles and applicable certificate status information.

Lifecycle Automation

Certificate Management

Coordinates issuance, renewal, rotation, revocation and cryptographic policy enforcement.

7.3 Root, Intermediate and End-Entity Trust Hierarchies

Enterprise PKI typically separates high-value root signing operations from routine certificate issuance. Intermediate certificate authorities reduce operational exposure of the root private key and provide boundaries between different trust domains and certificate policies.

TRUST ANCHOR Root Certificate Authority Protected root signing key Infrastructure CA Workload CA Delegated infrastructure trust Delegated application trust Router Identity VPN Identity API Identity Pod Identity Certificate Certificate Certificate Certificate Distributed Trust Validation
Figure 7.2 — Illustrative enterprise certificate hierarchy separating infrastructure and workload trust domains. Each certificate issuance relationship must use an approved signature mechanism.

A post-quantum migration must consider the entire certificate validation path, not just the public key contained within an individual end-entity certificate.

Trust Chain Security

An ML-DSA end-entity certificate signed by a vulnerable classical issuing CA does not independently provide a fully quantum-resistant certification path. Trust anchors, issuer signatures and proof of possession must all be evaluated.

7.4 Inside an X.509 Digital Certificate

X.509 certificates provide a structured representation of public keys, identities, issuer information, validity periods and certificate policy constraints.

A certificate contains a to-be-signed certificate structure, an outer signature algorithm identifier and the certificate signature value.

X.509 CERTIFICATE TBSCERTIFICATE Version / Serial Number / Signature Algorithm Issuer / Validity Period Subject Identity SubjectPublicKeyInfo Certificate Extensions Public key algorithm identifier and public key SAN / Key Usage / Basic Constraints / EKU Outer Signature Algorithm Issuer Signature Value
Figure 7.3 — Simplified X.509 certificate anatomy. The certificate issuer signs the DER-encoded TBSCertificate structure.
Certificate Field Engineering Function
Serial numberIdentifies the certificate within its issuer context.
IssuerIdentifies the certificate issuing authority.
SubjectContains subject naming information.
ValidityDefines the notBefore and notAfter validity boundaries.
Subject Alternative NameRepresents identities such as DNS names, IP addresses or URIs.
SubjectPublicKeyInfoContains the subject public key and its algorithm identifier.
Basic ConstraintsIdentifies CA status and applicable path-length constraints.
Key UsageConstrains permitted cryptographic key operations.
Extended Key UsageIdentifies additional permitted certificate purposes.
Signature valueContains the issuer's digital signature over the certificate body.
Important Algorithm Distinction

The algorithm of the subject public key and the algorithm used by the issuer to sign the certificate are distinct. For example, a certificate containing an ML-DSA public key could be signed by a classical issuer if the applicable certificate profile and implementation permit it.

7.5 ML-DSA Certificates and Post-Quantum Signatures

ML-DSA, standardised in NIST FIPS 204, provides a module-lattice-based digital signature mechanism. Its public keys and signatures can be represented within compatible certificate and protocol structures.

In a post-quantum PKI, ML-DSA can potentially be used for certificate issuance, service authentication, certificate signing requests and other digital signature operations where supported by the relevant standards and implementations.

Parameter Set Public Key Private Key Signature NIST Category
ML-DSA-441,312 B 2,560 B2,420 B2
ML-DSA-651,952 B 4,032 B3,309 B3
ML-DSA-872,592 B 4,896 B4,627 B5

These are raw algorithm sizes, not complete X.509 certificate sizes. Certificate metadata, ASN.1 encoding, extensions and issuer signatures introduce additional storage and transport overhead.

RAW SIGNATURE SIZE COMPARISON ECDSA P-256 64 B raw r||s ML-DSA-44 2,420 B ML-DSA-65 3,309 B ML-DSA-87 4,627 B 0 1 KB 2 KB 3 KB 4 KB Raw algorithm sizes — not encoded certificate sizes
Figure 7.4 — Linear comparison of raw signature sizes. ECDSA signatures in X.509 commonly use DER encoding, which differs from the fixed-width raw representation shown. Parameter sets are not necessarily equivalent in security strength.

7.6 Certificate Issuance and Proof of Possession

Certificate issuance begins with an identity and a cryptographic key pair. The requesting entity submits public key information and requested identity attributes to an authorised certificate issuance system.

A PKCS#10 certificate signing request commonly includes a signature produced by the requesting entity's private key, providing proof of possession of the corresponding public key.

Device or Workload Generate ML-DSA key pair Registration Service Verify requested identity Issuing CA Authorised signing operation PRIVATE KEY Retained by subject CERTIFICATE REQUEST Public key + identity + proof CA SIGNATURE Signed certificate body ISSUED IDENTITY X.509 Certificate Identity bound to subject public key
Figure 7.5 — Conceptual certificate enrolment workflow. Registration and issuance components may be combined or distributed depending on the PKI architecture.
01

Generate the Subject Key Pair

Generate an approved signature key pair within the intended software or hardware security boundary.

02

Create the Certificate Request

Construct the certificate request containing the public key, requested identity attributes and required proof.

03

Validate Identity and Policy

Verify enrolment authorisation, requested names, cryptographic parameters and applicable issuance policy.

04

Sign and Issue the Certificate

The issuing CA constructs and signs the certificate using its approved issuer signing key.

05

Install and Validate the Identity

Install the issued certificate and required chain, then validate compatibility with intended relying parties.

7.7 Certificate Chain Validation

Certificate validation is more than verifying a single digital signature. A relying party must construct or obtain an acceptable certification path and evaluate the applicable trust, identity and policy requirements.

Trusted Root Locally configured trust anchor Intermediate Certificate Validate issuer signature End-Entity Certificate Validate issuer signature Validation Engine ✓ Trusted certification path ✓ Valid certificate signatures ✓ Validity and constraints ✓ Approved algorithms ✓ Applicable status policy ✓ Expected service identity VALIDATION SUCCESS Identity Accepted
Figure 7.6 — Simplified certificate path and application identity validation. A trust anchor is accepted through local trust configuration, not merely because it is self-signed.
Cryptographic Validation

Signature Verification

Verify each applicable certificate signature using the appropriate issuer public key and supported algorithm.

Trust Validation

Trusted Anchor

Establish an acceptable certification path terminating at an explicitly configured trust anchor.

Policy Validation

Certificate Constraints

Evaluate validity, basic constraints, key usage, name constraints and applicable certificate policies.

Application Validation

Expected Identity

Verify the expected DNS name, IP address, URI or other application-specific identity according to the protocol.

Migration Failure Condition

A certificate may be cryptographically valid but operationally unusable because the relying party cannot parse its algorithm identifier, verify its signature, construct its certification path or accept its identity.

7.8 Classical, Parallel and Composite Trust Architectures

Post-quantum PKI migration introduces architectural choices about how classical and post-quantum identities coexist during the transition.

Architecture A

Classical PKI

Uses existing RSA or elliptic-curve public keys and certificate signatures. Provides compatibility but retains classical quantum exposure.

Architecture B

Parallel PKI

Maintains separate classical and post-quantum certificate hierarchies, allowing controlled migration of compatible applications and trust domains.

Architecture C

Composite Cryptography

Uses a specified construction combining multiple cryptographic algorithms into a composite key or signature representation.

CLASSICAL PARALLEL COMPOSITE Classical Root Classical Identity RSA / ECC Classical Root PQC Root Classical Certificate PQC Certificate Composite Issuer Specified composite algorithm Composite Certificate Defined verification semantics Existing trust model Separate trust paths Combined construction
Figure 7.7 — Three conceptual PKI migration models. Composite structures require compatible specifications, algorithm identifiers and relying-party implementations.

Parallel certificate deployment does not automatically mean that both identities are verified during the same authentication exchange.

A composite signature construction must define how its component signatures are generated, encoded and verified. Where the security objective requires both components to validate, accepting only one component can undermine the intended hybrid protection.

Interoperability Boundary

Do not invent proprietary combinations of classical and post-quantum signatures and assume they are interoperable. Use approved cryptographic profiles and verify the current status of applicable standards and product support.

7.9 Hardware Security Modules and Protected CA Keys

Certificate authority signing keys represent some of the highest-value cryptographic assets within an enterprise security architecture.

Hardware security modules provide controlled cryptographic execution environments designed to protect key material and restrict sensitive operations.

Issuing CA Certificate policy engine Authorised signing request HARDWARE SECURITY BOUNDARY Cryptographic API Access control and operation policy Protected Key CA private signing key Signature Engine Supported ML-DSA operation Audit / Key Policy / Security Controls RETURNED RESULT Certificate Signature Private key remains within the configured security boundary
Figure 7.8 — Conceptual HSM-backed certificate issuance. ML-DSA execution within the HSM requires explicit hardware, firmware and API support.
Engineering RequirementValidation Objective
Algorithm supportConfirm required ML-DSA or other approved signature mechanisms.
Key generationVerify supported generation inside the intended security boundary.
API compatibilityValidate integration with CA software and cryptographic interfaces.
Signing throughputMeasure certificate issuance and renewal capacity.
High availabilityValidate failover, replication and recovery procedures.
Key backupEvaluate protected backup and restoration mechanisms.
ComplianceVerify the applicable module validation and approved operating mode.
Security Boundary

Standardisation of ML-DSA under FIPS 204 does not mean that every implementation or HSM supporting ML-DSA is automatically a validated FIPS 140-3 cryptographic module.

7.10 TPMs, Secure Elements and Device Identity

Network devices, laptops, industrial controllers and IoT systems may use hardware-backed cryptographic identities to reduce exposure of device private keys.

Trusted Platform Modules and secure elements can provide protected key operations, device measurements and attestation capabilities depending on their architecture and supported mechanisms.

Hardware Identity

Trusted Platform Module

Supports platform trust functions such as protected keys, measured boot and attestation. Post-quantum algorithm availability depends on the specific TPM specification and implementation.

Embedded Identity

Secure Element

Provides a dedicated security boundary for supported cryptographic operations in constrained or embedded devices.

Software Integrity

Secure Boot

Verifies authorised software during the boot process. Migration may require changes to firmware verification algorithms and embedded trust anchors.

Platform Assurance

Remote Attestation

Provides evidence about platform state for evaluation by a verifier. Attestation keys and signature dependencies must be included in PQC migration.

Hardware Lifecycle Challenge

Devices with immutable boot ROMs, fixed cryptographic accelerators or limited firmware upgrade capabilities may require hardware replacement rather than a simple post-quantum software update.

7.11 Certificate Lifecycle Management

A digital certificate is a time-bounded identity credential. Its lifecycle extends from key generation and issuance through deployment, renewal, revocation and eventual retirement.

CONTINUOUS CERTIFICATE MANAGEMENT 01 — Generate 02 — Issue 03 — Deploy 04 — Monitor 05 — Rotate 06 — Retire Approved key material Validate identity Install certificate Expiry and policy Renew or replace Revoke when required
Figure 7.9 — Certificate lifecycle management. Rotation and renewal may occur repeatedly before final identity retirement.
Lifecycle OperationPost-Quantum Engineering Consideration
DiscoveryIdentify existing certificates, algorithms, issuers and owners.
IssuanceEnforce approved algorithm and identity profiles.
DeploymentValidate certificate parsing and relying-party compatibility.
RenewalPrevent unexpected expiration and unsupported algorithm transitions.
Key rotationReplace key material according to security and lifecycle policy.
RevocationDistribute and evaluate certificate status according to policy.
RetirementRemove obsolete trust relationships and securely retire key material.

Automated enrolment protocols and management systems, including ACME, EST and CMP, can reduce operational overhead. Their suitability for post-quantum deployment depends on the supported algorithms, certificate profiles and implementation capabilities.

7.12 Certificate Revocation and Status Infrastructure

Certificates may need to be invalidated before their scheduled expiration because of key compromise, identity changes, issuance errors or security policy changes.

Status Mechanism

Certificate Revocation Lists

Signed lists containing revoked certificate identifiers and associated revocation information.

Status Mechanism

OCSP

Provides certificate status responses through an authorised responder architecture.

Lifecycle Strategy

Short-Lived Certificates

Reduce the period for which an issued credential remains valid, while increasing dependency on reliable automated issuance.

Revocation infrastructure also depends on digital signatures. A post-quantum migration must evaluate CRL signatures, OCSP responder certificates and response signing algorithms.

Operational Security

Short-lived certificates reduce credential exposure windows but do not eliminate the need for compromise response, trust bundle management or reliable identity lifecycle controls.

7.13 Mutual TLS and Quantum-Resistant Service Identity

Conventional server-authenticated TLS allows a client to verify the server identity. Mutual TLS extends certificate-based authentication to both communicating parties.

In a post-quantum service architecture, hybrid key establishment and quantum-resistant authentication may be deployed together where supported.

Workload A Client identity Workload B Server identity ClientHello + Hybrid Key Share ServerHello + Hybrid Key Share Handshake Traffic Keys Server Authentication Flight CertificateRequest / Certificate / CertificateVerify / Finished Client Authentication Flight Certificate / CertificateVerify / Finished Authenticated Application Traffic
Figure 7.10 — Simplified TLS 1.3 mutual authentication using a conceptual hybrid key exchange. EncryptedExtensions and other optional handshake details are omitted.

CertificateVerify demonstrates possession of the private signing key associated with the presented certificate and binds authentication to the TLS handshake transcript.

Finished messages provide handshake authentication using keys derived from the TLS key schedule. Certificate validation and CertificateVerify serve different purposes from Finished verification.

Authentication Is Not Authorisation

A valid post-quantum workload certificate establishes an authenticated identity. It does not automatically grant access to every service or resource. Authorisation policy must independently determine permitted operations.

7.14 SPIFFE, SPIRE and Kubernetes Workload Identity

Distributed applications increasingly rely on automatically issued workload identities rather than manually configured credentials.

SPIFFE defines a framework for identifying workloads across distributed infrastructure. SPIRE provides an implementation that performs workload and node attestation and issues SPIFFE Verifiable Identity Documents, known as SVIDs.

Example SPIFFE ID: spiffe://network-insight.example/ns/payments/sa/payment-api Trust domain: network-insight.example Illustrative workload path: /ns/payments/sa/payment-api

The path naming convention is illustrative. SPIFFE identifiers do not require every deployment to use Kubernetes namespace and service-account naming structures.

TRUST DOMAIN SPIRE Server KUBERNETES NODE A KUBERNETES NODE B SPIRE Agent SPIRE Agent Workload attestation Workload attestation Payment Service Database Service X.509-SVID + private key X.509-SVID + private key Identity-Based Mutual TLS
Figure 7.11 — Conceptual SPIFFE/SPIRE workload identity architecture. Post-quantum SVID issuance and authentication require compatible SPIRE, TLS, certificate and application implementations; support is not assumed.
Identity Layer

Workload Attestation

Determines whether a requesting workload satisfies the configured identity issuance conditions.

Credential Layer

X.509-SVID

Represents a SPIFFE workload identity through an X.509 certificate containing the required SPIFFE ID.

Trust Layer

Trust Bundles

Distribute trusted authority information for validating identities within applicable trust domains.

Communication Layer

Service Authentication

Uses compatible credentials and protocol implementations to authenticate distributed service communications.

7.15 Post-Quantum Identity in Zero Trust Architecture

Zero Trust architectures evaluate access using identity, resource sensitivity, device posture, contextual information and policy rather than relying exclusively on network location.

Post-quantum cryptography strengthens selected cryptographic foundations of this architecture, particularly the establishment and verification of digital identities.

Requester Device or workload Policy Enforcement Access control point Protected Service Policy Decision Identity + posture + context TRUST INPUTS PQC PKI Attestation Risk Signals Identity Policy SECURITY OUTCOME Authenticated and Authorised Access
Figure 7.12 — Conceptual Zero Trust access architecture. Post-quantum PKI is a trust input, not a replacement for authorisation and policy enforcement.
Architectural Separation

Quantum-resistant signatures help protect identity verification. They do not independently prevent excessive privileges, compromised workloads, incorrect access policies or application vulnerabilities.

7.16 Certificate Size and Network Transport Overhead

Post-quantum certificate migration can increase the amount of certificate information transmitted during authentication exchanges.

Consider an illustrative certificate chain containing an ML-DSA-65 end-entity certificate and an ML-DSA-65 intermediate certificate. Assume both certificates contain ML-DSA-65 public keys and are signed using ML-DSA-65.

Public Key
1,952 B

Raw ML-DSA-65 public key size.

Issuer Signature
3,309 B

Raw ML-DSA-65 signature size.

Per-Certificate Components
5,261 B

Public key plus issuer signature, before metadata.

Illustrative two-certificate chain: End-entity public key + issuer signature: 1,952 + 3,309 = 5,261 bytes Intermediate public key + issuer signature: 1,952 + 3,309 = 5,261 bytes Combined raw certificate components: 2 × 5,261 = 10,522 bytes Additional ML-DSA-65 CertificateVerify signature: 3,309 bytes Combined raw authentication components: 10,522 + 3,309 = 13,831 bytes

This is not a complete TLS handshake size calculation. It excludes certificate metadata, ASN.1 encoding, TLS framing, key exchange messages, transport headers and other handshake information.

The root certificate is normally distributed as trust-anchor information rather than transmitted as a necessary part of every TLS certificate chain.

Transport Impact

TCP and TLS

Larger authentication flights can require additional TCP segments and may interact with congestion windows, packet loss and connection establishment latency.

Transport Impact

QUIC and HTTP/3

Larger TLS handshake data can interact with QUIC packetisation, address validation and server anti-amplification limits.

Infrastructure Impact

Proxies and Load Balancers

Evaluate certificate chain limits, handshake buffers, connection capacity and cryptographic processing demand.

Constrained Infrastructure

IoT and Embedded Devices

Assess memory, storage, network bandwidth and signature verification capabilities.

TLS certificate compression, where supported, may reduce some certificate transmission overhead. However, cryptographic key and signature material should not be assumed to compress substantially.

7.17 Enterprise PKI Migration and Trust Distribution

Migrating a large enterprise PKI requires coordinated changes across certificate authorities, relying parties, trust stores, hardware security modules and automated certificate management systems.

Existing Classical PKI Transitional compatibility Post-Quantum PKI Approved PQC trust hierarchy Certificate Management Platform Discovery / Issuance / Policy / Trust Distribution Legacy Systems Transition Systems PQC-Ready Systems Governed classical exception Parallel identity support Approved PQC profile
Figure 7.13 — Illustrative phased enterprise PKI migration. Classical exceptions require explicit governance and must not be mistaken for completed quantum-resistant migration.
01

Discover Existing Trust Dependencies

Inventory certificate authorities, certificate chains, trust stores, signing keys, embedded roots and applications performing certificate validation.

02

Define Approved Certificate Profiles

Specify public key algorithms, issuer signature algorithms, permitted key usages, identity constraints and cryptographic lifecycle requirements.

03

Establish a Controlled PQC Trust Hierarchy

Create a test or production hierarchy according to approved governance, key protection and issuance policy.

04

Distribute New Trust Anchors

Update compatible trust stores before requiring relying parties to authenticate new certificate chains.

05

Validate Certificate Interoperability

Test certificate parsing, signature verification, certification path construction, TLS negotiation and hardware-backed signing operations.

06

Perform Controlled Identity Rotation

Replace certificates in managed deployment groups, measuring authentication failures, renewal behaviour and application availability.

07

Retire Obsolete Trust Relationships

Remove classical trust anchors and credentials when no longer required, subject to documented dependency analysis and approved migration policy.

7.18 Certificate Issuance Capacity Engineering

Automated certificate management can generate significant signing demand, particularly in large Kubernetes, cloud and service mesh environments using short-lived workload credentials.

Illustrative workload identity environment: Active workload identities = 50,000 Assumed certificate lifetime = 24 hours Assumed renewal interval = 12 hours Average issuance demand: 50,000 / 43,200 seconds Approximately 1.16 certificates per second If 50,000 identities renew within 5 minutes: 50,000 / 300 seconds Approximately 166.67 certificates per second Burst-to-average ratio = 144x

The model assumes one certificate issuance per workload per renewal interval. Real deployments may include additional identities, scaling events, retries, multiple certificates and intermediate CA lifecycle operations.

Steady State
1.16/s

Illustrative average certificate issuance demand.

Recovery Burst
166.67/s

Illustrative synchronised renewal demand.

Capacity Difference
144x

Potential burst-to-average demand ratio.

Production Capacity Planning

Measure end-to-end issuance capacity rather than relying exclusively on isolated signature benchmarks. Identity verification, database access, HSM queues, certificate encoding and distribution can all become bottlenecks.

7.19 Production Engineering Investigation — The Broken Trust Chain

PRODUCTION INCIDENT / PQC-007

Post-Quantum Certificate Rotation Causes Distributed Service Authentication Failures

An enterprise introduces a new ML-DSA certificate hierarchy for internal API gateways and Kubernetes workloads.

Newly upgraded services authenticate successfully. However, several older application instances fail during TLS connection establishment, while another group rejects certificates issued by the new intermediate authority.

[PASS] Network connectivity established [PASS] TCP connection established [PASS] Hybrid key exchange negotiated [WARN] New certificate issuer detected [WARN] Trust bundle version mismatch [WARN] Mixed cryptographic library versions [FAIL] Unsupported signature algorithm [FAIL] Certification path construction failed [FAIL] Service authentication incomplete
Synthetic incident evidence for engineering education. These are not logs from a particular production platform.
01

Separate Connectivity from Authentication

Confirm routing, DNS resolution, TCP connectivity and basic endpoint availability before investigating certificate-related failures.

02

Identify the Failed TLS Stage

Determine whether the failure occurs during algorithm negotiation, certificate parsing, path validation or CertificateVerify processing.

03

Inspect the Presented Certificate Chain

Examine subject public key algorithms, issuer signature algorithms, validity periods, certificate constraints and required intermediate certificates.

04

Compare Trust Store Versions

Determine whether failing systems possess the required trust anchors and whether trust distribution completed before certificate rotation.

05

Validate Cryptographic Library Compatibility

Confirm that each relying party supports the relevant algorithm identifiers, signature verification mechanisms and TLS authentication profiles.

06

Restore Policy-Compliant Authentication

Correct trust distribution and software compatibility. Use an explicitly approved recovery policy where temporary rollback is necessary.

07

Validate the Complete Identity Lifecycle

Repeat testing during certificate renewal, workload restart, CA failover and subsequent trust bundle updates.

Incorrect Troubleshooting Response

Disabling certificate validation may restore apparent connectivity but removes a fundamental authentication control. It is not a valid production remediation for a broken post-quantum trust chain.

7.20 Engineering CLI and Certificate Observability

Cryptographic inspection tools can help engineers identify certificate algorithms, issuer relationships, validity information and supported cryptographic mechanisms.

Engineering Terminal
# Inspect the installed OpenSSL version openssl version -a # Discover supported signature algorithms openssl list -signature-algorithms # Discover supported key encapsulation algorithms openssl list -kem-algorithms # Inspect an X.509 certificate openssl x509 -in service-cert.pem -noout -text # Inspect a certificate signing request openssl req -in service.csr -noout -text -verify # Validate a server certificate and chain openssl verify \ -CAfile root-ca.pem \ -untrusted intermediate-ca.pem \ -purpose sslserver \ -verify_hostname api.example.com \ service-cert.pem # Inspect a TLS endpoint openssl s_client \ -connect api.example.com:443 \ -servername api.example.com \ -showcerts \ -verify_hostname api.example.com \ -verify_return_error \ -CAfile root-ca.pem

Command availability and algorithm support depend on the installed OpenSSL version, providers and build configuration. Use the intended trust store and replace example names and files with authorised infrastructure details.

TelemetryEngineering Value
Certificate algorithm inventoryMeasures classical and post-quantum credential distribution.
Certificate expirationIdentifies upcoming lifecycle failures.
Issuance latencyMeasures certificate management responsiveness.
HSM signing latencyIdentifies cryptographic processing bottlenecks.
Trust bundle versionDetects inconsistent trust distribution.
Unknown CA failuresIdentifies certification path or trust configuration problems.
Unsupported algorithm failuresIdentifies incompatible relying-party implementations.
Renewal failure rateMeasures credential lifecycle reliability.
Classical exception inventoryTracks remaining migration dependencies.
Observability Boundary

A successful certificate inspection does not prove that every production application can authenticate using that certificate. Validate the actual protocol, application, trust store and cryptographic policy.

7.21 Common Post-Quantum PKI Misconceptions

Misconception 01

ML-KEM Replaces Certificate Signatures

ML-KEM is a key encapsulation mechanism. ML-DSA and SLH-DSA are digital signature mechanisms. They perform different cryptographic functions.

Misconception 02

A PQC Leaf Certificate Secures the Entire Chain

The certification path, issuer signatures, trust anchors and authentication mechanism must also satisfy the required security policy.

Misconception 03

Every HSM Automatically Supports PQC

Post-quantum operations require explicit algorithm, firmware, hardware and integration support.

Misconception 04

Hybrid TLS Means Post-Quantum Authentication

Hybrid key establishment may coexist with classical certificate signatures and classical authentication.

Misconception 05

Certificate Rotation Alone Completes Migration

Trust distribution, hardware capabilities, application compatibility and certificate lifecycle operations must also be validated.

Misconception 06

Authenticated Identity Means Unlimited Access

Authentication establishes identity. Authorisation determines which resources and operations that identity may access.

Engineering Takeaways

Post-Quantum PKI Is the Foundation of Future Digital Trust

Quantum-resistant network security requires more than encrypted communications. It requires confidence in the identities of the devices, services and workloads participating in those communications.

ML-DSA and other approved post-quantum signature mechanisms introduce new capabilities into digital trust architectures, but their deployment affects certificate authorities, hardware security boundaries, trust stores, network protocols and automated credential management.

Engineers must evaluate complete certification paths, signature algorithms, certificate sizes, issuance capacity, relying-party compatibility and operational recovery procedures.

The objective is not simply to issue a post-quantum certificate. It is to establish, distribute, verify and continuously maintain quantum-resistant digital trust throughout the enterprise infrastructure lifecycle.

Interactive Engineering Experience / 07

Quantum-Safe PKI Architecture Builder

The accompanying interactive engineering widget will allow learners to construct and investigate a complete post-quantum enterprise trust architecture.

Build a Trust Hierarchy

Configure root authorities, intermediate authorities and end-entity certificate relationships.

Select Cryptographic Algorithms

Compare classical, post-quantum and supported composite trust architecture concepts.

Validate Certificate Paths

Observe issuer signature verification, trust anchor selection and certificate policy enforcement.

Investigate Broken Trust

Inject missing intermediate certificates, unsupported algorithms, expired credentials and trust bundle faults.

Rotate Workload Identities

Explore automated certificate issuance, renewal and trust distribution across distributed services.

Measure Migration Readiness

Evaluate certificate chain security, compatibility and operational identity lifecycle requirements.

Next Engineering Section / 08

Cloud, Data Centre and Enterprise PQC Migration

Explore enterprise-wide quantum-resistant migration across cloud platforms, data centre networks, load balancers, API gateways, service meshes, cryptographic inventories, security governance and phased production deployment architectures.

CONTINUE TO SECTION 08
NETWORK INSIGHT — ENGINEERING GUIDES MATTHEW CONRAN POST-QUANTUM SECURITY / 07
Network Insight · Interactive Engineering 07

Quantum-Safe PKI Architecture Builder

Engineer a trusted digital identity infrastructure. Build certificate authorities, select post-quantum signature algorithms, issue endpoint certificates and investigate certificate validation failures.

Quantum Black & Chrome X.509 PKI ML-DSA SLH-DSA HSM Device Identity FIPS 204 / 205
Root Trust Anchor Pending Enterprise trust
Issuing CA Pending Certificate authority
Certificate Chain Not issued Identity infrastructure
Validation Pending Relying-party decision
Chain Signature Profile Pending Modelled algorithm coverage
PKI Architecture Configuration

Build the Certificate Hierarchy

PKI Engineering Assessment

Architecture Not Built

Configure the certificate authorities and build the trust hierarchy.

Animated PKI Digital Twin

Enterprise Certificate Trust Architecture

Trust Decision

Awaiting Certificate

Certificate issuance and relying-party validation are separate operations.

A certificate contains a subject public key and an issuer-generated signature. The subject's key algorithm and the issuer's signature algorithm need not be the same.
Architecture Presets

Explore Classical and Post-Quantum Trust Hierarchies

A mixed-algorithm hierarchy is not equivalent to a composite or dual-signature certificate. This laboratory models one public key and one issuer signature per certificate.
Certificate Lifecycle

From Key Generation to Trusted Device Identity

The endpoint generates a key pair and submits a certificate signing request. The registration process establishes the requested identity and proof of possession. The issuing CA signs the resulting certificate. The endpoint retains its private key.
Certificate Chain Inspector

Subject Keys, Issuer Signatures and Trust Anchors

Certificate Subject Key Issuer Signature Estimated Size Status
Selected Certificate

Endpoint Certificate

Issue a certificate to inspect its fields.
Signature Verification

Issuer Public Key Relationship

Relying-Party Validation Engine

Interactive Certificate Path Validation

Validation Check Result Engineering Evidence
This simplified validation sequence combines certificate path checks with application identity, algorithm compatibility and revocation policy. Real implementations may perform these checks in a different order.
Cryptographic Signature Laboratory

Post-Quantum Public Key and Signature Sizes

Algorithm Public Key Signature Security Family
ML-DSA and SLH-DSA sizes represent raw standardised public keys and signatures. Classical ECDSA uses an illustrative uncompressed public key and DER-encoded signature size. Complete X.509 certificates require additional encoding, identifiers, names and extensions.
Certificate Distribution Engineering

PKI Size, Bandwidth and Fleet Scaling

Estimated Architecture Cost

Certificate Distribution Budget

The distribution model estimates certificate bytes only. It excludes TLS framing, CertificateVerify signatures, compression, transport overhead, retransmissions and session resumption. A root trust anchor is normally distributed independently rather than sent in every TLS certificate chain.
Engineering Diagnostic Console

Quantum-Safe PKI CLI

Vendor-neutral educational diagnostic commands. Enter help for available operations.

Engineering Incident Laboratory

Eight Certificate Trust Troubleshooting Challenges

Active Investigation

Select a Challenge

Reproduce the certificate behaviour, inspect the diagnostic evidence and determine the underlying cause.

0 of 8 challenges completed

NETWORK INSIGHT / POST-QUANTUM SECURITY / SECTION 08

Cloud, Data Centre and Enterprise PQC Migration

Engineering enterprise-wide quantum readiness through cryptographic asset discovery, crypto-agility, hybrid infrastructure, cloud security architecture and controlled production migration.

Crypto-Agility CBOM Azure AWS Google Cloud Data Centre Kubernetes HSM Hybrid TLS Migration Engineering
Phase 01
DISCOVER

Identify cryptographic assets, dependencies and exposure.

Phase 02
MIGRATE

Introduce approved quantum-resistant cryptographic profiles.

Phase 03
VALIDATE

Prove security, interoperability and operational resilience.

8.1 Post-Quantum Migration Is an Infrastructure Programme

Migrating an enterprise to post-quantum cryptography is fundamentally different from replacing a single encryption algorithm within an isolated application.

Modern organisations operate interconnected cryptographic systems across cloud platforms, physical data centres, remote access networks, identity services, application gateways, embedded devices and distributed software supply chains.

These systems depend on cryptographic libraries, certificate authorities, hardware security modules, protocol implementations, operating systems, firmware and externally managed services.

Consequently, a quantum-resistant migration must address the relationships between these components rather than treating each cryptographic algorithm as an independent technology.

ENTERPRISE QUANTUM READINESS Governance and engineering Cloud Platforms Data Centres Enterprise PKI WAN / VPN Applications Device Identity Azure / AWS / Google Cloud Fabric / gateways / HSMs Certificates and trust Secure connectivity Libraries and protocols Firmware and attestation DISTRIBUTED CRYPTOGRAPHIC MIGRATION DOMAINS
Figure 8.1 — Enterprise-wide post-quantum migration domains. The central readiness function represents governance and engineering coordination, not an inline network appliance.
Fundamental Engineering Principle

Post-quantum readiness is a property of an entire security architecture and its operational dependencies. It cannot be established simply by enabling ML-KEM on one externally facing endpoint.

8.2 Cryptographic Asset Discovery

Before replacing vulnerable cryptographic mechanisms, engineers must determine where those mechanisms are deployed, which security functions they perform and which systems depend on them.

Cryptographic dependencies are often distributed across infrastructure components that are managed by different engineering teams and external providers.

Discovery Domain 01

Network Protocols

TLS, IPsec, IKEv2, SSH, MACsec, authentication protocols and routing security mechanisms.

Discovery Domain 02

Application Dependencies

Cryptographic libraries, language runtimes, application frameworks and embedded SDKs.

Discovery Domain 03

Identity Infrastructure

Certificate authorities, trust stores, certificate management platforms and workload identities.

Discovery Domain 04

Hardware Security

HSMs, TPMs, secure elements, cryptographic accelerators and protected key storage.

Discovery Domain 05

Cloud Services

Managed gateways, load balancers, key management services, private endpoints and managed databases.

Discovery Domain 06

Software Supply Chain

Firmware signatures, package signing, container image signatures and software release verification.

Network Scans Source Analysis Cloud Inventory PKI Discovery Observed endpoints Libraries and APIs Managed resources Certificates and keys Discovery and Correlation Asset ownership / algorithms / dependencies Cryptographic Inventory Normalised and evidence-backed asset records Continuous discovery identifies changes and unknown dependencies
Figure 8.2 — Cryptographic discovery pipeline combining network observations, software analysis, cloud inventories and certificate management evidence.

Network scanning alone is insufficient. An externally visible TLS endpoint may reveal its negotiated cryptographic parameters while concealing the cryptographic mechanisms used by backend services, internal identity systems and software update processes.

Discovery Objective

Establish an evidence-backed inventory of where cryptography is used, why it is used, who owns it, which implementations provide it and how it can be replaced.

8.3 Cryptographic Bill of Materials — CBOM

A Software Bill of Materials identifies software components and their relationships. A Cryptographic Bill of Materials extends inventory concepts into cryptographic assets and dependencies.

CBOM information can represent cryptographic algorithms, protocols, certificates, cryptographic libraries and related implementation details.

CycloneDX provides a machine-readable framework for representing cryptographic assets alongside software supply-chain information.

Inventory Attribute Example Engineering Purpose
Asset identifier API-GW-001 Unique infrastructure reference.
Security function TLS key establishment Identifies the cryptographic objective.
Algorithm X25519 Identifies the current mechanism.
Implementation TLS library and provider Identifies the software dependency.
Trust dependency Enterprise issuing CA Identifies certificate relationships.
Data classification Restricted Supports migration prioritisation.
Asset owner Platform engineering Establishes accountability.
Replacement capability Hybrid TLS candidate Identifies potential migration options.
Evidence source Configuration and handshake test Establishes inventory confidence.
Illustrative Internal Inventory Record
{ "assetId": "API-GW-001", "environment": "production", "service": "payments-api", "owner": "platform-engineering", "cryptographicFunctions": [ { "function": "key-establishment", "protocol": "TLS 1.3", "currentAlgorithm": "X25519", "targetProfile": "approved-hybrid-ml-kem", "migrationStatus": "testing" }, { "function": "authentication", "algorithm": "ECDSA-P256", "migrationStatus": "classical-dependency" } ], "dataClassification": "restricted", "confidentialityLifetimeYears": 15, "evidence": [ "configuration-review", "controlled-handshake-test" ] }

This is an illustrative internal inventory structure, not a schema-valid CycloneDX CBOM document. Production CBOM generation should follow the selected specification version and validation requirements.

Inventory Security

Cryptographic inventories can contain sensitive infrastructure and dependency information. Protect access to inventory data and never include private keys, passwords or shared secrets in ordinary asset inventory records.

8.4 Cryptographic Dependency Mapping

An inventory identifies individual assets. A dependency map identifies the relationships that determine whether those assets can be migrated independently.

A gateway may support a new cryptographic algorithm, but successful deployment can still depend on client compatibility, certificate issuance, hardware-backed signing and backend protocol support.

API Gateway Target migration asset Client Libraries TLS Implementation Certificate Authority Negotiation support Algorithm implementation Certificate issuance Backend Services HSM / Key Store Security Monitoring Independent TLS sessions Signing and key protection Policy and telemetry
Figure 8.3 — Illustrative cryptographic dependency graph. Migration readiness depends on the capabilities of connected components and supporting security services.

Dependency mapping helps identify critical migration blockers and shared infrastructure components that must be upgraded before dependent services.

Direct Dependency

Protocol Compatibility

Both communicating endpoints must support the required cryptographic protocol profile.

Indirect Dependency

Identity Infrastructure

Authentication may depend on certificate authorities, trust distribution and protected signing services.

8.5 Risk-Based Migration Prioritisation

Not every cryptographic dependency presents the same quantum-related risk or migration urgency.

Organisations should consider information sensitivity, required confidentiality lifetime, exposure to traffic collection, identity criticality, migration complexity and expected infrastructure replacement cycles.

Infrastructure Primary Quantum Concern Illustrative Priority
Long-lived sensitive data transfers Harvest-now-decrypt-later exposure. CRITICAL
Root certificate authorities Long-term digital trust and signature forgery risk. CRITICAL
Firmware verification infrastructure Long-lived embedded trust dependencies. CRITICAL
Public API gateways Externally exposed key establishment and authentication. HIGH
Site-to-site VPNs Long-term confidentiality of captured traffic. HIGH
Internal service meshes Distributed workload identity and east-west traffic. HIGH
Short-lived non-sensitive test services Limited confidentiality and operational exposure. LOWER

These priorities are illustrative rather than universal. Actual prioritisation must reflect the organisation's threat model, regulatory requirements, data classification and business dependencies.

Illustrative Risk Scoring Model
Risk score = 0.30 × Confidentiality lifetime + 0.25 × Data sensitivity + 0.20 × Exposure + 0.15 × Identity criticality + 0.10 × Migration complexity Each input is scored from 0 to 5. Example: Confidentiality lifetime = 5 Data sensitivity = 5 Exposure = 4 Identity criticality = 4 Migration complexity = 3 Weighted score = 4.45 / 5
89%

Illustrative prioritisation score. This is an engineering planning heuristic, not a standardised probability of quantum compromise.

8.6 Designing for Crypto-Agility

Crypto-agility describes the ability to replace, update or reconfigure cryptographic mechanisms without requiring disproportionate changes to the surrounding infrastructure.

A crypto-agile architecture separates application requirements from specific cryptographic implementations wherever practical.

Application and Protocol Layer Security requirements rather than hard-coded algorithms Cryptographic Policy Layer Approved profiles / minimum security / exceptions Cryptographic Provider Interface Supported implementations and protected operations Classical Provider Hybrid Provider PQC Provider Governed compatibility Approved combination Approved PQC mechanisms
Figure 8.4 — Conceptual crypto-agile architecture. Actual protocol implementations must enforce valid algorithm negotiation and approved cryptographic combinations.
Design Principle 01

Externalised Cryptographic Policy

Define approved algorithms, protocol profiles and migration exceptions through managed configuration rather than unnecessary application hard-coding.

Design Principle 02

Replaceable Implementations

Use supported cryptographic interfaces and providers that permit controlled implementation upgrades.

Design Principle 03

Automated Identity Lifecycle

Automate certificate issuance, renewal, trust distribution and credential rotation.

Design Principle 04

Continuous Verification

Measure negotiated algorithms, policy compliance, compatibility and cryptographic operational health.

Crypto-Agility Is Not Unrestricted Negotiation

Allowing every available algorithm can introduce downgrade opportunities and policy violations. Crypto-agility must operate within approved security profiles and controlled migration boundaries.

8.7 Enterprise Hybrid Cryptographic Architecture

Hybrid cryptographic deployment combines classical and post-quantum mechanisms according to a defined protocol construction.

During migration, hybrid key establishment can introduce quantum-resistant confidentiality protection while retaining a classical component.

However, hybrid key establishment, hybrid signatures and parallel certificate hierarchies are distinct architectural concepts.

Classical Key Establishment Example: X25519 PQC Key Establishment Example: ML-KEM-768 Protocol-Defined Combination Key schedule and transcript binding Authentication Independently evaluated Classical or PQC profile Protected Application Session Symmetric traffic keys and authenticated encryption
Figure 8.5 — Hybrid key establishment combined with an independently evaluated authentication architecture. The combination must follow the applicable protocol specification.

A migration dashboard should distinguish between quantum-resistant key establishment and quantum-resistant authentication rather than reporting both under a single ambiguous quantum-safe status.

8.8 Cloud Post-Quantum Security Architecture

Public cloud environments introduce multiple cryptographic responsibility boundaries.

A cloud provider may operate the cryptographic infrastructure of a managed service while customers remain responsible for application configuration, workload identities, client compatibility and selected key management decisions.

Enterprise Clients Browser / API / remote workloads CLOUD ENVIRONMENT Managed Edge / Load Balancer External TLS termination boundary API Gateway / Ingress Independent cryptographic session Application Workloads Application and workload identity Key Services KMS / HSM Certificate services Key lifecycle Governance Security policy Monitoring Inventory Managed Data and Storage Services Every cryptographic termination boundary requires independent validation
Figure 8.6 — Conceptual cloud application architecture. Not every deployment contains all illustrated components or uses separate TLS termination at each stage.
Cloud Responsibility Boundary

A cloud provider's support for a post-quantum algorithm in one service does not establish equivalent support across every managed service, region, deployment model or customer workload.

8.9 Microsoft Azure Migration Considerations

Azure environments may contain public application delivery services, virtual network infrastructure, managed Kubernetes clusters, private endpoints, identity services and managed cryptographic key stores.

Each component must be evaluated according to its actual cryptographic function and the degree of customer control over its implementation.

Application Delivery

Azure Front Door

Evaluate client-facing TLS capabilities, supported policies, origin connections and independent authentication requirements.

Application Networking

Application Gateway

Examine frontend and backend TLS termination, certificate management and supported security profiles.

API Infrastructure

Azure API Management

Evaluate gateway TLS, backend authentication, client compatibility and certificate dependencies.

Hybrid Networking

Azure VPN Gateway

Assess supported IKE and IPsec mechanisms, interoperability and gateway upgrade requirements.

Container Infrastructure

Azure Kubernetes Service

Inventory ingress controllers, application TLS libraries, service meshes and workload identities.

Cryptographic Services

Key Vault and Managed HSM

Validate available key types, signing operations, hardware security boundaries and API compatibility.

Enterprise Clients Azure Front Door Edge TLS assessment AZURE APPLICATION ENVIRONMENT API Management Gateway security profile AKS Workloads Application TLS and identity Key Vault / HSM Key capability assessment Private Data Service Independent TLS boundary
Figure 8.7 — Illustrative Azure application migration assessment. This is an architectural assessment model, not a claim that each illustrated service currently supports a particular PQC algorithm.
Azure Engineering Principle

Evaluate each managed service independently. Confirm supported cryptographic profiles, service tiers, regional availability, client requirements and documented limitations before production deployment.

8.10 AWS Post-Quantum Migration Considerations

AWS environments similarly contain cryptographic boundaries across edge delivery, application networking, managed key services, virtual private networks and distributed compute infrastructure.

Edge Delivery

Amazon CloudFront

Assess viewer-facing TLS, origin-facing connections, supported negotiation profiles and client behaviour.

Application Networking

Elastic Load Balancing

Distinguish TLS termination from TCP pass-through and evaluate frontend and backend security separately.

API Infrastructure

Amazon API Gateway

Assess endpoint security policies, custom domains, authentication and integration connections.

Key Management

AWS KMS and CloudHSM

Verify supported cryptographic operations, key types, SDK integration and security boundaries.

Hybrid Connectivity

AWS Site-to-Site VPN

Evaluate IKE and IPsec compatibility between cloud and customer-managed VPN endpoints.

Workload Infrastructure

Amazon EKS

Assess ingress, service mesh, workload identity and application cryptographic dependencies.

Clients TLS capabilities CloudFront Viewer-facing TLS AWS REGIONAL APPLICATION ENVIRONMENT Application LB Origin-facing TLS EKS / EC2 Workloads Application security KMS / CloudHSM Cryptographic capabilities Data Services Separate security boundary
Figure 8.8 — Illustrative AWS migration assessment. Supporting key services are shown as dependencies, not mandatory inline components or guaranteed direct integrations with every illustrated service.

8.11 Google Cloud Post-Quantum Migration Considerations

Google Cloud environments require similar evaluation across managed application delivery, virtual private cloud networking, container infrastructure and cryptographic key services.

Application Delivery

Cloud Load Balancing

Evaluate client-facing TLS, backend authentication, proxy termination and pass-through architecture.

API Management

Apigee

Assess external API authentication, backend connections and supported cryptographic profiles.

Container Infrastructure

Google Kubernetes Engine

Inventory application cryptographic libraries, ingress controllers and service mesh security.

Cryptographic Services

Cloud KMS and Cloud HSM

Verify algorithm availability, protection levels, key lifecycle requirements and application integration.

Hybrid Connectivity

Cloud VPN

Evaluate supported IKE and IPsec mechanisms across cloud and enterprise VPN endpoints.

Private Networking

Private Service Connect

Distinguish private network reachability from application-layer cryptographic protection.

Multi-Cloud Engineering Principle

Private connectivity does not automatically imply quantum-resistant confidentiality or authentication. The cryptographic protection of the application session must be evaluated separately from the network connectivity model.

8.12 Multi-Cloud Cryptographic Governance

Organisations operating across multiple cloud providers should establish consistent security objectives while accommodating differences in service capabilities and implementation control.

Enterprise Cryptographic Governance Approved profiles / risk / inventory / exceptions Microsoft Azure AWS Google Cloud Service capability mapping Customer configurations Provider dependencies Service capability mapping Customer configurations Provider dependencies Service capability mapping Customer configurations Provider dependencies Unified Evidence and Readiness Reporting
Figure 8.9 — Conceptual multi-cloud governance. Common enterprise security objectives are mapped to independently verified provider capabilities.
Capability Azure Assessment Target AWS Assessment Target Google Cloud Assessment Target
Edge security Front Door CloudFront Cloud Load Balancing
API gateway API Management API Gateway Apigee
Application delivery Application Gateway Elastic Load Balancing Cloud Load Balancing
Managed Kubernetes AKS EKS GKE
Key management Key Vault KMS Cloud KMS
Hardware key protection Managed HSM CloudHSM Cloud HSM
VPN connectivity VPN Gateway Site-to-Site VPN Cloud VPN

The table identifies comparable assessment domains. It does not assert feature equivalence or identical post-quantum capabilities across the listed services.

8.13 Data Centre Post-Quantum Migration

Physical data centres contain cryptographic dependencies across network devices, management systems, security appliances, application delivery platforms and server infrastructure.

A leaf-spine Ethernet fabric does not necessarily perform public-key cryptography for ordinary packet forwarding. However, its management plane, control-plane security mechanisms and selected link-security protocols may contain cryptographic dependencies.

Data Centre Security Edge VPN / TLS / firewall / application delivery Spine 01 Spine 02 Fabric forwarding Fabric forwarding Leaf 01 Leaf 02 Leaf 03 Application Servers Kubernetes Cluster Storage Services TLS and identity Workload mTLS Storage access security FABRIC FORWARDING AND CRYPTOGRAPHIC SECURITY ARE DISTINCT FUNCTIONS
Figure 8.10 — Data centre leaf-spine architecture showing security assessment domains. Green links identify workload connectivity requiring security evaluation, not necessarily encrypted physical links.
Data Centre ComponentCryptographic Assessment
Leaf and spine switchesManagement SSH/TLS, device certificates, firmware signing and applicable link-security mechanisms.
BGP routing infrastructureSession authentication, management access and applicable routing trust mechanisms.
FirewallsVPN termination, TLS inspection, management authentication and certificate handling.
Load balancersTLS negotiation, certificate processing, backend security and handshake capacity.
Server infrastructureOperating-system libraries, secure boot, application TLS and hardware-backed identity.
Storage infrastructureTransport security, key management and encryption-at-rest dependencies.
Management controllersRemote management TLS, firmware verification and administrative identity.

8.14 Network Control Plane and Management Plane Dependencies

Network engineers must distinguish between cryptographic mechanisms protecting management access, routing control-plane sessions and application data traversing the forwarding plane.

Management Plane

Administrative Access

SSH, HTTPS, NETCONF over SSH and applicable management interfaces may depend on public-key authentication and key establishment.

Control Plane

Routing Security

Routing protocols may use symmetric session authentication, certificate-based trust systems or other protocol-specific security mechanisms.

Data Plane

Packet Forwarding

Ordinary packet forwarding is distinct from cryptographic processing. Encryption may occur at endpoints, tunnel gateways or link boundaries.

For example, BGP session authentication using TCP-AO employs symmetric message authentication mechanisms. It should not be treated as though it directly depends on RSA or elliptic-curve signatures in the same way as certificate-based TLS.

RPKI introduces separate certificate and signed-object dependencies for routing security. Its migration must follow applicable RPKI standards and ecosystem compatibility requirements.

Routing Architecture Principle

Inventory the cryptographic function actually performed by each routing security mechanism. Do not classify every routing protocol as requiring the same post-quantum algorithm replacement.

8.15 Load Balancers, Reverse Proxies and TLS Termination

Application delivery infrastructure often terminates TLS connections and establishes separate connections towards backend applications.

Each TLS termination creates an independent cryptographic session with its own negotiation, authentication and security properties.

Client Reverse Proxy Backend TLS endpoint TLS termination Independent endpoint SESSION A Hybrid Key Establishment SESSION B Classical Key Establishment MIGRATION GAP Backend Session Remains Classical
Figure 8.11 — A hybrid client-facing TLS connection does not automatically protect an independently established classical backend connection.

A production migration must identify every cryptographic termination boundary, including content delivery networks, web application firewalls, reverse proxies, API gateways and service mesh proxies.

Partial Migration

Reporting an application as fully quantum-resistant solely because its external load balancer negotiates hybrid key establishment can conceal vulnerable backend sessions and classical authentication dependencies.

8.16 Kubernetes and Service Mesh Migration

Kubernetes environments introduce distributed cryptographic dependencies across the cluster control plane, ingress infrastructure, workloads, service meshes and identity systems.

A service mesh may establish mutual TLS between workload proxies, while the application communicates with its local proxy through a separate connection. Other deployments implement application-level TLS directly between workloads.

Mesh Control and Identity Certificate issuance / policy distribution WORKLOAD A WORKLOAD B Payment API Database API Application cryptographic dependencies Application cryptographic dependencies Workload Proxy Workload Proxy TLS and certificate implementation TLS and certificate implementation INTER-PROXY MUTUAL TLS ASSESSMENT
Figure 8.12 — Illustrative sidecar-based service mesh. Other mesh architectures may use node-level proxies or different traffic interception models.
Kubernetes ComponentMigration Assessment
API serverTLS server authentication and client authentication dependencies.
etcdPeer and client TLS where configured, plus data protection requirements.
Ingress controllerExternal and backend TLS negotiation.
Service meshProxy cryptographic libraries, mTLS profiles and workload identity.
Certificate managerSupported algorithms, issuers and certificate rotation.
Container workloadsApplication libraries, runtimes and embedded cryptographic code.
Software supply chainContainer image signatures and admission verification policies.
Kubernetes Migration Boundary

Upgrading a service mesh proxy does not automatically migrate the Kubernetes control plane, application cryptography, workload certificate hierarchy or software supply-chain signatures.

8.17 AI Infrastructure and Model Serving Environments

AI infrastructure introduces additional cryptographic dependencies across model serving endpoints, inference gateways, orchestration platforms, GPU cluster management and model distribution systems.

Enterprise AI applications may process information with long confidentiality requirements, including proprietary source code, financial records, research data and sensitive business information.

AI Access Layer

AI Gateways

Assess client-facing TLS, API authentication, backend model connections and sensitive prompt exposure.

Inference Infrastructure

Model Serving

Inventory cryptographic sessions between inference clients, request routers and model-serving workloads.

GPU Infrastructure

Cluster Management

Assess administrative interfaces, device identity, firmware verification and management network security.

AI Supply Chain

Model Integrity

Evaluate model artifact signatures, container signatures, trusted registries and deployment verification.

High-speed GPU interconnects and RDMA data paths should not automatically be assumed to use TLS or public-key cryptography for every data transfer.

Engineers must identify the actual protection mechanisms used by the GPU fabric, management network, storage infrastructure and application communication paths.

8.18 HSM, KMS and Hardware Migration Dependencies

Cryptographic hardware can become a critical migration dependency when algorithms are implemented within fixed hardware or tightly controlled firmware security boundaries.

A hardware security module may require new firmware, a new cryptographic provider, API changes or hardware replacement to support an approved post-quantum mechanism.

Existing Cryptographic Hardware Capability and lifecycle assessment Approved PQC Capability Available? Validate Existing Supported Upgrade Replace Hardware Confirm approved operation Firmware / API / provider No acceptable upgrade path
Figure 8.13 — Hardware migration decision model. A supported upgrade must also satisfy security, operational and applicable validation requirements.
Assessment AreaEngineering Question
Algorithm supportCan the hardware execute the approved PQC operation?
Security boundaryDoes sensitive key material remain within the required protection boundary?
Application integrationDo existing APIs and providers expose the required operations?
CapacityCan the hardware sustain production signing or decapsulation demand?
High availabilityDo failover and recovery preserve cryptographic policy?
ValidationDoes the implementation satisfy applicable module validation requirements?
LifecycleWill the hardware remain supported throughout the migration period?

8.19 Encryption at Rest and Key Management

Post-quantum migration does not necessarily require replacing every symmetric encryption mechanism used for storage protection.

Symmetric algorithms such as AES are affected differently by quantum computing than classical public-key algorithms based on factorisation or discrete logarithms.

However, storage encryption architectures can contain public-key dependencies in key distribution, key wrapping, remote key management, authentication and protected backup operations.

Application Data Plaintext within authorised boundary Symmetric Encryption Data encryption key Encrypted Data Stored ciphertext Key Management Key protection and lifecycle Transport Security Key Wrapping Authentication Evaluate public-key use Evaluate actual mechanism Evaluate identity dependencies
Figure 8.14 — Conceptual envelope encryption architecture. Key wrapping may use symmetric or asymmetric mechanisms depending on the implementation.
Storage Security Principle

Identify the complete key lifecycle and protection architecture before deciding whether stored data requires re-encryption, key rotation or changes to key management and authentication infrastructure.

8.20 Enterprise Migration Waves

Large-scale cryptographic migration should be organised into controlled deployment waves with explicit entry criteria, validation requirements and recovery procedures.

00

Governance and Discovery

Establish ownership, approved standards, inventory processes, risk classification and migration objectives.

01

Laboratory Validation

Test supported PQC algorithms, protocol negotiation, certificate handling, hardware compatibility and failure behaviour in isolated environments.

02

Controlled External Pilot

Introduce approved hybrid key establishment on selected compatible external services with explicit monitoring and recovery policies.

03

Internal Application Migration

Expand protection to backend TLS sessions, internal gateways and distributed application communication paths.

04

Identity and PKI Migration

Deploy compatible quantum-resistant certificate profiles, trust hierarchies and identity lifecycle processes according to dependency readiness.

05

Infrastructure and Hardware Migration

Upgrade or replace incompatible network devices, HSMs, firmware verification systems and embedded cryptographic implementations.

06

Classical Dependency Retirement

Remove obsolete algorithms and trust relationships when approved policy, interoperability and dependency requirements permit retirement.

CONTROLLED MIGRATION WAVES 00 Discovery 01 Laboratory 02 External pilot 03 Internal services 04 PKI and identity 05 Hardware 06 Retirement Programme initiation Approved target state
Figure 8.15 — Illustrative migration sequencing. Workstreams can overlap, and the ordering must be adapted to risk and technical dependencies. This diagram does not specify a calendar schedule.

8.21 Canary Deployment and Production Validation

A canary deployment introduces a new cryptographic profile to a controlled subset of infrastructure before broader production rollout.

Canary engineering should measure actual negotiated cryptographic parameters and authentication behaviour rather than relying solely on successful application responses.

Baseline
90%

Illustrative traffic allocation to the existing approved deployment.

Canary
10%

Illustrative traffic allocation to the new cryptographic profile.

Validation Gate
PASS

Required security and operational criteria before expansion.

Incoming Connections Controlled deployment population 90% 10% Existing Deployment Approved baseline profile PQC Canary Candidate cryptographic profile Compare Security and Operational Evidence Negotiation / failures / latency / capacity / policy
Figure 8.16 — Illustrative canary deployment. Traffic selection must occur at an appropriate boundary before the cryptographic handshake being evaluated.
Validation MetricAcceptance Objective
Handshake successMeet the approved reliability threshold.
Negotiated algorithmsVerify the intended cryptographic profile.
AuthenticationPreserve certificate and identity validation.
Handshake latencyRemain within the service performance budget.
CPU utilisationMaintain sufficient processing headroom.
Memory utilisationAvoid connection-state exhaustion.
Network overheadValidate packetisation and transport behaviour.
RecoveryDemonstrate policy-compliant failure recovery.

8.22 Migration Performance and Capacity Planning

Cryptographic migration changes the processing and transport characteristics of connection establishment.

Capacity planning should consider algorithm execution time, handshake sizes, certificate processing, session resumption, connection churn and infrastructure acceleration capabilities.

Illustrative Capacity Model
New full TLS handshakes per second: 20,000 Assumed additional CPU processing: 100 microseconds per handshake Additional CPU demand: 20,000 × 0.000100 seconds = 2 CPU-seconds per second = approximately 2 fully utilised CPU cores At a target utilisation of 60%: 2 / 0.60 = 3.33 core-equivalents Illustrative additional allocation: approximately 4 dedicated cores

The calculation assumes CPU-bound processing, consistent workload distribution and an additional processing cost of 100 microseconds per full handshake. It is not a measured PQC benchmark.

Illustrative Transport Model
New full TLS handshakes per second: 20,000 Assumed additional transmitted bytes: 2,300 bytes per handshake Additional aggregate handshake traffic: 20,000 × 2,300 × 8 = 368,000,000 bits per second = 368 Mbps

This is aggregate incremental handshake traffic across the measured population. It excludes retransmissions and additional transport overhead and does not represent traffic on every individual link.

CPU Demand
2 cores

Illustrative incremental fully utilised processing capacity.

Provisioned Capacity
4 cores

Illustrative allocation allowing additional utilisation headroom.

Transport Overhead
368 Mbps

Illustrative aggregate incremental handshake traffic.

Benchmarking Principle

Measure the complete production handshake path. Isolated algorithm benchmarks do not capture certificate validation, connection scheduling, network behaviour, hardware queues or application integration overhead.

8.23 Measuring Enterprise Quantum Readiness

A single migration percentage can conceal important differences between asset discovery, confidentiality protection, authentication and operational readiness.

Enterprise reporting should maintain separate indicators for distinct security objectives.

Illustrative Enterprise Readiness Dashboard

Cryptographic Asset Discovery

92%

Known assets inventoried against an estimated scope.

Approved Hybrid Key Establishment

68%

Eligible connections observed using the approved hybrid profile.

Post-Quantum Authentication

24%

In-scope identities meeting the target authentication policy.

Hardware Migration Readiness

47%

In-scope hardware dependencies with validated migration capability.

Operational Validation

76%

Candidate services passing their required migration test suite.

Synthetic dashboard values for engineering education. These indicators use different denominators and should not be averaged into a security guarantee.
Readiness IndicatorExample Measurement
Inventory coverageInventoried assets divided by estimated in-scope assets.
Hybrid negotiation coverageApproved hybrid connections divided by eligible observed connections.
Authentication readinessCompliant identities divided by in-scope identities.
Hardware readinessValidated hardware dependencies divided by in-scope dependencies.
Exception exposureRemaining classical dependencies under approved exception policies.
Operational readinessServices passing required tests divided by assessed services.

8.24 Production Investigation — The Partially Migrated Enterprise

PRODUCTION INCIDENT / PQC-008

Enterprise Reports Quantum Readiness While Critical Backend Dependencies Remain Classical

A financial services organisation introduces hybrid TLS at its external application delivery infrastructure.

Its migration dashboard reports that the public API gateway successfully negotiates hybrid key establishment with compatible clients.

A subsequent cryptographic inventory assessment identifies classical backend TLS connections, classical workload certificate chains and an incompatible hardware signing dependency.

[PASS] External hybrid TLS negotiation [PASS] Public API availability [PASS] Client compatibility tests [WARN] Backend TLS uses classical key establishment [WARN] Workload certificates use classical signatures [WARN] Hardware signing capability not validated [FAIL] End-to-end migration policy [FAIL] Complete cryptographic dependency validation [FAIL] Enterprise readiness reporting accuracy
Synthetic engineering incident. These messages are not output from a specific vendor platform.
Client Hybrid capable External Gateway Hybrid negotiation verified Internal API Classical backend TLS Workload Services Classical identity hierarchy Hardware Signer PQC capability unavailable GREEN: VALIDATED AMBER: MIGRATION GAP RED: BLOCKING DEPENDENCY
Figure 8.17 — Partially migrated enterprise architecture. External hybrid key establishment is verified, while independent backend and authentication dependencies remain unresolved.
01

Validate the Reported Security Objective

Determine whether the readiness claim refers to external key establishment, complete application confidentiality or quantum-resistant authentication.

02

Identify All Cryptographic Termination Points

Trace the application communication path and identify every independently established TLS session.

03

Inspect Negotiated Algorithms

Collect evidence from authorised endpoint tests, configuration inspection and application telemetry.

04

Inspect Authentication Dependencies

Evaluate certificate chains, issuer signatures, workload identities and proof-of-possession mechanisms.

05

Resolve Hardware Migration Blockers

Validate supported upgrades or establish a replacement plan for incompatible signing infrastructure.

06

Correct Enterprise Readiness Reporting

Report independently verified security objectives, remaining classical dependencies and documented migration exceptions.

8.25 Engineering CLI and Migration Evidence

Migration engineering requires evidence from cryptographic libraries, certificate inspection, controlled protocol tests and infrastructure configuration inventories.

Cryptographic Discovery Terminal
# Identify cryptographic library version openssl version -a # Discover available providers openssl list -providers # Discover supported KEM algorithms openssl list -kem-algorithms # Discover supported signature algorithms openssl list -signature-algorithms # Inspect an authorised TLS endpoint openssl s_client \ -connect api.example.com:443 \ -servername api.example.com \ -tls1_3 \ -verify_hostname api.example.com \ -verify_return_error # Inspect a certificate openssl x509 \ -in service-cert.pem \ -noout \ -text # Inspect SSH client capabilities ssh -Q kex ssh -Q key # Inspect Kubernetes workloads kubectl get deployments -A kubectl get ingress -A # Inspect workload image references kubectl get pods -A \ -o custom-columns='NAMESPACE:.metadata.namespace,NAME:.metadata.name,IMAGE:.spec.containers[*].image'

Commands are illustrative and require appropriate installed versions, permissions and infrastructure access. Kubernetes inventory commands identify workloads and image references; they do not directly establish cryptographic algorithm support.

Illustrative Cloud Inventory Commands
# Azure resource inventory az resource list -o table # AWS application load balancer inventory aws elbv2 describe-load-balancers # Google Cloud forwarding rule inventory gcloud compute forwarding-rules list # Google Cloud KMS key ring inventory # Replace LOCATION with the intended location gcloud kms keyrings list \ --location=LOCATION

These commands support infrastructure discovery. Additional service-specific configuration inspection and controlled protocol testing are required to determine actual cryptographic capabilities.

Evidence Quality

Installed algorithm support, configured algorithm policy and actually negotiated cryptographic parameters are three different forms of evidence. A reliable migration programme evaluates all three.

8.26 Migration Exceptions and Downgrade Governance

Legacy clients and incompatible infrastructure may require temporary classical cryptographic exceptions during migration.

Such exceptions must be explicit, time-bounded, risk-assessed and operationally monitored.

Illustrative Exception Record
Exception ID: PQC-EX-017 Asset: Legacy industrial management gateway Remaining dependency: Classical TLS key establishment Business justification: Unsupported replacement cryptographic profile Compensating controls: Restricted network access Additional monitoring Reduced exposure Approved data handling restrictions Required remediation: Supported firmware upgrade or replacement Ownership: Industrial infrastructure engineering Status: Temporary approved exception Review: Defined review and expiry dates required
Governed Compatibility

A deliberately approved classical compatibility exception is different from an uncontrolled cryptographic downgrade. Recovery and fallback behaviour must remain within the applicable security policy.

8.27 Common Enterprise PQC Migration Misconceptions

Misconception 01

One Cloud Upgrade Migrates Everything

Managed services and customer workloads contain independent cryptographic boundaries and capabilities.

Misconception 02

Private Networking Is Quantum-Safe

Private reachability does not independently establish quantum-resistant confidentiality or authentication.

Misconception 03

Hybrid TLS Migrates the Entire PKI

Key establishment and certificate-based authentication require separate assessment.

Misconception 04

Every Network Device Needs ML-KEM

Cryptographic migration depends on the actual security functions performed by the device.

Misconception 05

Algorithm Support Proves Readiness

Readiness requires verified negotiation, authentication, interoperability and operational resilience.

Misconception 06

PQC Migration Is a One-Time Project

Cryptographic inventories, implementation updates, policy changes and lifecycle management require continuous maintenance.

Engineering Takeaways

Quantum Readiness Is an Enterprise Architecture Capability

Post-quantum migration requires a coordinated understanding of cryptographic algorithms, network protocols, application dependencies, cloud services, hardware capabilities and digital trust relationships.

Cryptographic asset discovery and dependency mapping establish the foundation for prioritisation. Crypto-agile design enables controlled algorithm replacement. Migration waves and canary deployments reduce operational risk.

Cloud and data centre environments must be assessed across every relevant cryptographic termination boundary, including backend sessions, workload identities, hardware signing operations and software supply-chain verification.

The engineering objective is not simply to enable a post-quantum algorithm. It is to establish a continuously verifiable, operationally resilient and adaptable cryptographic architecture across the entire enterprise.

Interactive Engineering Experience / 08

Enterprise Cryptographic Migration Simulator

The accompanying interactive engineering widget will provide an enterprise migration environment in which learners discover cryptographic dependencies, select migration priorities and evaluate the consequences of infrastructure changes.

Discover Cryptographic Assets

Explore cloud gateways, data centre infrastructure, PKI systems and application dependencies.

Construct a CBOM Inventory

Classify cryptographic functions, algorithms, asset owners and replacement capabilities.

Prioritise Migration Risks

Evaluate data sensitivity, confidentiality lifetime, exposure and migration complexity.

Plan Migration Waves

Upgrade external gateways, internal services, identity infrastructure and hardware dependencies.

Identify Blocking Dependencies

Investigate incompatible HSMs, legacy clients, classical backend sessions and unsupported libraries.

Validate Enterprise Readiness

Compare confidentiality, authentication, interoperability and operational readiness metrics.

Next Engineering Section / 09

Production Performance, Security and Troubleshooting

Investigate post-quantum handshake failures, certificate validation errors, algorithm negotiation, packet fragmentation, QUIC amplification limits, CPU exhaustion, hardware security bottlenecks, cryptographic downgrade behaviour and production incident recovery.

CONTINUE TO SECTION 09
NETWORK INSIGHT — ENGINEERING GUIDES MATTHEW CONRAN POST-QUANTUM SECURITY / 08
Network Insight · Interactive Engineering 08

Enterprise Cryptographic Migration Simulator

Take control of a distributed enterprise. Discover cryptographic dependencies, assess infrastructure readiness, design migration waves and transition production services towards post-quantum security.

Quantum Black & Chrome Enterprise Digital Twin Crypto-Agility Hybrid Migration Change Management Cloud & Data Centre
Discovered Assets 0/12 Cryptographic inventory
Prepared Assets 0 Platform readiness
Migrated Assets 0% Production deployment
Confidentiality Priority Pending Discovered exposure
Remaining Budget €180k Illustrative project budget
Service Health Healthy Modelled production state
Migration Control Centre

Enterprise Change Configuration

Change Assessment

Discovery Required

Build a cryptographic inventory before modifying production infrastructure.

Preparing a platform does not automatically migrate its cryptographic operations. Discovery, dependency validation, testing and controlled deployment are separate stages.
Live Enterprise Digital Twin

Distributed Cryptographic Infrastructure

Undiscovered Classical Prepared / Canary Migrated Profile Deployment Fault
Selected Infrastructure

Enterprise API Gateway

Cryptographic Bill of Materials

Enterprise Cryptographic Asset Inventory

Infrastructure Environment Cryptographic Role Current Profile Readiness Priority Migration State
A cryptographic inventory should identify algorithms, protocols, libraries, certificate dependencies, hardware capabilities, software ownership and data confidentiality requirements. Network scanning alone cannot discover every cryptographic dependency.
Dependency Intelligence

Infrastructure Dependency and Readiness Explorer

Selected Asset Profile

Migration Prerequisites

Dependency Graph

The dependencies in this digital twin represent modelled deployment prerequisites. Preparing a peer, library or certificate service does not necessarily require migrating every cryptographic operation on that component first.
Quantum Exposure Assessment

Harvest Now, Decrypt Later Migration Prioritisation

Planning Heuristic

Confidentiality Lifetime + Migration Duration

If the required confidentiality lifetime plus the estimated migration duration exceeds an assumed quantum threat horizon, prioritise the relevant key establishment dependencies for investigation.

Selected Asset Assessment

Exposure Assessment

This is a planning heuristic, not a prediction of when a cryptographically relevant quantum computer will become available. Signature-only dependencies require separate integrity and authenticity assessments. Migrating today cannot retroactively protect previously captured classical ciphertext.
Enterprise Migration Programme

Phased Deployment and Change Management

Active Migration Wave

Wave 01 — Foundations

Migration waves are planning groups rather than universal mandatory deployment orders. The model requires individual production changes to pass preflight and canary validation.
Production Change Pipeline

Preflight, Canary, Promotion and Rollback

Canary Telemetry

Baseline vs Observed State

Metric Baseline Canary
Change Validation Evidence

Preflight and Promotion Gates

Validation Gate Result
Canary telemetry is synthetic. A real migration requires measured handshake success, CPU utilisation, latency distributions, certificate compatibility, transport behaviour and application-level health.
Enterprise Architecture Comparison

Classical Baseline vs Current Migration State

Programme Coverage

Migration Completion

Residual Risk

Remaining Cryptographic Dependencies

Engineering Change Journal

Migration Timeline and Audit Evidence

Event Asset Operation Outcome
Engineering Diagnostic Console

Enterprise Migration CLI

Vendor-neutral educational commands. Enter help to view available operations.

Engineering Migration Laboratory

Eight Enterprise Migration Challenges

Active Engineering Investigation

Select a Challenge

Investigate the infrastructure, reproduce the required migration behaviour and collect diagnostic evidence.

0 of 8 challenges completed

NETWORK INSIGHT / POST-QUANTUM SECURITY / SECTION 09

Production Performance, Security and Troubleshooting

Engineering operationally resilient post-quantum networks through packet-level analysis, cryptographic observability, performance engineering, incident investigation and evidence-driven production recovery.

Wireshark TLS 1.3 ML-KEM ML-DSA QUIC MTU CPU Profiling Cryptographic Telemetry Incident Response
Engineering Objective 01
OBSERVE

Collect packet, protocol, infrastructure and cryptographic evidence.

Engineering Objective 02
ISOLATE

Identify the actual failure domain and distinguish symptoms from causes.

Engineering Objective 03
RECOVER

Restore service while preserving approved cryptographic security objectives.

9.1 Production Post-Quantum Troubleshooting Architecture

A post-quantum cryptographic deployment introduces new operational considerations across network transport, protocol negotiation, certificate processing, application infrastructure and cryptographic implementations.

A failed TLS connection may originate from an unsupported cryptographic group, an incompatible certificate, a transport-layer problem, an exhausted processing resource or a misconfigured security policy.

The observable symptom alone rarely identifies the underlying cause.

PRODUCTION CRYPTOGRAPHIC INVESTIGATION Evidence correlation Packet Capture TLS Telemetry CPU / Memory PKI Validation Network Transport Security Policy Handshake evidence Negotiated parameters Resource utilisation Trust relationships MTU and retransmission Approved crypto profiles CORRELATE EVIDENCE ACROSS MULTIPLE FAILURE DOMAINS
Figure 9.1 — Production troubleshooting architecture. The central investigation function represents evidence correlation rather than an inline appliance.
Fundamental Troubleshooting Principle

Do not assume that a connection failure following a post-quantum upgrade is a cryptographic algorithm failure. Establish the failure stage and correlate independent evidence before selecting a remediation.

9.2 Establishing the Failure Domain

A structured troubleshooting methodology separates the connection lifecycle into observable stages. Each stage has different dependencies, failure conditions and diagnostic evidence.

Failure Domain Potential Symptom Primary Evidence
Network reachability Connection timeout Routing, firewall and TCP evidence
Transport Retransmissions or incomplete delivery Packet capture and transport counters
Algorithm negotiation No acceptable cryptographic group ClientHello, ServerHello and endpoint logs
Key establishment Handshake authentication failure Cryptographic implementation diagnostics
Certificate validation Unknown CA or invalid certificate Certificate chain and trust-store evidence
Signature verification CertificateVerify failure Signature scheme and verification diagnostics
Resource capacity High handshake latency or timeouts CPU, memory, queues and profiling
Security policy Connection rejected despite compatibility Configured policy and enforcement logs
Availability Failure

Connection Cannot Complete

The client cannot establish a usable session because of transport, compatibility, processing or trust validation failures.

Security Failure

Connection Completes Incorrectly

The application remains available, but the negotiated cryptographic profile does not satisfy the required security policy.

9.3 Analysing a Hybrid TLS 1.3 Handshake

A TLS 1.3 handshake negotiates cryptographic parameters, establishes shared key material and authenticates the communicating endpoint or endpoints.

In a certificate-authenticated hybrid TLS deployment, the negotiated key establishment group can combine a classical mechanism with ML-KEM while authentication continues to use a separately selected signature scheme.

TLS Client TLS Server ClientHello Supported groups / key share / signature algorithms ServerHello Selected group and server key share Handshake traffic keys derived EncryptedExtensions / Certificate Encrypted handshake messages CertificateVerify / Finished Authentication and transcript verification Client Finished Handshake confirmation Protected Application Traffic SIMPLIFIED FULL HANDSHAKE WITHOUT CLIENT CERTIFICATE AUTHENTICATION
Figure 9.2 — Simplified certificate-authenticated TLS 1.3 handshake. Session resumption, HelloRetryRequest, optional client authentication and other protocol variations are omitted.
Packet Analysis Boundary

In TLS 1.3, handshake messages following ServerHello are generally encrypted. A passive packet capture without appropriate decryption material cannot directly inspect every certificate, signature or handshake message.

9.4 Wireshark Packet-Level Investigation

Wireshark provides evidence about transport behaviour, visible TLS negotiation fields and packet timing. It is particularly useful for distinguishing network delivery problems from protocol-level failures.

Synthetic Wireshark Investigation
No. Time Source Destination Protocol Information
10.000ClientServer TCPSYN
20.018ServerClient TCPSYN, ACK
30.019ClientServer TCPACK
40.020ClientServer TLS/TCPFirst ClientHello segment
50.020ClientServer TLS/TCPRemaining ClientHello bytes
60.041ServerClient TLSServerHello
70.042ServerClient TLSEncrypted TLS records
80.063ClientServer TLSEncrypted TLS records

This is a synthetic educational capture. Actual packet counts, segmentation, protocol labels and timing depend on the implementation, capture point, transport conditions and Wireshark version.

WIRESHARK / DISPLAY FILTERS
# TLS traffic tls # ClientHello messages tls.handshake.type == 1 # ServerHello messages tls.handshake.type == 2 # TCP retransmission analysis tcp.analysis.retransmission # TCP duplicate acknowledgements tcp.analysis.duplicate_ack # IPv4 fragmentation evidence ip.flags.mf == 1 || ip.frag_offset > 0 # IPv4 fragmentation-needed messages icmp.type == 3 && icmp.code == 4 # IPv6 Packet Too Big messages icmpv6.type == 2 # QUIC traffic quic # Isolate a specific TCP conversation tcp.stream == 0

The negotiated key establishment group should be examined in the decoded ServerHello key_share extension where applicable. Field names and group decoding capabilities can vary between Wireshark versions.

Capture Security

TLS session secrets and decrypted captures may expose confidential application data. Collect decryption material only in authorised environments and protect it according to the applicable security and retention policy.

9.5 Cryptographic Algorithm Negotiation Failures

TLS peers must agree on compatible protocol parameters. A client supporting ML-KEM internally does not necessarily support a particular hybrid TLS group or its required encoding.

Similarly, a server may implement a hybrid group but exclude it through its configured security policy.

Client Supported groups X25519 X25519MLKEM768 Server Permitted groups secp384r1 Other configured group NO ACCEPTABLE COMMON GROUP Handshake Cannot Complete COMPARE IMPLEMENTED, CONFIGURED AND OFFERED CAPABILITIES
Figure 9.3 — Illustrative negotiation failure caused by the absence of an acceptable common group. Actual alert behaviour depends on the implementation and failure conditions.
Implementation Mismatch

Different Protocol Versions

Experimental and standardised hybrid groups may use different identifiers or encodings. Similar algorithm names do not guarantee interoperability.

Configuration Mismatch

Unsupported Security Policy

Both endpoints may implement a group while one endpoint excludes it from its permitted negotiation configuration.

Key Share Mismatch

Missing Initial Key Share

A mutually supported group may not have an initial client key share, potentially requiring a HelloRetryRequest.

Authentication Mismatch

Unsupported Signature Scheme

Compatible key establishment does not guarantee compatible certificate or handshake signature verification.

9.6 HelloRetryRequest and Additional Handshake Latency

TLS 1.3 allows a server to request a new ClientHello when the initial client key share does not satisfy the selected supported group.

A valid HelloRetryRequest is not inherently an error or evidence of a cryptographic downgrade. However, it can introduce additional handshake latency.

INITIAL KEY SHARE ACCEPTED RETRY REQUIRED Client Server Client Server ClientHello Server handshake flight Client Finished ClientHello HelloRetryRequest Updated ClientHello Server handshake flight Client Finished Normal full handshake Approximately one additional RTT
Figure 9.4 — Conceptual comparison of TLS handshake message flights with and without HelloRetryRequest. Transport establishment and processing delays are omitted.
Illustrative Latency Model
Network round-trip time = 40 ms Additional retry round trip = approximately 40 ms If the original TLS handshake takes 45 ms: Handshake with retry ≈ 85 ms Actual latency also depends on processing, packet loss, scheduling and transport behaviour.

9.7 Post-Quantum Handshake Size Engineering

Post-quantum public keys, encapsulation ciphertexts and digital signatures can be substantially larger than their classical counterparts.

These increases affect connection establishment rather than necessarily increasing the size of every encrypted application record.

Mechanism Public Key Ciphertext or Signature
ML-KEM-512 800 bytes 768-byte ciphertext
ML-KEM-768 1,184 bytes 1,088-byte ciphertext
ML-KEM-1024 1,568 bytes 1,568-byte ciphertext
ML-DSA-44 1,312 bytes 2,420-byte signature
ML-DSA-65 1,952 bytes 3,309-byte signature
ML-DSA-87 2,592 bytes 4,627-byte signature

These are raw algorithm object sizes from the applicable NIST standards. Complete TLS messages and X.509 certificates include additional protocol and encoding overhead.

Raw Key Establishment Material

Classical X25519 — Two Public Shares

64 B

ML-KEM-768 — Public Key and Ciphertext

2,272 B

Combined X25519 and ML-KEM-768

2,336 B
Comparison of raw transmitted key establishment objects across both handshake directions. Not a comparison of complete TLS handshake sizes.

9.8 MTU, MSS and TCP Segmentation

A larger TLS handshake message can be distributed across multiple TLS records or TCP segments. This is normal transport behaviour and does not necessarily indicate IP fragmentation.

The Maximum Transmission Unit defines the maximum IP packet size supported by a link. TCP Maximum Segment Size describes the maximum TCP payload size advertised for a connection direction.

Illustrative TLS Byte Stream 3,200 bytes available for TCP transmission ASSUMED TCP PAYLOAD LIMIT: 1,460 BYTES Segment 1 1,460 B Segment 2 1,460 B Segment 3: 280 B Receiver Reassembles the TCP Byte Stream
Figure 9.5 — Illustrative TCP segmentation with a 1,460-byte payload limit. TCP options, congestion control, buffering and implementation behaviour may change actual segmentation.
Illustrative IPv4 Ethernet Calculation
IP MTU = 1,500 bytes IPv4 header = 20 bytes TCP header = 20 bytes Nominal TCP payload limit = 1,460 bytes TLS byte stream = 3,200 bytes Minimum segments under these assumptions: ceil(3200 / 1460) = 3 Segment 1 = 1,460 bytes Segment 2 = 1,460 bytes Segment 3 = 280 bytes

This simplified calculation assumes no IP or TCP options and full-sized segments where possible. It excludes additional encapsulation overhead.

9.9 Path MTU Discovery and Black-Hole Conditions

Path MTU Discovery attempts to identify a packet size that can traverse the complete network path.

A path may contain tunnels, VPN gateways or other encapsulation boundaries that reduce the effective MTU available to the original traffic.

If oversized packets cannot traverse a path and the required feedback is unavailable, connections may experience persistent retransmissions or apparent application stalls.

Client Router Tunnel Edge Server MTU 1500 MTU 1500 Path MTU 1400 Required MTU feedback unavailable Repeated Transmission / Handshake Stall Investigate effective path MTU and transport recovery ILLUSTRATIVE PATH MTU FAILURE
Figure 9.6 — Illustrative path MTU black-hole condition involving a reduced-MTU tunnel path. The scenario assumes oversized packets cannot be forwarded and usable MTU feedback is unavailable.
Engineering Principle

A larger TLS handshake does not itself reduce the path MTU. It may expose an existing transport or encapsulation problem that smaller exchanges did not previously encounter.

9.10 QUIC and Anti-Amplification Constraints

QUIC integrates TLS 1.3 handshake processing with a UDP-based transport protocol.

Before validating a client's address, a QUIC server is generally limited to sending no more than three times the number of bytes it has received from that address.

This anti-amplification mechanism limits the potential for reflection-based traffic amplification. Large certificate chains and handshake flights can interact with this transmission budget.

QUIC Client 1,200 bytes received by server QUIC Server Address not yet validated Available Transmission Budget 1,200 × 3 = 3,600 bytes 3,600 B permitted 1,400 B pending Illustrative server transmission demand: 5,000 B Additional received bytes or address validation can increase available capacity
Figure 9.7 — Simplified QUIC anti-amplification budget. The example assumes no prior server transmissions and an unvalidated client address. Actual accounting follows QUIC transport requirements.
Illustrative QUIC Budget
Bytes received by server = 1,200 Maximum transmission before address validation: 3 × 1,200 = 3,600 bytes Required server transmission = 5,000 bytes Transmission demand exceeding current budget: 5,000 - 3,600 = 1,400 bytes

The server must remain within the applicable anti-amplification limit. Additional client traffic or successful address validation can permit further transmission.

9.11 IKEv2, IPsec and Fragmentation Troubleshooting

Post-quantum VPN deployments can introduce larger key establishment payloads and additional cryptographic exchanges.

IKEv2 multiple key exchange mechanisms and IKE fragmentation support must be evaluated according to their applicable specifications.

IKE message fragmentation, IP fragmentation and IPsec-protected application traffic are distinct operational mechanisms.

IKE Control Plane

Negotiation Failure

Investigate proposals, supported key exchange methods, authentication and exchange state.

Message Delivery

Fragmentation

Determine whether IKE fragmentation is supported, negotiated and applicable to the affected exchange.

IPsec Data Plane

Tunnel Forwarding

Inspect security associations, traffic selectors, encapsulation overhead and effective tunnel MTU.

Protocol Boundary

RFC 7383 IKE fragmentation applies to protected IKE messages. It does not provide fragmentation of the initial unencrypted IKE_SA_INIT exchange. Protocol-specific handling must therefore be considered when introducing larger key exchanges.

9.12 Certificate Chain Size and Authentication Overhead

Post-quantum authentication may increase certificate chain size through larger public keys and certificate signatures.

The TLS CertificateVerify message introduces a separate handshake signature proving possession of the endpoint's private key.

Leaf Certificate Subject public key + issuer signature + certificate fields Illustrative ML-DSA-65 raw objects: 5,261 bytes Intermediate CA Certificate Subject public key + issuer signature + certificate fields Illustrative ML-DSA-65 raw objects: 5,261 bytes TLS CertificateVerify Illustrative ML-DSA-65 signature: 3,309 bytes Combined Raw Cryptographic Objects 13,831 bytes
Figure 9.8 — Illustrative authentication object sizes assuming two transmitted certificates, ML-DSA-65 subject keys and issuer signatures, and an ML-DSA-65 CertificateVerify signature. Certificate encoding and TLS overhead are excluded.
Authentication Size Calculation
ML-DSA-65 public key = 1,952 bytes ML-DSA-65 signature = 3,309 bytes Leaf certificate raw cryptographic objects: 1,952 + 3,309 = 5,261 bytes Intermediate certificate raw objects: 1,952 + 3,309 = 5,261 bytes CertificateVerify signature: 3,309 bytes Combined raw object size: 5,261 + 5,261 + 3,309 = 13,831 bytes

This is an illustrative size model, not a measured certificate chain. It assumes compatible certificate and TLS signature profiles and excludes the root certificate, which is normally already trusted by the receiving endpoint.

9.13 Certificate Validation and Signature Failures

Successful hybrid key establishment does not guarantee successful certificate authentication.

The receiving endpoint must validate the certificate chain, identity, validity period, applicable certificate constraints and signatures according to its configured trust policy.

Failure Potential Cause Investigation
Unknown CA Missing or untrusted issuer Inspect trust anchors and chain construction
Unsupported signature Unavailable algorithm implementation Inspect provider and signature capabilities
Invalid certificate Malformed or incompatible encoding Inspect certificate structure and profile
Identity mismatch Unexpected subject alternative name Compare requested identity with certificate
Expired certificate Invalid validity period or incorrect clock Inspect certificate dates and time synchronisation
CertificateVerify failure Signature or transcript verification failure Inspect endpoint cryptographic diagnostics
Policy rejection Classical authentication prohibited Inspect approved certificate and signature profiles
OPENSSL / CERTIFICATE INVESTIGATION
# Inspect certificate structure openssl x509 -in leaf.pem -noout -text # Inspect certificate identity and validity openssl x509 -in leaf.pem \ -noout -subject -issuer -dates # Validate a certificate chain and hostname openssl verify \ -CAfile root.pem \ -untrusted intermediate.pem \ -purpose sslserver \ -verify_hostname api.example.com \ leaf.pem # Inspect available signature implementations openssl list -signature-algorithms # Inspect available cryptographic providers openssl list -providers

Post-quantum certificate inspection and verification require an implementation supporting the relevant algorithm identifiers, certificate encoding and signature profile.

9.14 ML-KEM Decapsulation and Implicit Rejection

ML-KEM decapsulation includes an implicit rejection mechanism for appropriately sized ciphertexts that fail the internal ciphertext consistency check.

Rather than returning a directly observable ciphertext-validity result for that internal check, the algorithm selects alternative shared-secret material.

A protocol using inconsistent shared-secret material will generally fail subsequent authenticated handshake processing or key confirmation.

Received KEM Ciphertext Internal Ciphertext Consistency Check Expected Shared Secret Consistency check succeeds Alternative Secret Implicit rejection path Protocol-Level Authenticated Processing
Figure 9.9 — Conceptual implicit rejection behaviour. The diagram is not implementation pseudocode. Input validation errors are distinct from the internal ciphertext consistency check.
Secure Diagnostic Design

Production telemetry must not expose sensitive intermediate values or create an externally observable ciphertext-validity oracle. Troubleshooting should rely on safe protocol-level failure categories and authorised implementation diagnostics.

9.15 Cryptographic Downgrade and Policy Enforcement

A connection can remain operational while failing the intended post-quantum security objective.

For example, a client and server may negotiate an approved classical group under a compatibility policy even though the application was expected to use hybrid key establishment.

This may represent a configuration error, an approved exception or an unexpected negotiation outcome. It is not automatically evidence of an active downgrade attack.

Negotiated Cryptographic Profile Meets Required Security Policy? Compliant Permit connection Approved Exception Monitor and govern Non-Compliant Reject or remediate
Figure 9.10 — Conceptual cryptographic policy decision model. Compatibility exceptions must be explicitly authorised by the applicable policy.
Security Versus Availability

A successful HTTP response establishes application availability. It does not independently establish that the connection negotiated the required quantum-resistant security profile.

9.16 CPU Performance and Cryptographic Capacity

Post-quantum algorithms have different computational characteristics from classical public-key mechanisms.

Performance depends on the algorithm, implementation, processor architecture, hardware acceleration, memory behaviour and complete protocol workload. Some post-quantum operations may be faster than particular classical alternatives.

Consequently, larger cryptographic objects should not automatically be interpreted as slower cryptographic execution.

Illustrative CPU Capacity Model
Full handshakes per second = 25,000 Measured or assumed CPU time per handshake: Baseline profile = 180 microseconds Candidate profile = 260 microseconds Incremental processing = 80 microseconds Baseline CPU demand: 25,000 × 0.000180 = 4.5 core-equivalents Candidate CPU demand: 25,000 × 0.000260 = 6.5 core-equivalents Additional demand = 2 core-equivalents Candidate capacity at 65% utilisation: 6.5 / 0.65 = 10 core-equivalents

These values are hypothetical engineering inputs, not measured ML-KEM or ML-DSA benchmarks.

Baseline Demand
4.5

Fully utilised CPU core-equivalents.

Candidate Demand
6.5

Fully utilised CPU core-equivalents.

Provisioned Target
10

Core-equivalents at 65% target utilisation.

9.17 Handshake Queues and Tail Latency

When cryptographic processing demand approaches available capacity, connections may spend increasing amounts of time waiting for execution resources.

Average latency may remain acceptable while high-percentile latency deteriorates significantly. Production monitoring should therefore include p95 and p99 handshake latency alongside throughput and resource utilisation.

HANDSHAKE LATENCY UNDER LOAD 0% 25% 50% 75% 100% p50 p95 p99 RESOURCE UTILISATION RELATIVE LATENCY
Figure 9.11 — Conceptual illustration of increasing tail latency as processing capacity becomes constrained. The curves are not measured performance results.

9.18 Memory Consumption and Concurrent Handshakes

Cryptographic processing requires memory for connection state, protocol buffers, certificate chains, temporary cryptographic objects and implementation-specific processing structures.

The memory impact becomes particularly important when a gateway handles many simultaneous incomplete handshakes.

Illustrative Memory Model
Concurrent incomplete handshakes = 50,000 Additional memory per handshake = 8 KiB Incremental memory demand: 50,000 × 8,192 bytes = 409,600,000 bytes = approximately 390.6 MiB This excludes allocator overhead, socket buffers, application state and other shared resources.
390.6 MiB

Illustrative incremental memory demand relative to a hypothetical 512 MiB handshake memory budget.

9.19 Resource Exhaustion and Defensive Architecture

Connection establishment consumes processing and memory resources before an application request can be fully authenticated and authorised.

A resilient gateway architecture should limit resource consumption while preserving service availability for legitimate clients.

Incoming Connection Demand Connection Admission Controls Rate limits / connection limits / address validation Bounded Handshake Processing Worker pools / timeouts / memory limits Authenticated Application Sessions Application security and authorisation CONTINUOUS RESOURCE MONITORING ACROSS ALL STAGES
Figure 9.12 — Conceptual defensive architecture for controlling connection establishment resources. Actual enforcement capabilities depend on the transport protocol and deployment platform.
Protection 01

Bounded Connection State

Limit concurrent incomplete handshakes and enforce appropriate connection establishment timeouts.

Protection 02

Resource Isolation

Separate cryptographic processing resources from critical application execution where practical.

Protection 03

Admission Control

Apply suitable connection controls, load shedding and protocol-supported address validation.

Protection 04

Capacity Monitoring

Observe handshake queues, processing latency, memory pressure and rejected connection rates.

9.20 Side-Channel Security and Implementation Assurance

The mathematical security of a cryptographic algorithm does not independently guarantee the security of its implementation.

Implementation behaviour can expose information through execution timing, memory access patterns, power consumption, electromagnetic emissions or fault-related behaviour.

Implementation Risk

Timing Leakage

Secret-dependent execution behaviour may expose information through observable processing differences.

Implementation Risk

Memory Access Leakage

Secret-dependent memory access can interact with processor caches and shared execution resources.

Implementation Risk

Physical Leakage

Hardware implementations may require protection against power, electromagnetic and fault-related analysis.

Production Implementation Principle

Use maintained, reviewed cryptographic libraries and validated implementations where required. Avoid developing custom ML-KEM or ML-DSA implementations for production security services.

Implementation assurance should include appropriate test vectors, secure coding review, dependency management, vulnerability monitoring and side-channel evaluation suited to the threat model.

9.21 Hardware Security Module Bottlenecks

An HSM-backed authentication architecture can introduce a separate processing boundary between the application gateway and the cryptographic signing operation.

The complete handshake latency may depend on HSM request queues, communication overhead, session management and signing throughput.

TLS Gateway Signing requests HSM Request Queue Waiting cryptographic operations HSM Protected signing Queue Growth Increases Handshake Latency Gateway CPU utilisation may remain below saturation
Figure 9.13 — Illustrative HSM-backed signing architecture. A constrained external cryptographic resource can increase latency even when the application gateway has available CPU capacity.
Illustrative Signing Capacity
Required signing operations = 8,000 per second Measured HSM capacity = 6,000 per second Unserved demand = 2,000 operations per second If demand remains constant and no requests are rejected or redirected, the queue grows. Actual capacity must account for operation type, hardware configuration, failover and latency targets.

9.22 Session Resumption and Connection Reuse

TLS session resumption and application connection reuse can reduce the frequency of full certificate authentication and public-key operations.

Persistent HTTP connections, HTTP/2 multiplexing and HTTP/3 connection reuse can also reduce connection establishment overhead.

However, resumed sessions must be evaluated against the applicable security policy. The cryptographic properties of resumption depend on the selected TLS mode, ticket lifecycle, PSK handling and any additional key exchange.

Illustrative Workload Distribution

Full Handshakes

2,000/s

Resumed Handshakes

8,000/s

A hypothetical workload containing 10,000 new TLS connections per second with an 80% successful resumption rate.

Full handshake CPU cost = 250 microseconds Resumed handshake cost = 60 microseconds Full handshake demand: 2,000 × 0.000250 = 0.50 core-equivalents Resumed handshake demand: 8,000 × 0.000060 = 0.48 core-equivalents Combined demand = 0.98 core-equivalents Without resumption under the same assumptions: 10,000 × 0.000250 = 2.50 core-equivalents
Resumption Security

Do not assume that every resumed connection performs a fresh post-quantum key exchange. Validate the negotiated resumption mode and its confidentiality and authentication properties. TLS 0-RTT data also has distinct replay considerations.

9.23 Cryptographic Observability Architecture

Traditional network monitoring provides information about packet loss, interface utilisation and connection availability.

Post-quantum operational readiness additionally requires visibility into cryptographic negotiation, authentication outcomes, implementation performance and policy compliance.

TLS Gateway VPN Gateway PKI / HSM Network Handshake metrics IKE and IPsec state Trust and signing Transport evidence Telemetry Collection and Normalisation Metrics / structured logs / traces / policy evidence Correlation and Analysis Failure domains / trends / security compliance Operations Dashboard Security Monitoring Incident Investigation
Figure 9.14 — Conceptual cryptographic observability pipeline. Metrics and log fields require suitable instrumentation at the relevant infrastructure components.
Metric Engineering Purpose
Full handshake rate Measure public-key processing demand.
Handshake success ratio Detect reliability regressions.
Negotiated key establishment group Verify confidentiality migration coverage.
Authentication signature scheme Measure handshake authentication properties.
Certificate chain policy status Identify remaining trust dependencies.
HelloRetryRequest ratio Identify additional negotiation round trips.
p95 / p99 handshake latency Detect tail-latency degradation.
TCP retransmissions Identify transport delivery problems.
HSM operation queue Identify external signing bottlenecks.
Classical exception usage Measure governed migration exceptions.

9.24 Production Security Operations Dashboard

Handshake Success
99.82%

Synthetic connection reliability metric.

Hybrid Negotiation
94.6%

Observed eligible connections using the target hybrid profile.

P99 Handshake Latency
128 ms

Illustrative latency above a hypothetical 100 ms objective.

Gateway CPU
61%

Illustrative processing utilisation.

HSM Queue Capacity
87%

Illustrative queue occupancy requiring investigation.

Classical Exceptions
5.4%

Remaining eligible connections under assumed approved exceptions.

All dashboard values are synthetic engineering examples, not live telemetry or measured post-quantum performance results.

9.25 Production CLI Investigation Toolkit

Command-line tools help engineers establish implementation capabilities, inspect certificates, test negotiation and collect network evidence.

CRYPTOGRAPHIC ENGINEERING TERMINAL
# Inspect OpenSSL version and build information openssl version -a # Inspect installed providers openssl list -providers # Discover KEM implementations openssl list -kem-algorithms # Discover signature implementations openssl list -signature-algorithms # Test an authorised TLS 1.3 endpoint openssl s_client \ -connect api.example.com:443 \ -servername api.example.com \ -tls1_3 \ -verify_hostname api.example.com \ -verify_return_error \ -brief # Test a specific hybrid group where supported openssl s_client \ -connect api.example.com:443 \ -servername api.example.com \ -tls1_3 \ -groups X25519MLKEM768 \ -verify_hostname api.example.com \ -verify_return_error \ -brief # Inspect Linux TCP socket statistics ss -ti # Inspect network interface counters ip -s link # Inspect network path MTU information tracepath api.example.com # Capture authorised test traffic sudo tcpdump -i eth0 -s 0 \ -w pqc-investigation.pcap \ 'tcp port 443 or udp port 443' # Inspect CPU and process utilisation top # Inspect system memory and scheduling vmstat 1

Commands require appropriate operating-system support, permissions and installed tool versions. The hybrid group name must be supported by the specific OpenSSL build and TLS implementation.

Evidence Quality

An algorithm appearing in an installed library does not establish that an application exposes that algorithm through its TLS configuration or that a remote endpoint negotiates it.

9.26 Benchmarking a Post-Quantum Deployment

Production benchmarking should compare a known baseline against a candidate cryptographic profile under equivalent infrastructure and workload conditions.

Test Dimension Baseline Candidate
Cryptographic profile Approved classical configuration Approved hybrid or PQC configuration
Full handshake workload Controlled connection rate Equivalent connection rate
Certificate chain Recorded size and structure Recorded size and structure
Network conditions Defined RTT, loss and MTU Equivalent network conditions
Session resumption Controlled resumption ratio Equivalent ratio where applicable
Hardware Recorded CPU and acceleration Equivalent hardware configuration
Measurements Throughput, CPU, memory, latency Same measurements and methodology
Synthetic Benchmark Results
Metric Baseline Candidate
Full handshakes/s10,00010,000
Handshake success99.99%99.98%
p50 handshake latency22 ms24 ms
p95 handshake latency38 ms45 ms
p99 handshake latency65 ms83 ms
CPU utilisation45%54%
Memory utilisation38%44%

These synthetic results demonstrate a comparison methodology. They must not be interpreted as measured performance differences between classical and post-quantum algorithms.

9.27 Production Incident — The Quantum-Safe Gateway Failure

CAPSTONE INCIDENT / PQC-009

Hybrid TLS Deployment Causes Intermittent Enterprise Application Connection Failures

An enterprise introduces hybrid TLS key establishment on a new application gateway deployment.

Initial laboratory tests succeed. Following production rollout, selected remote offices report intermittent connection timeouts while local data centre clients continue to operate normally.

The operations team initially suspects an ML-KEM implementation problem.

However, investigation identifies a combination of transport constraints, inconsistent gateway configuration and an independent authentication capacity bottleneck.

Remote Office Hybrid TLS client WAN Tunnel Reduced path MTU Local Client Unaffected network path Gateway A Hybrid profile enabled Remote path delivery failures Gateway B Configuration drift Classical negotiation possible Shared HSM Service Signing queue saturation THREE INDEPENDENT FAILURE DOMAINS Transport / Cryptographic policy / Authentication capacity
Figure 9.15 — Synthetic capstone incident topology containing independent transport, configuration and authentication capacity problems.

9.28 Incident Timeline and Evidence Correlation

09:00 — Deployment

Hybrid TLS Profile Introduced

The candidate configuration is deployed to selected application gateway instances.

09:08 — Initial Detection

Remote Office Connection Failures

Application monitoring detects intermittent connection establishment timeouts.

09:15 — Packet Investigation

Repeated TCP Retransmissions

Authorised packet captures identify repeated transmission of handshake-bearing TCP segments on the affected WAN path.

09:24 — Transport Evidence

Reduced Path MTU Identified

Controlled path testing and tunnel configuration inspection identify an effective MTU constraint and unavailable MTU feedback.

09:32 — Security Investigation

Gateway Configuration Drift

Negotiation telemetry identifies classical connections on a gateway instance expected to enforce the hybrid profile.

09:40 — Capacity Investigation

HSM Queue Saturation

Independent monitoring identifies increased signing request queue occupancy and tail latency.

10:05 — Controlled Remediation

Transport and Policy Corrected

Engineers correct the validated MTU problem, restore consistent gateway policy and reduce pressure on the constrained signing service.

10:30 — Validation

Security and Availability Recovered

Controlled tests confirm restored connectivity, approved cryptographic negotiation and acceptable authentication latency.

Illustrative incident timeline created for engineering education.

9.29 Root Cause Analysis

Observed Evidence Root Cause Corrective Action
Remote office handshake stalls Reduced effective path MTU and unavailable feedback Correct transport configuration and validate path MTU behaviour.
Classical sessions on one gateway Inconsistent cryptographic policy Restore approved configuration and verify negotiated groups.
High p99 handshake latency Constrained HSM signing capacity Restore processing headroom and validate signing capacity.
Local clients largely unaffected by packet loss Different network path characteristics Include representative remote paths in deployment tests.
Initial suspicion of ML-KEM failure Incorrect early attribution Correlate independent evidence before assigning root cause.
Capstone Engineering Lesson

The introduction of post-quantum cryptography exposed existing transport limitations and operational dependencies. The incident did not establish a mathematical or implementation failure in ML-KEM itself.

9.30 Baseline Versus Incident Versus Recovered State

Engineering Metric Baseline Incident Recovered
Handshake success 99.98% 91.40% 99.97%
p99 handshake latency 68 ms 480 ms 84 ms
TCP retransmission ratio 0.2% 8.7% 0.3%
HSM queue occupancy 24% 96% 38%
Target hybrid profile coverage Not deployed 82% 100% of eligible sessions
Required policy validation Baseline policy FAIL PASS
P99 HANDSHAKE LATENCY 68 ms 480 ms 84 ms Baseline Incident Recovered 100 ms illustrative objective
Figure 9.16 — Synthetic p99 handshake latency comparison across baseline, incident and recovered states. Recovery restores the illustrative performance objective without requiring identical baseline latency.

9.31 Production Recovery Methodology

01

Establish Incident Scope

Identify affected applications, client populations, network paths, gateway instances and deployment changes.

02

Preserve Diagnostic Evidence

Collect relevant logs, configuration snapshots, metrics and authorised packet captures before changing the affected infrastructure.

03

Isolate the Failure Stage

Determine whether failure occurs during transport, negotiation, authentication, key confirmation or application processing.

04

Compare Baseline and Incident State

Identify differences in cryptographic policy, network delivery, resource utilisation and implementation behaviour.

05

Apply Controlled Remediation

Correct the validated failure domain while preserving the required security objectives.

06

Validate Recovery

Verify successful connectivity, negotiated cryptographic parameters, certificate validation and operational performance.

07

Prevent Recurrence

Update test coverage, monitoring, configuration management, capacity planning and migration acceptance criteria.

9.32 Production Acceptance Checklist

Validation Area Required Evidence
Cryptographic implementation Approved and supported algorithm implementation.
Key establishment Verified negotiation of the required protocol profile.
Authentication Valid certificate chain and approved signature mechanisms.
Transport Successful delivery across representative MTU, RTT and loss conditions.
Interoperability Compatible client, server and infrastructure combinations.
Capacity Validated CPU, memory, queue and throughput headroom.
Hardware security Verified key protection and cryptographic operation capacity.
Observability Reliable negotiation, performance and failure telemetry.
Policy enforcement Correct rejection or governed handling of non-compliant profiles.
Recovery Tested, policy-compliant incident recovery procedures.

9.33 Common Post-Quantum Troubleshooting Misconceptions

Misconception 01

Larger Handshakes Always Cause IP Fragmentation

TCP can segment larger byte streams without requiring IP fragmentation.

Misconception 02

Every Handshake Failure Is a Cryptographic Failure

Transport, certificate, policy and capacity problems can produce similar observable symptoms.

Misconception 03

Hybrid TLS Automatically Migrates Authentication

Key establishment and certificate authentication are separate cryptographic security functions.

Misconception 04

Average Latency Is Sufficient

High-percentile latency can reveal resource constraints hidden by average measurements.

Misconception 05

Successful Connections Prove Security Compliance

Negotiated cryptographic parameters must be validated against the required security policy.

Misconception 06

Post-Quantum Algorithms Are Always Slower

Performance depends on the operation, implementation, hardware and complete protocol workload.

Interactive Engineering Experience / 09

Post-Quantum Security Incident Simulator

The accompanying interactive engineering widget will provide a production incident investigation environment combining network topology, cryptographic negotiation, packet captures, performance telemetry and security policy evidence.

Investigate TLS Negotiation

Inspect supported groups, key shares, HelloRetryRequest and negotiated security profiles.

Analyse Packet Captures

Identify retransmissions, incomplete handshake delivery and transport-related failure patterns.

Investigate MTU Constraints

Compare effective path MTU, encapsulation overhead and handshake delivery behaviour.

Diagnose Authentication Failures

Investigate certificate trust, signature compatibility and hardware signing dependencies.

Compare Network State

Examine baseline, incident and recovered cryptographic and infrastructure conditions.

Restore Secure Operation

Apply corrective actions and verify both service availability and cryptographic compliance.

NETWORK INSIGHT / ENGINEERING GUIDE COMPLETE

Engineering the
Post-Quantum Future

Post-quantum cryptography is not simply a new collection of cryptographic algorithms. It represents a significant evolution in how engineers design, operate and validate digital trust infrastructure.

From lattice-based key establishment and quantum-resistant digital signatures to hybrid TLS, secure VPNs, enterprise PKI and cloud migration, the transition requires coordination across networking, security, application engineering and infrastructure operations.

The successful deployment of quantum-resistant infrastructure depends on mathematical security, implementation assurance, protocol interoperability, operational resilience and continuously verified cryptographic policy.

09
Engineering Sections
03
Core NIST PQC Standards
01
Integrated Security Architecture

Understand the architecture.
Observe the protocol.
Investigate the evidence.
Engineer the solution.

RETURN TO GUIDE INTRODUCTION NETWORK INSIGHT
NETWORK INSIGHT — ENGINEERING GUIDES MATTHEW CONRAN POST-QUANTUM SECURITY / 09
Network Insight · Interactive Engineering 09 · Capstone

Post-Quantum Security Incident Simulator

Enter a production security operations centre. Investigate cryptographic incidents, inspect protocol evidence, compare network states and restore secure enterprise communications without compromising cryptographic policy.

Quantum Black & Chrome Security Operations Centre Packet Forensics Incident Response Root-Cause Analysis Capstone Engineering Lab
Service Status Healthy End-to-end connectivity
Handshake Success 99.99% Synthetic telemetry
Handshake P95 24 ms Modelled latency
Crypto CPU 32% Processing utilisation
Quantum Policy Compliant Key establishment policy
Incident State Clear Investigation lifecycle
Incident Control Centre

Production Fault Injection

Operations Assessment

Production Baseline

All modelled cryptographic services are operating within their baseline thresholds.

Blind investigation hides the incident name. Use packet captures, CLI output and telemetry to determine the underlying fault.
Live Network Digital Twin

Quantum-Safe Enterprise Infrastructure

Diagnostic Traffic Hybrid Cryptography Healthy Service Observed Failure Policy Warning
Selected Network Component

Enterprise API Gateway

Terminates external TLS connections and enforces cryptographic negotiation policy.

Network Operations Telemetry

Production Performance Monitoring

Metric Healthy Baseline Observed State Assessment
These values are deterministic synthetic observations, not measurements from a real ML-KEM or ML-DSA implementation.
Protocol Forensics

Wireshark-Style Packet Capture Laboratory

No. Time (ms) Source Destination Protocol Length Information
Packet Dissection

Select a Packet

Run a diagnostic probe to populate the synthetic packet capture.
Protocol Encapsulation

Selected Packet Structure

Packet lengths and timestamps are illustrative. Encrypted TLS handshake contents represent endpoint diagnostics or a decrypted capture with authorised session secrets, not information visible in an ordinary encrypted wire capture.
Network State Comparison Engine

Expected State vs Incident State

Known-Good Baseline

Expected Configuration

Observed Production State

Current Configuration

Incident Investigation Board

Engineering Evidence Correlation

Investigation Progress

No Active Investigation

Inject an incident and collect diagnostic evidence.

Security Incident Timeline

Chronological Event Correlation

Event Source Severity Description
Engineering Diagnostic Terminal

Post-Quantum Security CLI

Vendor-neutral educational CLI. Enter help to display supported commands.

Root-Cause Analysis

Incident Diagnosis and Controlled Remediation

Recovery Validation

Awaiting Incident

Recovery Gate Result
Restoring connectivity alone is not sufficient. Recovery must also preserve certificate validation, approved cryptographic policy and acceptable production performance.
Capstone Engineering Laboratory

Eight Production Security Investigations

Active Capstone Challenge

Select an Investigation

Collect the required evidence, identify the root cause, apply the correct remediation and validate secure service recovery.

0 of 8 capstone challenges completed

Engineering Completion Report

Incident Resolution Summary

No completed incident report.
☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
Matt Conran
Tags: No tags

Comments are closed.