ML-DSA vs Falcon vs SLH-DSA: Choosing a Post-Quantum Signature Scheme
Compare NIST FIPS 204, FIPS 205, and FN-DSA (Falcon) across hardness assumptions, byte budgets, floating-point traps, and protocol fit.
Prerequisite: Lattice signatures
For key encapsulation, NIST's guidance has one clear primary choice: ML-KEM (FIPS 203). For digital signatures, NIST standardized three distinct stateless families — ML-DSA (FIPS 204), SLH-DSA (FIPS 205), and FN-DSA / Falcon (draft FIPS 206) — alongside stateful hash-based schemes in SP 800-208. Because no post-quantum signature replicates Ed25519's simultaneous 32-byte keys, 64-byte signatures, microsecond signing, and effortless aggregation, picking the right scheme requires matching its mathematical structure to your system's tightest constraint.
Side-by-side specification and cost matrix
| Scheme | Hardness assumption | Public key | Signature | Combined | Signing | Verify | Implementation profile |
|---|---|---|---|---|---|---|---|
| ML-DSA-44 (FIPS 204) | Module-LWE + Module-SIS | 1,312 B | 2,420 B | 3,732 B | Fast (~0.3 ms) | Fast (~0.06 ms) | Integer-only, straightforward |
| ML-DSA-65 (FIPS 204) | Module-LWE + Module-SIS | 1,952 B | 3,309 B | 5,261 B | Fast (~0.5 ms) | Fast (~0.09 ms) | Integer-only, NIST Level 3 |
| FN-DSA / Falcon-512 (draft FIPS 206) | NTRU + SIS (GPV trapdoor) | 897 B | 666 B | 1,563 B | Medium, FPU/emulated | Very fast (~0.04 ms) | Hard: constant-time Gaussian tree |
| SLH-DSA-SHA2-128s (FIPS 205) | Hash functions only (SHA-2/SHAKE) | 32 B | 7,856 B | 7,888 B | Slow (~78 ms) | Fast (~0.08 ms) | Stateless hashes, tiny keys |
| SLH-DSA-SHA2-128f (FIPS 205) | Hash functions only (SHA-2/SHAKE) | 32 B | 17,088 B | 17,120 B | Moderate (~3.8 ms) | Moderate (~0.24 ms) | Stateless hashes, larger sig |
| XMSS / LMS (SP 800-208) | Hash functions (stateful) | 32–64 B | ~2.5 kB | ~2.6 kB | Fast | Fast | Dangerous if state ever rolls back |
Why ML-DSA and Falcon behave so differently
Both ML-DSA and Falcon are lattice signatures, yet their signing pipelines could hardly be more different:
- ML-DSA uses Fiat–Shamir with aborts (worked example): The signer needs no geometric trapdoor basis — only short secret vectors satisfying . Signing uses uniform integer masks modulo and rejects out-of-bounds candidates (~4–5 loops on average). Because must drown out across 1,024–1,792 coordinates, signatures pay a ~2.4–4.6 kB size penalty, in exchange for straightforward 32-bit integer code on every CPU and microcontroller.
- Falcon uses GPV Hash-and-Sign over NTRU trapdoors: The public key is a single ring element (), while the secret key stores a short polynomial trapdoor basis with . To sign a message hash , the signer samples a short lattice vector near target using Fast Fourier Orthogonalization and discrete Gaussian sampling at width . Because Gaussian sampling leaks zero basis geometry without large uniform padding, Falcon-512 achieves a 666-byte signature!
Implementation and side-channel hazards to audit
- ML-DSA: Hedged signing & fault resistance
- Always prefer FIPS 204's default hedged signing mode (fresh 32-byte
rndmixed with secret seed and message) over purely deterministic mode on hardware exposed to voltage/clock glitching or Rowhammer: a single faulted deterministic signature paired with a valid signature on the same message can expose . - Falcon: Constant-time IEEE-754 & Karney/CDT sampling
- Falcon's FFT tree uses 53-bit IEEE-754 double-precision arithmetic. Variable-latency FPU instructions (subnormals, hardware division) or non-constant-time Gaussian table lookups leak the NTRU secret basis . On platforms without constant-time FPU guarantees, use integer-emulated IEEE-754 (as in Thomas Pornin's reference C implementation).
- SLH-DSA vs XMSS/LMS: Stateless vs stateful
- Stateful hash signatures (XMSS, LMS) are fast and compact, but signing twice with the same leaf index catastrophically compromises the key (VM snapshots, backups, HA failover). Unless keys live exclusively inside a non-exportable HSM monotonic counter, choose stateless SLH-DSA.
Decision checklist by workload
- API tokens, mTLS, SSH, and application signing: Choose ML-DSA-44 or ML-DSA-65 (CNSA 2.0 mandates ML-DSA-87 for national security systems). A 2.4–3.3 kB signature easily fits HTTP headers and TCP segments, and every major library (OpenSSL 3.5+, BoringSSL, AWS-LC, Rust
ml-dsa) ships constant-time integer implementations. - UDP/QUIC initial packets, IoT frames, and L1 blockchain transactions: Evaluate FN-DSA / Falcon-512 when 2,420 bytes crosses a hard fragmentation or consensus wall (such as Solana's 1,232-byte packet limit; see measured blockchain budgets). Note that Falcon verification is pure integer NTT arithmetic — so constrained verifiers stay simple even when signers run on hardened hosts!
- Root CAs, OS/firmware updates, and cold governance/recovery keys: Choose SLH-DSA (e.g.,
SLH-DSA-SHA2-128sor192s). A 78 ms signing time matters zero when signing once a day or once a year, 32-byte public keys fit neatly into boot ROM fuses, and security rests solely on SHA-256 or SHAKE256 — providing complete assumption diversity from structured lattices.