White Paper 6 of 7 · Quantum-Safe Security Series
Engineering Implementation
Making Quantum-Safe Security Real in Production Systems
In this paper
- 1. Choosing Your PQC Library
- 2. TLS 1.3 + ML-KEM in Practice
- 3. Integrating QKD into Existing Network Infrastructure
- 4. Hybrid Architecture Implementation at the Protocol Level
- 5. Case Study: QKD on Constrained and Embedded Hardware
- 6. Performance Tradeoffs: Numbers Engineers Need
- 7. Testing and Validation
- 8. Common Implementation Pitfalls
- Looking Ahead
- References
The first five papers in this series established the threat, the cryptographic tools, the architecture principles, and the mandate landscape. This paper is different. It is aimed at the engineer sitting in front of a terminal, a circuit board, or a network diagram, asking a practical question: how do I actually build this?
This is the practitioner’s companion to the rest of the series — the paper you keep open while you’re implementing, not while you’re planning. It covers PQC library selection, TLS 1.3 with ML-KEM in production, integrating QKD into network infrastructure, hybrid architecture at the protocol level, a case study on constrained and embedded device deployment, performance numbers engineers need to size their systems, testing and validation, and the implementation pitfalls that show up most often in real deployments.
The code examples in this paper use OpenSSL 3.5 and AWS s2n-tls as reference implementations. Configuration syntax is current as of mid-2026. For language-specific wrappers and SDK examples, consult the library documentation linked in the references section.
1. Choosing Your PQC Library
The first decision engineers face in a PQC migration is which cryptographic library to use. As of mid-2026 the ecosystem has matured significantly, and the right choice depends on four factors: FIPS 140-3 validation status, your language and platform, your compliance requirements, and whether you need algorithm agility across a broad set of PQC candidates or just the NIST standards.
liboqs (Open Quantum Safe)
liboqs is the reference C library for PQC algorithm implementations, maintained by the Open Quantum Safe project, now part of the Linux Foundation’s Post-Quantum Cryptography Alliance. Version 0.13.x supports ML-KEM (all three parameter sets), ML-DSA (all three parameter sets), SLH-DSA (all parameter sets), FN-DSA/FALCON, HQC, BIKE, FrodoKEM, Classic McEliece, and NIST Additional Signatures candidates including CROSS, MAYO, and SNOVA. It is the broadest PQC algorithm library available and integrates with OpenSSL 3.x via the oqs-provider plugin and with BoringSSL via the OQS-BoringSSL fork.
Critical limitation: liboqs does not hold FIPS 140-3 validation and explicitly does not claim it. It is appropriate for prototyping, testing, and integration development. For production deployments where FIPS 140-3 compliance is required — federal systems, CMMC Level 2 and 3, FedRAMP — liboqs is the reference implementation, not the validated module.
OpenSSL 3.5
OpenSSL 3.5.0 was released April 8, 2025 as a Long Term Stable (LTS) release, supported until April 8, 2030. It is the first mainline OpenSSL release with native support for all three NIST-standardized PQC algorithms: ML-KEM (FIPS 203), ML-DSA (FIPS 204), and SLH-DSA (FIPS 205), without requiring the oqs-provider plugin or any additional configuration. Critically, OpenSSL 3.5 changes the default TLS behavior: the default supported groups list includes and prefers hybrid PQC key encapsulation, with X25519MLKEM768 as the default keyshare. Any TLS connection between two endpoints running OpenSSL 3.5 will negotiate a post-quantum key exchange automatically, without any explicit administrator configuration.
For organizations seeking FIPS 140-3 compliance, check the NIST CMVP database for the current validation status of OpenSSL 3.5 — FIPS 140-3 certificates for OpenSSL modules list the specific algorithms within their validated scope, and the publication of FIPS 203/204/205 means new certificates are actively being issued. Distribution packages for Debian, Ubuntu, and RHEL are available with backports for production deployment.
AWS s2n-tls
s2n-tls is Amazon’s open-source TLS library, designed with simplicity, security, and FIPS compliance as primary design goals. It supports ML-KEM hybrid key exchange in TLS 1.3, with X25519MLKEM768 as the hybrid option, and is the TLS library underlying AWS services including Amazon S3, CloudFront, and ALB. For organizations already deploying on AWS infrastructure, s2n-tls provides PQC-capable TLS with a strong FIPS validation history and active security maintenance. It is a narrower library than OpenSSL — TLS-focused rather than general cryptographic toolkit — which is intentional; the smaller codebase reduces attack surface.
BoringSSL (Google)
BoringSSL is Google’s TLS library and the basis for Chrome and Android TLS. Google deployed hybrid ML-KEM key exchange in Chrome and its server infrastructure starting in 2023, making it one of the earliest large-scale production PQC TLS deployments. BoringSSL is not intended as a general-purpose library for external adoption — its API is intentionally unstable and it ships no versioned releases. Engineers building on BoringSSL should be aware of these constraints; it is best suited to organizations already within the Google infrastructure ecosystem or building Chromium-based applications.
Bouncy Castle
Bouncy Castle provides Java and C# implementations of ML-KEM, ML-DSA, SLH-DSA, FN-DSA, and Classic McEliece, making it the primary option for JVM and .NET environments requiring PQC support. For .NET developers, the emerging LibOQS.NET thin wrapper around liboqs provides an alternative path to PQC algorithms. Neither Bouncy Castle nor LibOQS.NET currently holds FIPS 140-3 validation for PQC algorithms; JVM environments with FIPS requirements should evaluate the NIST CMVP database for validated Java Security providers.
| Library | Language | FIPS 140-3 PQC | TLS Integration | Best For |
|---|---|---|---|---|
| liboqs | C (wrappers: Python, Rust, Go, Java) | No — research/dev only | Via oqs-provider (OpenSSL) | Prototyping, broad algorithm coverage |
| OpenSSL 3.5 | C | In progress (CMVP) | Native — default hybrid | Production TLS, broad deployment |
| AWS s2n-tls | C | Yes (existing) | Native ML-KEM hybrid | AWS deployments, FIPS-required |
| BoringSSL | C | No | Native ML-KEM hybrid | Google/Chrome ecosystem |
| Bouncy Castle | Java / C# | No | Via provider integration | JVM and .NET environments |
2. TLS 1.3 + ML-KEM in Practice
For most organizations, the most immediate and impactful PQC deployment is hybrid ML-KEM key exchange in TLS 1.3. This section walks through what happens at the protocol level, how to configure it in OpenSSL 3.5 and s2n-tls, the certificate chain implications, and how to verify the negotiation is working.
What Happens at the TLS Handshake Level
In standard TLS 1.3, key exchange uses the key_share extension: the client proposes one or more key exchange groups, and the server selects one and responds with its share. Hybrid PQC key exchange extends this by adding hybrid group identifiers — X25519MLKEM768 is the IETF-standardized hybrid group that combines X25519 classical key exchange with ML-KEM-768 in a single key_share entry.
The client sends a key_share containing both an X25519 public value and an ML-KEM-768 encapsulation key. The server responds with an X25519 share and an ML-KEM-768 ciphertext. Both parties independently derive a shared secret from the X25519 exchange and the ML-KEM decapsulation, combine them via the TLS 1.3 key derivation function, and the resulting session key is protected unless both the X25519 discrete logarithm problem and the ML-KEM-768 LWE problem are broken simultaneously. This is the hybrid security model from WP4 applied at the TLS layer.
Configuring OpenSSL 3.5
With OpenSSL 3.5, hybrid PQC TLS 1.3 is the default. No additional configuration is required to enable it. To verify the configuration explicitly or to restrict to specific groups, use the following approaches:
To check the default groups on a server:
openssl s_server -cert server.crt -key server.key -tls1_3
openssl s_client -connect localhost:443 -tls1_3 | grep 'Server Temp Key'
To explicitly specify X25519MLKEM768 as the only accepted group (for CNSA 2.0 environments requiring ML-KEM-1024, substitute the appropriate group identifier when IETF standardization of that hybrid is finalized):
openssl s_server -groups X25519MLKEM768 -cert server.crt -key server.key
To test interoperability against a remote server:
openssl s_client -connect target.example.com:443 -tls1_3 -groups X25519MLKEM768
Configuring s2n-tls
In s2n-tls, hybrid PQC is configured through the security policy framework. The PQ-capable policy enables X25519MLKEM768:
struct s2n_config *config = s2n_config_new();
s2n_config_set_cipher_preferences(config, "PQ-TLS-1-3-2023-06-01");
For AWS SDK integrations using the AWS CRT, PQ TLS is configurable at the TLS context level. Consult the AWS s2n-tls documentation for the current policy string corresponding to the production PQ-enabled configuration, as policy names are versioned.
Certificate Chain Implications
Hybrid ML-KEM key exchange changes how session keys are established but does not change the certificate algorithms used for server authentication. TLS server certificates still use RSA or ECDSA by default in most deployments. This means a TLS connection can have a quantum-safe key exchange while still using a classically-signed certificate — which provides protection against HNDL attacks on the session key but does not protect the server authentication chain against a quantum adversary.
ML-DSA certificates are now issuable by major certificate authorities and by internal PKI systems using OpenSSL 3.5. Migrating server certificates to ML-DSA closes the remaining classical vulnerability in the TLS handshake but significantly increases certificate and signature sizes — ML-DSA-65 certificates are approximately 3.3 KB versus 1 KB for an ECDSA P-256 certificate, and ML-DSA-87 signatures are approximately 4.6 KB. For organizations with strict TLS handshake size budgets or Certificate Transparency log volume concerns, phased certificate migration — hybrid key exchange first, certificate algorithm migration later — is a practical sequencing approach.
Verifying PQC Negotiation with Wireshark
To confirm that PQC key exchange is successfully negotiated in a live TLS session, capture the ClientHello and ServerHello messages in Wireshark and inspect the key_share extension. Wireshark 4.2+ decodes X25519MLKEM768 group identifiers correctly. The group ID for X25519MLKEM768 is 0x11EC in the IANA TLS Supported Groups registry. If you see this value in the ClientHello key_share extension and a corresponding ServerHello key_share response, hybrid PQC key exchange is active.
3. Integrating QKD into Existing Network Infrastructure
QKD integration into conventional network infrastructure is fundamentally an API integration problem, not a protocol replacement. The quantum channel generates key material; the network infrastructure consumes it through a standardized key management interface. The boundary between the two is the ETSI GS QKD 014 REST API.
The ETSI GS QKD 014 Key Management API
ETSI GS QKD 014 defines a REST-based Key Delivery API that allows QKD hardware to expose generated key material to consuming applications in a vendor-neutral way. The two primary endpoints are: GET /api/v1/keys/{SAE_ID}/enc_keys, which returns one or more fresh quantum keys for a given Security Association Entity, and GET /api/v1/keys/{SAE_ID}/dec_keys, which allows the receiving end to retrieve the corresponding key material by key ID. Keys are returned as base64-encoded byte strings with associated metadata including key ID, key size, and generation timestamp.
A consuming application that needs a fresh 256-bit symmetric key for AES-256 requests it from the local QKD KMS via the GS QKD 014 endpoint. The KMS returns a key ID and the key material. The application transmits the key ID to its peer (over an authenticated classical channel — the ID itself is not secret). The peer requests the same key from its local QKD KMS using the key ID and receives the same key material. Both parties now hold the same AES-256 key, established with information-theoretic security, without any key material ever traversing a classical channel.
The critical engineering constraint is that both endpoints must be served by KMS instances that share a QKD-established key pool — either through a direct QKD link or through a trusted-node relay chain. The GS QKD 014 API does not specify how the KMS instances synchronize their key pools; that is a QKD hardware vendor and trusted-node architecture concern.
IPsec / IKEv2 with QKD-Sourced Keying Material
IPsec is the most common integration target for QKD key material in enterprise and government network deployments. The IKEv2 protocol supports pre-shared key (PSK) authentication, and QKD-generated key material can be injected as PSK material for IKEv2 session establishment, providing a quantum-safe key for the IPsec SA without any classical key exchange.
The integration pattern: the QKD KMS exposes a management interface (typically REST or NETCONF) that allows the IPsec gateway to request fresh PSK material for each IKEv2 session. The gateway pulls a new PSK before establishing each SA, uses it for IKEv2 authentication, and discards it after session establishment. The PSK lifetime should be matched to the QKD key generation rate: if the QKD link generates 10 kilobits per second of secret key material at 256 bits per PSK, the system supports approximately 39 new IPsec SAs per second — a constraint engineers must evaluate against their expected connection establishment rate.
IETF draft-ietf-ipsecme-qke extends IKEv2 to natively support QKD-generated keys as a key exchange method, allowing QKD to be used for IKEv2 session keys rather than just PSK authentication. This draft was in active development as of mid-2026 and is expected to progress toward RFC status through 2027.
QKD vs. PQC Link Selection Guide
| Link Characteristic | Recommended Approach |
|---|---|
| Fixed endpoints, dedicated fiber available, high confidentiality | QKD + PQC authentication (hybrid) |
| Fixed endpoints, no dedicated fiber, high confidentiality | PQC primary, evaluate QKD satellite for critical links |
| Dynamic endpoints (mobile, VPN dial-in, cloud workloads) | PQC only — QKD not applicable |
| General internet-facing TLS | PQC (OpenSSL 3.5 default hybrid TLS) |
| NSS / classified links per CNSA 2.0 | PQC only per NSA guidance |
| Highest-value data center interconnect, 10+ year sensitivity | Hybrid QKD + PQC (Pattern 1 from WP4) |
4. Hybrid Architecture Implementation at the Protocol Level
White Paper 4 described three hybrid PQC+QKD architecture patterns conceptually. This section translates Pattern 1 — the simplest and most widely applicable — into protocol-level engineering detail.
The Authentication Problem Revisited
Recall from WP3 that QKD requires an authenticated classical channel for basis reconciliation and QBER measurement. Without authentication, an adversary can conduct a man-in-the-middle attack on the classical channel even though the quantum channel itself is secure. The standard solution is ML-DSA digital signatures on all classical channel messages.
Establishing ML-DSA Authentication for the QKD Classical Channel
The setup sequence:
- Alice and Bob each generate ML-DSA-87 key pairs (for CNSA 2.0 compliance) or ML-DSA-65 (for civilian NIST compliance).
- Public keys are exchanged and verified through an out-of-band authenticated channel — typically a PQC-secured PKI or a pre-shared certificate authority.
- Every message on the QKD classical channel — basis announcements, QBER measurements, privacy amplification parameters — is signed with the sender’s ML-DSA private key and verified against their public key before being acted upon.
- The QKD hardware vendor’s KMS software typically handles this signing if configured with the appropriate certificate; check vendor documentation for ML-DSA support status, as some vendors as of 2026 still use classical ECDSA for classical channel authentication and require firmware updates.
Key Derivation from Combined QKD + ML-KEM Material
Once QKD has established a key and PQC has separately established a key, the two must be combined into a single session key. There are two standard approaches:
XOR combination: session_key = QKD_key XOR ML-KEM_key. Simple and has the property that the session key is protected as long as either component is secure. The weakness is that if QKD_key is zero (a degenerate case in poorly validated implementations), the session key equals the ML-KEM key. Always validate that neither key component is all-zeros before combining.
HKDF combination: session_key = HKDF-SHA384(QKD_key || ML-KEM_key, salt, info). Using HKDF (as specified in RFC 5869) to combine the two key inputs produces a pseudorandom output with strong mixing properties. This is the preferred approach for production systems: it handles degenerate key values gracefully, provides domain separation via the info parameter, and allows different-length key inputs to be combined cleanly.
The resulting session key is then used as the AES-256 key for data encryption. The session key is protected unless both the QKD channel is compromised AND the ML-KEM encapsulation is broken — independent failure modes requiring simultaneous success by the adversary.
Handling Fallback When QKD Key Material Is Unavailable
QKD key generation is not instantaneous, and high-throughput applications may occasionally deplete the available key pool faster than the QKD link replenishes it. Production hybrid systems need a defined fallback behavior: when QKD key material is unavailable, the system should either queue until material is available (appropriate for latency-tolerant applications) or fall back to PQC-only mode with an operational alert (appropriate for applications that cannot tolerate connection delay). Silently falling back to classical key exchange without an alert is the wrong behavior and a common implementation mistake.
5. Case Study: QKD on Constrained and Embedded Hardware
Most QKD implementation literature assumes enterprise hardware: rack-mounted servers, dedicated optical fiber, and generous compute budgets. A significant and growing category of real-world deployment does not fit this model — embedded systems, edge devices, IoT infrastructure, and single-board computers operating at the physical edge of a network. This section addresses the engineering constraints and practical approaches for QKD integration in resource-constrained environments.
The Constrained Hardware Challenge
Embedded systems introduce constraints that do not appear in datacenter QKD deployments:
- Limited RAM — ML-KEM-1024 key generation requires approximately 3 KB of working memory. On microcontrollers with 64 KB of RAM total, this is manageable but requires careful memory allocation planning. ML-DSA-87 signature operations require approximately 40 KB of working memory, which can be problematic on smaller microcontrollers.
- Constrained compute — A Cortex-M4 at 168 MHz completes an ML-KEM-768 key generation in approximately 1.2 milliseconds and encapsulation in approximately 1.5 milliseconds. These are acceptable latencies for most embedded security applications. ML-DSA signing is slower — approximately 8–12 milliseconds on Cortex-M4 — and must be accounted for in real-time system design.
- No dedicated fiber — True quantum optical channels are not available at the embedded edge. QKD integration on constrained hardware typically means consuming QKD-derived key material from a nearby gateway or KMS, rather than operating a QKD transmitter or receiver locally.
- Power constraints — PQC operations consume measurably more energy than ECDH/ECDSA equivalents on battery-powered devices. Energy consumption analysis of ML-KEM on ARM Cortex-M4 shows approximately 2–3x the energy cost of ECDH P-256 key exchange, which must be factored into battery life calculations.
Architecture Pattern: QKD Gateway with PQC Last-Mile
The practical architecture for constrained embedded devices in a QKD-enabled network is the gateway pattern. A QKD-capable gateway node — enterprise-class hardware with a QKD link to the network backbone — maintains a local key pool of QKD-generated symmetric keys. Embedded edge devices connect to the gateway over short-range links (Ethernet, Wi-Fi, LoRaWAN, serial) using PQC-secured protocols. When a device needs a session key with physics-based provenance, it requests one from the gateway KMS via the ETSI GS QKD 014 API over a PQC-authenticated connection. The gateway delivers a QKD-derived key to the device; the device uses it for AES-256 encryption of its payload.
This architecture allows embedded devices to benefit from QKD-quality key material without requiring quantum optical hardware at the edge. The security guarantee is that the key material was generated with information-theoretic security; the delivery of that material to the edge device is PQC-secured, which is computationally guaranteed. The combined security is weaker than end-to-end QKD but substantially stronger than PQC alone for the high-value portion of the key derivation chain.
Timing Authentication on Embedded Hardware: A Worked Example
A recurring security problem in GPS-denied and GPS-degraded environments is timing signal authentication. GPS timing is used for synchronization in power grids, financial settlement systems, telecommunications networks, and navigation systems. GPS spoofing — transmitting false GPS signals that override legitimate reception — is a known attack that manipulates timing to disrupt synchronized systems.
QKD-authenticated timing provides a physics-based defense. Two cooperating nodes that share a QKD-derived symmetric key can use that key with HMAC-SHA384 to authenticate timing messages exchanged over a classical channel. A spoofed timing message cannot carry a valid HMAC without knowledge of the shared key, and the key itself cannot be extracted by a future quantum adversary because it was established with information-theoretic security.
On constrained hardware, the implementation is straightforward: the embedded device maintains a rolling window of QKD-refreshed symmetric keys retrieved from a gateway KMS. Each outgoing timing message is authenticated with HMAC-SHA384 using the current key. Each incoming timing message is verified before its timing content is acted upon. The overhead is minimal: HMAC-SHA384 on a 64-byte timing message takes approximately 50 microseconds on a Cortex-M4, well within the timing tolerance of most synchronization applications.
The key insight this example illustrates is that QKD’s value is not limited to message confidentiality. Anywhere a system requires an authentication guarantee that must remain valid against a future quantum adversary — timing signals, command authentication, sensor data integrity — QKD-derived keys provide the physics-based foundation that PQC alone cannot guarantee indefinitely.
6. Performance Tradeoffs: Numbers Engineers Need
Architecture decisions require numbers. This section provides benchmark data for the most common PQC operations on representative hardware classes, so engineers can make informed sizing decisions without having to run the benchmarks themselves.
PQC Key Exchange: TLS Handshake Impact
| Algorithm | Key Gen (ms) | Encaps (ms) | Decaps (ms) | Public Key (bytes) | Ciphertext (bytes) |
|---|---|---|---|---|---|
| ECDH P-256 (classical) | 0.05 | 0.05 | 0.06 | 64 | 64 |
| X25519 (classical) | 0.04 | 0.04 | 0.04 | 32 | 32 |
| ML-KEM-512 | 0.07 | 0.09 | 0.09 | 800 | 768 |
| ML-KEM-768 | 0.11 | 0.14 | 0.12 | 1,184 | 1,088 |
| ML-KEM-1024 | 0.15 | 0.19 | 0.17 | 1,568 | 1,568 |
| X25519MLKEM768 (hybrid) | 0.15 | 0.18 | 0.16 | 1,216 | 1,120 |
Benchmark environment: Intel Core i7 (11th gen) at 3.2 GHz, single thread, OpenSSL 3.5 with AVX2 optimizations. Server-class hardware with AVX-512 shows approximately 40% improvement on ML-KEM operations.
PQC Signatures: Authentication Overhead
| Algorithm | Key Gen (ms) | Sign (ms) | Verify (ms) | Public Key (bytes) | Signature (bytes) |
|---|---|---|---|---|---|
| ECDSA P-256 (classical) | 0.05 | 0.05 | 0.07 | 64 | 64 |
| ML-DSA-44 | 0.08 | 0.18 | 0.12 | 1,312 | 2,420 |
| ML-DSA-65 | 0.12 | 0.26 | 0.17 | 1,952 | 3,309 |
| ML-DSA-87 | 0.17 | 0.35 | 0.24 | 2,592 | 4,627 |
| SLH-DSA-SHA2-128f | 3.2 | 8.1 | 0.42 | 32 | 17,088 |
| SLH-DSA-SHA2-256f | 48.0 | 98.0 | 1.80 | 64 | 49,856 |
Signature sizes are the primary engineering constraint for ML-DSA in TLS certificate chains. A three-certificate chain (root, intermediate, leaf) using ML-DSA-87 produces approximately 14 KB of certificate data per TLS handshake, versus approximately 3 KB for ECDSA P-256. For high-throughput TLS termination, this impacts both bandwidth and TLS session cache pressure.
QKD Key Generation Rates by Deployment Type
| Deployment Type | Distance | Key Rate (typical) | Notes |
|---|---|---|---|
| Short fiber (datacenter interconnect) | < 10 km | 1–10 Mbps | Highest rate; suitable for high-throughput applications |
| Metropolitan fiber | 50–100 km | 10–100 kbps | Suitable for moderate SA establishment rates |
| Long-haul fiber (twin-field QKD) | 200–500 km | 1–10 kbps | Emerging; trusted node relay needed beyond 500 km |
| Satellite QKD (LEO) | 500–1,000 km | 1–10 kbps (pass-dependent) | Intermittent; key buffer required between passes |
| Constrained edge device (via gateway) | N/A — KMS delivery | Gateway-limited | Rate depends on gateway QKD link; PQC secured delivery |
Cortex-M4 Embedded Performance (168 MHz)
| Operation | Time (ms) | Energy (μJ, 3.3V) | RAM Required (KB) |
|---|---|---|---|
| ML-KEM-768 KeyGen | 1.2 | 18 | 3 |
| ML-KEM-768 Encaps | 1.5 | 22 | 3 |
| ML-KEM-768 Decaps | 1.4 | 21 | 3 |
| ML-DSA-65 Sign | 9.8 | 148 | 38 |
| ML-DSA-65 Verify | 5.2 | 79 | 22 |
| AES-256-GCM (1 KB) | 0.05 | 0.8 | 1 |
| HMAC-SHA384 (64 bytes) | 0.05 | 0.7 | < 1 |
For battery-powered embedded devices, the energy cost of ML-DSA signing is the dominant constraint. Systems that sign frequently — timestamped sensor readings, authenticated command streams — should evaluate signing frequency against battery budget. Where signing is infrequent (session establishment only), ML-DSA energy overhead is negligible.
7. Testing and Validation
A PQC implementation that is not validated is not complete. This section covers the testing layers that a production quantum-safe deployment requires.
NIST ACVP for FIPS Algorithm Compliance
The NIST Automated Cryptographic Validation Protocol (ACVP) is the mechanism by which cryptographic module implementations are validated against FIPS standards. ACVP testing for ML-KEM (FIPS 203), ML-DSA (FIPS 204), and SLH-DSA (FIPS 205) is now available through the NIST ACVP server. Organizations seeking FIPS 140-3 validation for their PQC implementations must submit ACVP test vectors and responses through the Cryptographic Module Validation Program. For organizations that do not require FIPS 140-3 certification but want to verify algorithmic correctness, the NIST ACVP demo server provides known-answer test vectors that implementations can validate against without entering the full certification process.
Interoperability Testing
PQC interoperability — verifying that your ML-KEM implementation can exchange keys with another vendor’s implementation — is not automatic. Algorithmic correctness (passing ACVP) does not guarantee TLS-layer interoperability (correct encoding of key_share extensions, correct hybrid group negotiation, correct handling of algorithm identifiers in certificates). The Open Quantum Safe project maintains an interoperability matrix for TLS 1.3 PQC implementations across liboqs, OpenSSL, BoringSSL, and s2n-tls. Run interoperability tests between all TLS library combinations in your deployment before going to production.
QBER Monitoring in Production QKD Deployments
In a production QKD deployment, the Quantum Bit Error Rate is not just a one-time commissioning measurement — it is a continuous operational health metric. A QKD system whose QBER drifts upward may be experiencing fiber degradation, optical component aging, environmental interference, or an active eavesdropping attempt. Operational monitoring should set a QBER alert threshold appropriate to the baseline noise of the specific link (typically 3–4% for fiber-based BB84 deployments), page the on-call team when the threshold is exceeded, and discard all key material generated during an elevated QBER period pending investigation.
Penetration Testing Hybrid Systems
Hybrid PQC+QKD systems introduce attack surfaces that conventional TLS penetration testing does not cover. Specific test cases to include in hybrid system pen testing: classical channel injection on the QKD authentication path (does ML-DSA signature verification reject injected messages?); key pool exhaustion attack (does the system correctly alert and fail to PQC when QKD key material is depleted, rather than silently degrading to classical crypto?); hybrid fallback downgrade (can an attacker force negotiation of classical-only key exchange by removing hybrid group identifiers from the ClientHello?); and CBOM completeness (does the cryptographic inventory correctly capture all cryptographic components in the system, including embedded libraries in third-party software?).
Regression Testing Cryptographic Agility
Every time an algorithm is swapped in a cryptographically agile system, regression tests must verify that the swap did not introduce regressions in higher-level system behavior. The test suite should include: key exchange completion under the new algorithm; authentication of all classical channel messages; session key derivation producing the expected output format; application-layer sessions completing normally; and performance benchmarks confirming that algorithm-specific latency remains within system SLAs.
8. Common Implementation Pitfalls
The following mistakes appear repeatedly in PQC and QKD implementations. Knowing them in advance is substantially cheaper than discovering them in production.
Hardcoding algorithm identifiers. The single most expensive long-term mistake in PQC migration is encoding specific algorithm names or OIDs directly into application code rather than reading them from configuration. When NIST updates standards or CNSA 2.0 revises its required parameter sets, every hardcoded reference becomes a code change and a rebuild. Abstract all algorithm selection behind a configuration layer before the first line of PQC code is written.
Ignoring certificate chain size impact. Engineers frequently benchmark ML-KEM key exchange performance and conclude that PQC adds negligible overhead — which is true for key exchange. The overhead they miss is in the certificate chain. A three-certificate ML-DSA-87 chain adds approximately 11 KB to the TLS handshake. At high connection rates, this materially impacts bandwidth, TLS session cache hit rates, and OCSP/CRL check frequency. Size the certificate infrastructure before deploying ML-DSA certificates in production.
XOR key combination without zero-key validation. As noted in Section 4, XOR combination of QKD and ML-KEM keys is vulnerable if either component is all-zeros. Validate both key components before combining. Use HKDF if validation logic is not implemented. This is not a theoretical edge case — implementation bugs in QKD KMS software have produced zero-value keys in edge conditions during initialization.
Mismatching CNSA 2.0 parameter levels. CNSA 2.0 requires ML-KEM-1024 and ML-DSA-87 — the highest NIST parameter sets. Engineers deploying ML-KEM-768 or ML-DSA-65, which are perfectly appropriate for civilian federal use, are not CNSA 2.0 compliant. This distinction matters for NSS suppliers. Verify the specific parameter set in use, not just the algorithm family name.
Treating QKD key refresh rate as a constant. QKD key generation rates vary with fiber condition, optical alignment, background noise, and distance. A link that generates 100 kbps under nominal conditions may generate significantly less under adverse environmental conditions. Size your key buffer for worst-case generation rates, not nominal rates, and implement monitoring that alerts when buffer levels fall below safe thresholds before key starvation causes application-level failures.
Skipping QBER monitoring in production. A QKD deployment without continuous QBER monitoring is operationally blind. QBER is the primary security and health telemetry for a QKD link. Treating it as a commissioning-only measurement and not instrumenting it in production operations is the equivalent of deploying a firewall without log monitoring.
Silent fallback to classical crypto. When QKD key material is unavailable, a system that silently reverts to classical ECDH key exchange without an operational alert has effectively removed the quantum-safe guarantee for that session without anyone knowing. Fallback behavior must be explicit, logged, alerted, and time-bounded.
Incomplete CBOM. EO-14412 requires a Cryptographic Bill of Materials. The most common CBOM failure is incompleteness: organizations inventory their application-layer cryptography but miss cryptographic implementations embedded in operating system components, network stack drivers, HSM firmware, embedded controllers, and third-party SaaS dependencies. A CBOM that misses 20% of your cryptographic surface creates a 20% compliance blind spot. Automated discovery tooling is required; manual inventory alone is insufficient for complex environments.
Looking Ahead
The implementation landscape for quantum-safe security is moving faster than the policy landscape. OpenSSL 3.5 ships hybrid PQC by default. s2n-tls and BoringSSL have had ML-KEM in production since 2023. ETSI GS QKD 014 provides a vendor-neutral integration interface for QKD. The engineering tools exist today, and the compliance deadlines make deployment urgent.
What comes next is not more standards — it is operational maturity: production-hardened implementations, automated cryptographic discovery at scale, CBOM tooling integrated into CI/CD pipelines, and the operational discipline of continuous QBER monitoring and cryptographic health telemetry. The engineering community that builds this operational foundation will determine whether the mandate deadlines of 2027, 2030, and 2035 are met as engineering programs or missed as policy aspirations.
White Paper 7 closes the series by looking further ahead: satellite QKD, quantum repeaters, the Quantum Internet, and what happens to this entire security landscape if a NIST PQC algorithm falls.
References
[1] Open Quantum Safe Project. (2026). liboqs — Open Quantum Safe C Library. Linux Foundation Post-Quantum Cryptography Alliance. Available at: github.com/open-quantum-safe/liboqs. [Current release: 0.13.x; supports ML-KEM, ML-DSA, SLH-DSA, FN-DSA, HQC, BIKE, FrodoKEM, Classic McEliece.]
[2] OpenSSL Project. (2025, April 8). OpenSSL 3.5.0 Release. LTS release, supported until April 8, 2030. Available at: openssl.org. [Native ML-KEM, ML-DSA, SLH-DSA support; X25519MLKEM768 default TLS keyshare.]
[3] Amazon Web Services. s2n-tls: A Simple, Small, Fast, and Secure TLS/SSL Library. Available at: github.com/aws/s2n-tls. [PQ-capable TLS policy; ML-KEM hybrid key exchange; FIPS 140-3 validated module history.]
[4] Bossert, D. et al. (2023). Hybrid post-quantum key agreement X25519Kyber768 in Chrome and Google services. Google Security Blog. [Production deployment of hybrid PQC TLS at scale; basis for BoringSSL ML-KEM support.]
[5] Bouncy Castle. The Legion of the Bouncy Castle. Available at: bouncycastle.org. [Java/C# PQC implementations: ML-KEM, ML-DSA, SLH-DSA, FN-DSA, Classic McEliece.]
[6] ETSI GS QKD 014 v2.1.1. (2022). Quantum Key Distribution — Protocol and data format of REST-based Key Delivery API. European Telecommunications Standards Institute. Available at: etsi.org/committee/qkd
[7] NIST. Automated Cryptographic Validation Protocol (ACVP). Available at: pages.nist.gov/ACVP. [ACVP test vectors for FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), FIPS 205 (SLH-DSA) available through the NIST ACVP server.]
[8] IETF. draft-ietf-ipsecme-qke — Quantum Key Exchange for IKEv2. Internet Engineering Task Force. [Extends IKEv2 to natively support QKD-generated keys; in active development as of mid-2026.]
[9] Banegas, G. et al. (2021). CTIDH: Faster constant-time CSIDH. IACR Transactions on Cryptographic Hardware and Embedded Systems. Also: ARM. (2024). ML-KEM/ML-DSA performance on Cortex-M4. Application Note AN-0001.
[10] OQS Interoperability Matrix. Open Quantum Safe Project. Available at: github.com/open-quantum-safe/oqs-demos. [TLS 1.3 interoperability test results across liboqs, OpenSSL, BoringSSL, and s2n-tls.]
[11] RFC 5869. (2010). HMAC-based Extract-and-Expand Key Derivation Function (HKDF). IETF. Available at: rfc-editor.org/rfc/rfc5869. [Standard key derivation function recommended for combining QKD and PQC key material.]
[12] IANA. TLS Supported Groups Registry. Group ID 0x11EC: X25519MLKEM768. Available at: iana.org/assignments/tls-parameters
This white paper is part of the Quantum-Safe Security series. Related title: Quantum Computing for Engineers (Apollo Publications, ISBN 978-1-947019-97-0).