← Back to section · Education & Knowledge Base
ML-DSA Entry: The Module-Lattice Digital Signature of FIPS 204
ML-DSA is the post-quantum digital signature algorithm standardized by NIST in FIPS 204, derived from CRYSTALS-Dilithium and based on module-lattice problems with the Fiat-Shamir with aborts framework. This entry covers its definition, origins, mechanism, parameter sets, and common points of confusion.
ML-DSA (Module-Lattice-Based Digital Signature Algorithm) is the signature algorithm defined by FIPS 204, published by the U.S. National Institute of Standards and Technology (NIST) in August 2024. Within the post-quantum cryptography standard suite it carries the “signature” responsibility: proving message origin, guaranteeing integrity, and supporting non-repudiation. As the counterpart to ML-KEM, which handles key establishment, ML-DSA is the post-quantum signature algorithm expected to see the widest use.
Definition and Role: Where Signatures Sit in the Post-Quantum System
Digital signatures and key encapsulation solve two different problems: the former concerns “this message really came from the claimed sender and was not tampered with,” the latter “only the communicating parties can read the content.” Software update signing, certificates, code signing, and document signing all depend on signature algorithms. The incumbent workhorses, ECDSA and EdDSA, rest on the discrete logarithm problem and will be broken by Shor’s algorithm, so they must be migrated. Signature migration is under less time pressure than key exchange — historical signatures cannot be “harvested now and forged later” — but certificate infrastructures and firmware signing chains are long and slow to change, so planning must start early. ML-DSA is the standard answer prepared for that chain.
Origins: From Dilithium to FIPS 204
ML-DSA’s predecessor is CRYSTALS-Dilithium, submitted to the NIST post-quantum standardization process by an international research team as part of the same design program as Kyber. Dilithium performed evenly across three rounds of review: clear structure, implementation-friendly, and strong performance across the board. In July 2022 NIST announced it as one of the first signature algorithms selected for standardization; in August 2024 FIPS 204 was published and the algorithm renamed ML-DSA. The standardized version differs slightly from the competition version in a few details (such as internal handling in key derivation), and implementations should follow the FIPS 204 text.
Mechanism: Fiat-Shamir and Rejection Sampling
ML-DSA relies on two lattice problems at once: Module-LWE (learning with errors over modules) protects the key from recovery, and Module-SIS (short integer solution over modules) guarantees signatures cannot be forged. Its construction uses the “Fiat-Shamir with aborts” framework: the signer generates a commitment from a random mask, computes a challenge, and produces a response; if the response’s distribution might leak information about the private key, the attempt is discarded and signing restarts — this is rejection sampling. The mechanism makes the signature distribution independent of the private key, statistically cutting off the leakage channel. Signing can be done in a deterministic mode or in a “hedged” mode with additional randomness; the latter mitigates random number generator failures and some side-channel risks, and is an important implementation option.
Parameter Sets and Sizes
FIPS 204 defines three parameter sets: ML-DSA-44, ML-DSA-65, and ML-DSA-87, corresponding to security categories 2, 3, and 5. Public keys are about 1312, 1952, and 2592 bytes, and signatures about 2420, 3309, and 4627 bytes. By comparison, an ECDSA signature is only about 64 bytes. Size is ML-DSA’s most tangible deployment cost: size-sensitive environments such as certificate chains, DNS records, smart cards, and embedded firmware need dedicated assessment. NIST positions 65 as the general recommendation, 44 for performance- and space-sensitive settings, and 87 for the highest security requirements.
Current Status: Entering the Standards Ecosystem and Validation Regime
ML-DSA has entered the standardization track of major cryptographic libraries and protocols: under IETF coordination, the certificate and PKI ecosystem is progressively defining its encodings and usage, and national cryptographic authorities are adding it to their recommendation catalogues. Signature migration is typically bound to certificate lifecycles — a single certificate renewal cycle can take years — so the industry consensus is that introducing ML-DSA at the next scheduled certificate renewal is far steadier than scrambling to replace it once the quantum threat is imminent. In parallel, NIST is advancing FN-DSA (the FIPS 206 draft), based on Falcon, as a complementary option for scenarios needing smaller signatures.
Deployment Considerations: Certificates, Protocols, and Signing Scenarios
ML-DSA verifies quickly and signs at a good speed as well; nearly all of its deployment difficulty comes from size. Replacing the public keys and signatures in a certificate chain from elliptic-curve versions with ML-DSA-65 inflates the whole chain by several kilobytes, with knock-on effects on TLS handshakes, OCSP responses, and Certificate Transparency logs — fragmentation, caching, and bandwidth all feel it. PKI migration therefore usually proceeds in two steps: first introduce it in low-frequency, long-lived scenarios (firmware signing, document signing, root and intermediate certificates), then extend to high-frequency server certificates as protocol adaptation progresses. FIPS 204 also defines a pre-hash variant, HashML-DSA, which hashes the message before signing — suited to very large messages or compute-constrained signing devices — but it is not interchangeable with plain ML-DSA, and protocols must state clearly which variant is in use. The source of signing randomness also deserves attention: purely deterministic signing is more fragile under fault injection, so the standard recommends the hedged mode with additional randomness as the default, which is also the common default in implementation libraries.
Division of Labor with FN-DSA
ML-DSA is not the whole of NIST’s signature layout. FN-DSA (the FIPS 206 draft), derived from Falcon, is also lattice-based but follows the NTRU-lattice and fast Fourier sampling route; its signatures are only about six hundred to one thousand bytes — a fraction of ML-DSA’s — at the cost of floating-point arithmetic in signing, with markedly higher implementation difficulty and side-channel risk. The division of labor is therefore clear: ML-DSA is the general-purpose workhorse for the vast majority of software implementations and server scenarios; FN-DSA is reserved for settings where signature size is at a premium, such as depth-constrained certificate chains and high-frequency small-signature scenarios, and is best carried by rigorously reviewed implementations. Choosing between them is not a matter of which is “more secure,” but of whether the size savings justify the implementation complexity. This “one primary, one auxiliary” pattern is also the key to understanding why NIST is advancing two lattice signature standards at once.
Points of Confusion
First, ML-DSA and ML-KEM are both lattice-based and share much mathematical machinery, but they solve entirely different problems and cannot substitute for each other. Second, a large signature does not mean weak security: size is a structural feature of lattice signatures, while security is determined by parameters and the underlying problem. Third, Dilithium and ML-DSA are not byte-for-byte the same algorithm; mixing competition-version implementations with standard-version parameters yields unverifiable signatures. Fourth, ML-DSA’s security does not depend on assumptions beyond the collision resistance of hash functions, but randomness quality and side-channel protection still depend on the implementation — standards compliance does not automatically make an implementation safe.
In the encyclopedia’s entry network, ML-DSA connects upward to lattice cryptography and the Fiat-Shamir framework, and downward to certificate migration, firmware signing, and signature replacement timelines across industries — the core entry for the signature direction.
Tags: ML-DSAFIPS 204Digital SignaturesLattice Cryptography