← Back to section · Security Risk & Assessment

Interoperability and Conformance Testing: Compliant on Both Sides, Still Unable to Talk

Two implementations both pass the standard test vectors, yet fail to recognise each other at handshake time — the most common scene of the migration era. This article separates the duties of conformance testing and interoperability testing, catalogues the usual sources of non-interoperability in negotiation, encoding, and optional fields, and gives a method for organising matrix-based interop testing.

Published 22 November 2026 · 6 min read · PQ Frontier

Interoperability and Conformance Testing: Compliant on Both Sides, Still Unable to Talk
AI-generated site artwork
Video explainer · Security Testing Methods: verifying implementations on the lattice

The Typical Scene of the Migration Era

The most common embarrassment on a post-quantum migration site is this: every party claims its implementation has passed all the standard tests, yet the handshake fails when they are connected. Nobody is lying — what they passed was conformance testing, and the failure happened at the interoperability layer. Conformance testing compares a single implementation against the standard and confirms it produces correct output for given inputs; interoperability testing makes two or more real implementations talk to each other and confirms their understanding of the protocol agrees in every detail. Wherever the standard text leaves room for options, tolerance, or implementer choice, the conclusions of the two test types can diverge.

The two kinds of testing therefore need separate line items and separate acceptance in the test plan. Treating a conformance pass as proof of interoperability is one of the most common misjudgements in migration projects.

What Conformance Testing Tests

The skeleton of conformance testing is the test vector: known-answer tests published by standards bodies or algorithm submitters, giving inputs and expected outputs for item-by-item comparison. Coverage should include, beyond the normal path, boundaries and anomalies: maximum and minimum lengths, illegal parameters, and malformed inputs must be explicitly rejected rather than silently accepted. For interfaces such as signature verification and key encapsulation, negative cases matter equally — tampered signatures and ciphertexts must fail verification, which is just as important as producing correct answers.

Official validation programmes at scale (such as algorithm validation programmes) turn this into a service: implementers submit outputs, the system judges conformance to the standard, and the result serves as evidence for procurement and compliance. Its boundary must be understood, though: it judges input-output behaviour at the algorithm level and does not cover protocol integration, state management, or error handling — all of which fall in interoperability testing’s jurisdiction.

What Interoperability Testing Tests

The basic unit of interoperability testing is the pair: take the implementations that must coexist in an ecosystem, pair them up, and run the complete protocol flow. For key exchange, what is tested is not only that the final shared secret agrees, but also whether the intersection of supported parameter sets is what was expected, whether the negotiated combination is exactly the one policy mandates, whether an unsupported extension from the peer leads to graceful degradation or a clean failure, and whether certificate chain parsing and validation agree.

Hybrid modes multiply the matrix severalfold: how classical and post-quantum components are combined, the order in which they are sent, and the fallback behaviour when coexisting with legacy implementations that support only classical algorithms are each an independent case dimension. The pragmatic approach is to prioritise by deployment reality — test the combinations that will actually meet in production in full, sample the theoretical ones — then freeze the matrix into a repeatable case set that re-runs whenever any implementation version changes.

The Frequent Sources of Non-interoperability

Reviewing years of interoperability events and integration incidents, the failure sources are highly concentrated. First, encoding details: length representations of the same data structure, default handling of optional fields, padding conventions for integers — the elasticity the standard permits has been resolved differently by the two sides. Second, asymmetric tolerance: one side ignores an unknown extension, the other errors out; both behaviours are compliant, yet combined they fail. Third, divergent error handling: faced with illegal input, one side drops the connection while the other retries with fallback, which surfaces in integration as an intermittent fault that is extremely hard to localise.

These problems share one trait: neither implementation shows a fault on its own. Localisation requires placing the complete negotiation and message records side by side and comparing field by field to find the divergence of interpretation, then returning to the standard text to decide which side’s reading is closer to the original — and sometimes the conclusion is that the standard itself is ambiguous, and consensus must be fixed through industry interoperability activity. That is the fundamental reason large ecosystems hold interop testing events regularly: they produce not just defect lists but a collective annotation of the standard text.

After Failure: From Integration Incident to Case Asset

What happens after interoperability testing finds a divergence determines the long-term value of that failure. Step one is to freeze the scene: save both sides’ complete negotiation records, versions, and configurations, so the divergence can be replayed offline instead of relying on verbal accounts from the integration session. Step two is to assign cause against the text: compare the divergence point by point with the standard and sort it into implementation defect, configuration problem, or standard ambiguity; the first two go home with their owners to fix, while the third should be fed back through ecosystem channels to push for errata or industry consensus. Step three is to freeze the divergence into an interop test case in the standing matrix — a divergence of interpretation in an ecosystem almost never appears only once, and the frozen case will intercept every recurrence.

Followed this way, interoperability testing stops being fire-fighting integration before go-live and becomes an accumulating asset: the larger the matrix and the richer the historical divergence cases, the lower the ecosystem’s coordination cost. That is the deeper reason mature industries institutionalise interoperability activity.

Make Interop Testing a Standing Practice

Interoperability state is not static: any implementation upgrade, parameter policy adjustment, or new implementation joining the ecosystem requires the matrix to be re-validated. Mature practice maintains a standing interop environment, automates the end-to-end flows of the core implementation combinations, re-runs them regularly in continuous integration, and saves each run’s negotiation records to detect drift. For critical systems, interop windows with external partners should also be written into the release process: before a new version ships, run the full matrix against the main peers in the interop environment.

The conclusion is simple: conformance testing guarantees you solved the problem correctly; interoperability testing guarantees you can work with others. The success of the post-quantum migration depends to a large degree on ecosystem coordination, and turning interop testing from a one-off integration exercise at the end of a project into a standing verification practice throughout the migration is the most substantive advice this kind of testing has to offer.

Tags: interoperability testingconformance testingtest vectorsprotocol negotiation