← Back to section · Post-Quantum Cryptography
ML-DSA Parameter Sets in Depth: Sizes, Security Categories, and How to Choose
Where the exact public-key, private-key, and signature sizes of ML-DSA-44/65/87 come from, what the security categories mean, and which set a deployment should pick.
The introductory article gave an overview of the three parameter sets — ML-DSA-44, 65, and 87, with signatures of 2.4–4.6 KB. This article digs one level deeper: what exactly are those numbers, what determines them, and how should you do the accounting when choosing? Pick the wrong set and, at best, protocol fields overflow; at worst, the security level misses its target. It is the first concrete decision in any ML-DSA deployment.
The exact sizes of the three sets
The sizes in FIPS 204 are fixed; implementations have no discretion:
| Parameter set | Security category | Public key (bytes) | Private key (bytes) | Signature (bytes) |
|---|---|---|---|---|
| ML-DSA-44 | Category 2 | 1,312 | 2,560 | 2,420 |
| ML-DSA-65 | Category 3 | 1,952 | 4,032 | 3,309 |
| ML-DSA-87 | Category 5 | 2,592 | 4,896 | 4,627 |
For comparison, ECDSA P-256 signatures — also a NIST-standardized scheme — are just 64 bytes, and Ed25519 public keys are 32 bytes. ML-DSA’s “bulk” is not a design failure but a structural property of lattice cryptography: the public key must carry a compressed polynomial vector, and the signature must carry a response vector plus hint information. Below we take each number apart.
Where the sizes come from: the ring, the matrix, the encodings
ML-DSA operates in the polynomial ring R = Z_q[X]/(X^256 + 1) with modulus q = 8,380,417. The choice of q is deliberate: it equals 2^23 − 2^13 + 1, a shape that makes 256-point Number Theoretic Transforms (NTT) efficient — much of ML-DSA’s speed comes from here.
The core difference between the sets is the module-lattice dimension: the public matrix A is a k×l matrix of polynomials, with (k, l) = (4, 4) for the 44 set, (6, 5) for 65, and (8, 7) for 87. Larger dimensions make the Module-LWE and Module-SIS problems harder and raise the security margin. Paired with this is η, the coefficient range of the secret polynomials: 2 for the 44 and 87 sets, 4 for 65. Dimension and secret distribution jointly determine how hard the lattice facing an attacker is.
The public key = a 32-byte seed ρ (the matrix A is expanded from it on the fly and never transmitted entry by entry) + the encoding of the vector t1. t1 consists of k polynomials of 256 coefficients each, compressed to 10 bits per coefficient: for the 44 set, 4 × 256 × 10 / 8 = 1,280 bytes, plus the 32-byte seed gives exactly 1,312. The signature = the challenge seed c̃ (32/48/64 bytes for 44/65/87) + the encoding of the response vector z (l polynomials, coefficients packed at a bit width set by γ1) + the sparse encoding of the hint h. The private key packs the seed, key material, and the full encodings of the secret vectors s1, s2, and the low-order part t0, making it the “fattest” of the three — but private keys never travel over a network, so the bulk is harmless; an implementation may also store only the 32-byte seed ξ and re-expand the full private key when needed.
What the security categories mean
NIST defines its security categories by comparison with symmetric primitives: category 2 corresponds to the difficulty of a collision search against SHA-256, category 3 to a key search against SHA-384, and category 5 to a key search against SHA-512. The challenge-seed lengths of the three sets (security strength parameter λ of 256/384/512 bits) line up with this. Note that a category measures estimated difficulty against both classical and quantum attacks, not a simple “bits of security” conversion; NIST’s estimates rest on cost models for the best known lattice attacks (sieving and lattice reduction), and the margin left in the parameters is precisely what differs between the sets.
The private key itemized: what is inside 2,560 bytes
Take the 44 set’s private key apart: 32 bytes of ρ (for rebuilding the matrix), 32 bytes of K (for deriving signing randomness), and 64 bytes of tr (the public-key digest) — the “seeds and digests” total only 128 bytes. The bulk is three secret vectors: s1 and s2 have coefficients in {−2, …, 2}, packed at 3 bits each, and with l + k = 8 polynomials they take 8 × 256 × 3 / 8 = 768 bytes; t0 has 4 polynomials at 13 bits per coefficient, taking 4 × 256 × 13 / 8 = 1,664 bytes. Total: 128 + 768 + 1,664 = 2,560, matching the standard exactly. This accounting reveals a design trade-off: t0 is nearly two-thirds of the private key, and it is essentially “the change kept on the private side so the public key can be small” — the public key ships only the high-order t1, while the low-order t0 stays in the private key for correcting signatures. If an implementation claims a private-key size that differs from the standard, first check whether it cut corners on t0 or changed the encoding: the private-key encoding is part of interoperability and cannot be trimmed.
The signature can be re-derived the same way: each coefficient of z is packed over the range set by γ1 = 2^17 (18 bits), so for the 44 set with l = 4, that is 4 × 256 × 18 / 8 = 2,304 bytes; add the 32 bytes of c̃ and the encoding of h (at most ω + k bytes) and you get exactly 2,420. Every step up in γ1 across the parameter table inflates the signature accordingly — size and security parameters are locked in a rigid relationship, with no free lunch of “more security at no size cost.”
Choosing: default to 65, move up or down for special cases
In engineering terms, three rules suffice:
- Default to ML-DSA-65. Category 3 offers ample margin for most applications, at roughly a quarter to a third less size than the 87 set; TLS, code signing, and document signing all fit. It is also worth noting that the speed gap between the sets is far smaller than the size gap — choosing one set lower saves bandwidth and storage, not compute, which is what makes “when in doubt, pick 65” sound advice.
- Step down to 44 where bandwidth and storage are extremely constrained and the signed objects are short-lived (session-level authentication, medium-term credentials for IoT devices); category 2 remains within NIST’s accepted security line.
- Step up to 87 for root CA keys, firmware signing roots, and long-term trust anchors that must hold for twenty or thirty years. Signing is infrequent and verifiers are many, so the size cost amortizes away and the security margin is the binding constraint.
One official anchor point is worth knowing: the NSA’s CNSA 2.0 suite designates ML-DSA-87 as the signature algorithm for national security systems — an official precedent for “high-assurance scenarios go to the top set.” Commercial systems need not copy it (the NSA’s threat model and data-protection horizons far exceed a typical enterprise’s), but it marks the industry’s consensus position that “category 5 is what long-term root trust calls for.” Conversely, if an ordinary web service claims it “must use 87 to be safe,” that is most likely over-engineering that never did the size math.
Finally, a common accounting error to avoid: do not evaluate size impact by looking at a single signature. Every level of a certificate chain carries one public key plus one issuer signature, and a TLS handshake adds the CertificateVerify signature on top — with the 65 set’s 3.3 KB signatures, an extra 10 KB or so per full handshake is unremarkable. Whether the protocol has headroom for that magnitude (fragmentation, MTU, HSM buffers) must be checked at selection time — which is exactly what this column’s certificate article takes up next.
Tags: ML-DSAparameter setsFIPS 204selection