ML-DSA-44
NIST's primary post-quantum signature scheme, standardised in FIPS 204
About ML-DSA-44
ML-DSA-44 is one of 3 ML-DSA variants in the NextSSL registry, a digital signature scheme. It uses a 1,312-byte public key, a 32-byte secret key, a 2,420-byte signature, a 32-byte seed and a 0–255-byte context string. It takes the parameter deterministic (default 0). Its registry entry cites FIPS 204. It is also known as mldsa44. It is designed to resist attacks by large quantum computers. NextSSL lists it in the safe tier and exposes it through the safe API.
Overview
ML-DSA is the Module-Lattice-Based Digital Signature Algorithm standardised by NIST in FIPS 204. It is the general-purpose default for post-quantum signatures, with fast signing and verification and signatures of a few kilobytes.
ML-DSA is derived from CRYSTALS-Dilithium, selected by NIST at the end of the third round of its post-quantum process. It follows the Fiat-Shamir with aborts paradigm: the signer commits to a masked random vector, derives a challenge by hashing the commitment with the message, and responds with a combination of the secret and the mask. If the response would leak information about the secret, it is discarded and the process restarts.
Security rests on Module-LWE, which protects the secret key, and Module-SIS, which prevents forgeries. All sampling is uniform or from small bounded ranges, so unlike Falcon the scheme needs no Gaussian sampling or floating-point arithmetic, which makes constant-time implementation comparatively straightforward. FIPS 204 supports hedged signing (fresh randomness mixed with a secret seed) by default, a deterministic option, context strings, and a pre-hash mode (HashML-DSA).
Three parameter sets are defined: ML-DSA-44 (category 2), ML-DSA-65 (category 3) and ML-DSA-87 (category 5). Public keys are 1312 to 2592 bytes and signatures 2420 to 4627 bytes. Private keys are 2560 to 4896 bytes. ML-DSA-65 is the most commonly recommended parameter set, and composite and hybrid certificates combining ML-DSA with ECDSA or EdDSA are being standardised at the IETF.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationCRYSTALS-Dilithium submitted to NIST PQC
26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationDilithium selected by NIST
Draft FIPS 204 released
ML-DSA published as FIPS 204
HQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen expands a public matrix A from a seed and samples short secrets s1, s2; the public key is the high bits of t = A*s1 + s2.
- Sign samples a masking vector y, commits to the high bits of A*y and hashes them with the message to get a sparse challenge c.
- The response z = y + c*s1 is checked against norm bounds and rejected and resampled if it could leak the secret.
- Verify recomputes the commitment from z, c and the public key, using hints, and checks the challenge hash.
Security notes
ML-DSA is considered sound and is NIST's recommended general-purpose post-quantum signature. Implementations should protect against side channels and fault attacks on the rejection loop and secret-dependent operations; hedged signing reduces exposure to fault attacks compared with purely deterministic signing.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,312 | Public key |
| sk | 32 | Secret key |
| sig | 2,420 | Signature |
| seed | 32 | Seed |
| ctx | 0 – 255 | Context string |
Parameters
| Name | Type | Range | Default | Required |
|---|---|---|---|---|
| deterministic | u32 | 0 – 1 | 0 | no |
Parameters are passed as a string, for example nextssl_mac("hmac", "hash=sha512", …). Omitted parameters take their declared default.
Use it
from nextssl_demo import NextSSL
ns = NextSSL() # safe API: safe and standard tiers
pk, sk = ns.call("sign_keygen", "ml-dsa-44", None, outs=2)
sig = ns.call("sign_detached", "ml-dsa-44", None, sk, b"message", b"")[0]
ok = ns.check("verify_detached", "ml-dsa-44", None, pk, b"message", b"", sig)
nextssl_sign_keygen("ml-dsa-44", NULL, pk, sk);
nextssl_sign_detached("ml-dsa-44", NULL, sk, msg, ctx, sig);
nextssl_verify_detached("ml-dsa-44", NULL, pk, msg, ctx, sig);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_sign_in(reg::all(), Policy::Safe, "ml-dsa-44", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let sig = alg.sign(&sk, b"message")?;
let ok = alg.verify(&pk, b"message", &sig)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other ML-DSA variants
2More digital signatures
All 503Frequently asked questions
What is ML-DSA-44?
ML-DSA-44 is a signature in the ML-DSA family. ML-DSA is the Module-Lattice-Based Digital Signature Algorithm standardised by NIST in FIPS 204. It is also known as mldsa44.
What are the ML-DSA-44 sizes?
In NextSSL, ML-DSA-44 uses: public key 1,312 bytes, signature 2,420 bytes.
Is ML-DSA-44 post-quantum?
Yes. ML-DSA-44 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is safe.
Who designed ML-DSA-44 and when?
ML-DSA-44 belongs to the ML-DSA family, first published in 2024 by Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, Peter Schwabe, Gregor Seiler, Damien Stehlé (CRYSTALS-Dilithium team). Its origin: NIST PQC standard (FIPS 204).
Which standards define ML-DSA-44?
ML-DSA-44 is referenced by FIPS 204. It is specified in a FIPS standard.
Is ML-DSA-44 safe to use?
ML-DSA-44 is in the safe tier. Modern and recommended. The default choice for new designs. It can be called from the safe API.
What other ML-DSA variants are there?
NextSSL also registers ml-dsa-65, ml-dsa-87 in the ML-DSA family.
Related families
NIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
CRYSTALS-Dilithium (Round 3)The Round 3 submission of Dilithium, predecessor of the ML-DSA standard
FN-DSAFFT over NTRU-Lattice-Based Digital Signature Algorithm, the draft FIPS 206 form of Falcon
SLH-DSAStateless hash-based signatures standardised in FIPS 205, relying only on hash functions
SHAKEThe extendable-output functions of FIPS 202, producing any length of output from Keccak