← Back to section · Research & Analysis
Leave Margin for Unknown Attacks: Parameter Selection Should Default to Conservative
ML-KEM-512 or 768? On the performance table this is a cost question; on the risk ledger it is an insurance question. We argue for defaulting one level up: the performance difference is a small, certain number, while security estimates have been rewritten downward throughout history.
A selection question that looks purely technical
ML-KEM offers three parameter sets — 512, 768, and 1024 — corresponding to NIST security categories 1, 3, and 5. In selection meetings this is usually debated as a cost question: which level has smaller keys, faster handshakes, less bandwidth? Vendor performance tables happily reinforce the framing — the numbers are right there, and 512 is indeed smaller on every line.
Our position: the default should be 768, or higher where the setting warrants, with 512 treated as an exception requiring justification. The reasons are not in the performance table but in the historical behavior of security estimates.
The category scale is a floor, not a conclusion
First, clarify what the scale means. Category 1 is defined as: attack cost no less than that of brute-forcing an AES-128 key. Meeting category 1 means the parameters are hard enough under today’s attack model. But that estimate embeds two fragile premises: the attack model is today’s, and the cost model is today’s. Cost estimates for lattice cryptography rest on BKZ lattice-reduction sieve costs as their yardstick, and such estimates have been rewritten repeatedly over the past decade — constant-factor improvements in sieving algorithms, debates over quantum sieving variants, and arguments about how much quantum speedup actually materializes have each moved the estimated bit security of the same parameter set up or down.
More generally, the history of cryptography is a history of security estimates revised in one direction: MD5, SHA-1, 1024-bit RSA, SIKE — no revision ever concluded “safer than we thought.” Parameter selection is in essence prepaying an insurance premium against decades of analytic progress; selecting exactly at today’s line is tantamount to assuming future analysis will stagnate. Taking category 3 as the default is not superstition about bigger parameters; it is acknowledgment of the historical norm that estimates deteriorate.
The scale itself carries a second layer of quantum uncertainty
There is a further uncertainty hidden in the category definitions. The odd categories anchor on AES key search and the even ones on hash collision search, and the quantum-era cost models for both problem types are themselves contested: Grover’s algorithm offers a quadratic speedup on paper, but its parallelization efficiency and circuit-depth constraints leave “the true cost of quantum brute force against AES-128” without a consensus estimate to this day. In other words, the scale’s graduations themselves float — when we say a parameter set “reaches category 1” today, we are using a fairly specific set of assumptions about quantum attacker costs.
Lattice attack estimates float the same way: the Core-SVP methodology compresses BKZ costs into a single exponent, masking the give-and-take among memory costs, quantum sieve variants, and classical improvements. Comparing two floating quantities yields a “bit security” figure that naturally carries an uncertainty band of tens of bits. In the face of that band, selecting at the line stakes all of the estimation error on the optimistic side; the few hundred bytes of one level up buy coverage of precisely that uncertainty band. This is not over-engineering; it is an honest response to the precision of the measuring instrument.
How large is the price difference, really?
Now the cost ledger, because the insurance argument must pass a cost test. ML-KEM-512’s encapsulation key is 800 bytes and its ciphertext 768 bytes; at the 768 level these are 1,184 and 1,088 bytes; at 1024, 1,568 and 1,568 bytes. Moving from 512 to 768 costs a few hundred bytes and one notch of computation per handshake — in broadband and data-center settings this vanishes into noise. Mainstream TLS deployment has in fact already voted with its feet: X25519MLKEM768, the hybrid combination actually rolled out by browsers and CDNs, chose the 768 set.
Genuinely cost-sensitive settings exist: satellite links, ultra-low-bandwidth IoT, legacy systems where protocol message sizes are hard-capped. In those settings lower parameter levels have their justification. But note the argumentative structure: that is an explicit decision to “accept lower margin under stated constraints,” which should be recorded and reviewed — not the source of the default value in a selection table.
The counterargument: doesn’t margin eat the real migration budget?
The strongest counterargument is opportunity cost: resources spent on parameter upgrades would do more spent widening migration coverage — moving more systems to category 1 reduces total risk more than moving a few systems to category 3. The ordering intuition is mathematically right: an unmigrated system’s risk is unbounded, against which the marginal gain from upgrading is a second-order quantity.
We accept the ordering, but note that it constrains sequence, not defaults. The correct execution order is: coverage first — get every system off classical algorithms; and at the same time, every new deployment and every system being upgraded anyway starts at 768 by default — because choosing one level up at deployment time adds almost no engineering, while upgrading later means another full change cycle. Reading “default one level up” as a reason to delay coverage sets two non-conflicting things against each other. The one real hazard is using upgrades as an excuse to postpone coverage, which is a governance problem, not a parameter problem.
Conclusion: defaults toward margin, exceptions toward argument
Three actionable principles. First, new ML-KEM deployments default to the 768 set, and on the signature side prefer the higher security level where the setting allows (ML-DSA’s general-purpose recommended set is itself the category-3 ML-DSA-65 — the standard setters’ own demonstration of default margin); treat category 1 as an exception requiring written justification. Second, any justification of a lower level must state the constraint’s source (bandwidth, message-size caps, device compute) and its review conditions; when the constraint disappears, upgrade. Third, report parameter decisions and coverage progress separately: coverage answers “how much has migrated,” parameter level answers “how soundly,” and neither substitutes for the other.
Attackers will not work to our current cost models. Leaving one level of margin for estimation error is the oldest wisdom in cryptographic engineering; in the post-quantum era, with more parameters and younger estimates, that wisdom should be strengthened, not discounted.
Tags: ML-KEMSecurity MarginParameter Selection