← Back to section · Post-Quantum Migration
The Size and Performance Ledger of Hybrid Schemes: Where the Extra Bytes Go
The cost of hybrid deployment is not in the CPU but in bytes: ML-KEM-768's public key and ciphertext are each around a thousand bytes, and an ML-DSA signature is dozens of times an ECDSA one. Work this ledger out before launch and you can foresee fragmentation, round trips, and middlebox trouble.
When evaluating a hybrid scheme, newcomers most often ask the wrong question: are post-quantum algorithms slower? Measured data gives a fairly consistent answer — ML-KEM’s key generation, encapsulation, and decapsulation on modern CPUs are in the same class as elliptic-curve key exchange, or faster, and ML-DSA verification is fast too. The ledger that actually needs working out is a different one: bytes. A hybrid scheme adds the data volumes of the classical and post-quantum components together, and the post-quantum component is measured in kilobytes. Once bytes grow, fragmentation, round trips, storage, and compatibility problems follow. This article takes that ledger apart item by item and gives a budgeting method to apply before launch.
Key Exchange: Over a Thousand Extra Bytes
Start with orders of magnitude. An X25519 public key is just 32 bytes; the encapsulation key of ML-KEM-768 (the mainstream parameter set of FIPS 203) is 1,184 bytes, and its ciphertext is 1,088 bytes. In a hybrid TLS handshake, then, the client’s key share grows from a few dozen bytes to roughly twelve hundred, and the server’s response grows by about a thousand bytes as well. ML-KEM-512’s key and ciphertext are somewhat smaller (800 and 768 bytes), and ML-KEM-1024’s are around fifteen hundred each — choosing a parameter set is essentially a trade-off between security level and byte budget, and the widely recommended 768 tier is exactly that trade-off’s balance point.
A thousand-odd bytes is nothing on broadband, but it bites on three kinds of path. First, paths with small MTUs and stacked tunnels, where fragmented handshake packets amplify the cost of loss and retransmission. Second, UDP-based protocols (such as QUIC and DTLS), which are constrained by anti-amplification byte budgets: the amount a server may send before validating the client’s address is limited, and larger key shares and certificates can eat the budget and cost an extra round trip. Third, legacy middleboxes that handle oversized handshake messages unreliably and may truncate or reset connections — in early hybrid TLS deployments this was the most common source of interoperability failures, and it has nothing to do with the algorithms themselves.
Signatures and Certificates: A Steeper Climb
The size gap for signatures is larger than for key exchange. An ECDSA P-256 signature is about 70 bytes and an Ed25519 signature 64 bytes; an ML-DSA-44 signature (the lowest tier of FIPS 204) is 2,420 bytes, ML-DSA-65 is 3,309 bytes, and public keys grow from a few dozen bytes to 1,312 and 1,952 bytes respectively. SLH-DSA signatures are larger still, ranging from roughly 8 thousand to 50 thousand bytes depending on parameters, which confines it to scenarios with infrequent signing and no size sensitivity. Put these numbers into a certificate chain: a hybrid or post-quantum certificate is several times the volume of a classical one, and a chain of three or four certificates adding ten-odd kilobytes to a TLS handshake is unremarkable — handshake round trips, session resumption tickets, and OCSP responses are all enlarged in its wake.
Storage needs its own accounting. Volume growth in code and firmware signatures eats directly into firmware partitions; in an archive, an extra two-thousand-odd-byte post-quantum signature on every document becomes, multiplied by the document count, a real capacity-planning problem. Hybrid dual signing means the classical and post-quantum signatures coexist, and this ledger must be measured during the pilot, not discovered after full rollout when the firmware partition no longer fits.
The True Picture on Compute: Not the Bottleneck, with Exceptions
For completeness, the compute side should be stated plainly so the budget misses nothing. ML-KEM’s three operations (key generation, encapsulation, decapsulation) are dominated by polynomial arithmetic and cost about the same as X25519 on general-purpose CPUs; they are not a bottleneck in bulk-handshake scenarios. ML-DSA verification is fast, and signing is somewhat slower but still within milliseconds, imperceptible to online services. The genuine compute exceptions are three. First, SLH-DSA signing is markedly slow (by design, it trades large amounts of hashing for conservative security) and suits only low-frequency signing. Second, on resource-constrained devices (microcontrollers, secure elements), post-quantum operations’ memory footprint — keys and intermediate state measured in kilobytes — may exceed the SRAM budget and must be measured, not extrapolated. Third, HSM and hardware module throughput: many installed HSMs do not yet support post-quantum algorithms, and for models that do, signing throughput must be checked item by item against vendor specifications; capacity planning for centralised signing services (such as code-signing platforms) must carry this as its own line. Once these three exceptions are checked, the compute side can be struck from the risk list — everything left is a bytes problem.
Two Small Ledgers Not to Miss: Session Resumption and Logging Telemetry
Two further small ledgers are commonly forgotten. One is session resumption: if TLS session tickets and cache entries carry hybrid-negotiation key material or larger state, ticket volume and cache memory both swell, and session-cache capacity planning for high-concurrency gateways must be redone at the new sizes. The other is observability cost: larger handshakes raise the storage volume of packet captures, handshake telemetry, and security audit logs in step; organisations running full-retention policies discover a few months later that the logging budget is blown. Neither affects functionality, but both become sources of operational complaint; giving each a line in the budget table is far cheaper than explaining afterwards. In addition, if the parameter set moves from tier 512 to 768, or from 768 to 1024, every number above must be re-estimated in proportion, so the budget table should be built as a table recomputable per parameter set, not a one-off static conclusion.
Budgeting Method: Count the Worst Path, Not the Benchmark
Three executable budgeting principles. First, take total handshake bytes as the primary metric: for every protocol path to be migrated, measure total handshake bytes and round trips before and after hybridisation, focusing on mobile networks, cross-continental links, and VPN-tunnelled paths rather than in-datacentre benchmark numbers. Second, accept on failure rates, not average latency: hybrid deployment incidents mostly appear in the tail — a small share of connections failing behind particular carriers or middleboxes — so during canary rollout, split failure rates by network origin; a pretty average latency cannot rescue the tail. Third, reserve headroom for parameter upgrades in storage and bandwidth: choosing tier 768 today does not preclude a security assessment requiring tier 1024 tomorrow, at roughly another forty percent of size; planning capacity at one tier up ensures the next parameter upgrade does not become another migration.
Work the ledger out in advance, and most of hybrid deployment’s “surprises” become “already foreseen.” Bytes are the most honest cost metric of the post-quantum migration: they do not frighten, but they are never absent either.
Tags: Performance EvaluationKey SizesML-KEMML-DSA