Background reading Dilithium / ML-DSA

Compare the transcript

In an additive Schnorr notation, the signer commits with R = rG, hashes the commitment and message to obtain c, and responds with z = r + cs modulo the group order. Verification checks zG = R + cP, where P = sG.

ML-DSA has a similar transcript shape over a polynomial module. The signer samples a mask y, computes w = Ay, hashes the message representative and high bits of w, and forms a response z = y + cs₁. The verifier reconstructs the relevant high bits from public data with the help of a hint. The standardized signing loop also checks low-bit and hint bounds.

Count the toy outcomes

Fix c = 1, choose y uniformly from integers −4 through 4, and let the secret s be either −1 or 1. Accept z = y + cs only if |z| ≤ 3. With s = 1, the raw range is −3 through 5. With s = −1, it is −5 through 3. Both contain the entire accepted range −3 through 3.

For s = 1, a first draw y = 4 gives z = 5 and is rejected. A fresh draw y = −2 gives z = −1 and is accepted. In both secret cases the acceptance rate is 7/9. Conditioned on acceptance, all seven outputs have probability 1/7 in this model.

Connect the model to the standard

ML-DSA bounds the response in the infinity norm, so every coefficient must fit. The challenge is derived from a commitment and the message, and the real security argument accounts for the full transcript. To check the scalar model, remove the bound and ask which secret can produce output 5. Only s = 1 can. FIPS 204, ML-DSA signing and verification algorithms.