Simulation of one ML-DSA signing attempt with a fresh challenge #
In [NIST24a], Algorithm 7, the mask coefficients are uniform on (-γ₁,γ₁] in
the ideal-mask model, and the response check is strict. This gives
(2(γ₁-β)-1)^(ℓn) admissible responses out of (2γ₁)^(ℓn) masks.
For every fixed sparse challenge independent of the mask, the simulator receives the
full public vector t = A s₁ + s₂. It draws a fresh uniform response in the inner box
after an independent gate with that exact ratio. It computes the remaining rejection
checks and the hint from A,t,z,c. The resulting law agrees with the signing attempt on
its complete accepted algebraic transcript and on aborts. The transcript includes the
high-bits commitment used for the hash query. This is the fresh-challenge distribution
step of the signing simulation argument in [BDK+21], Appendix B.
The public data of a successful signing attempt at a fresh challenge. The commitment is the coefficient vector encoded for the hash input, and the compressed signature contains the response, hint and polynomial challenge.
The high-order commitment hashed with the message representative.
- signature : CompressedSignature P
The accepted response, hint, and sparse challenge.
The signing attempt with an ideal, coefficientwise uniform mask and the given fresh
challenge. On success it emits the high bits of the original commitment A y and the
signature returned by Algorithm 7's two rejection stages.
Simulate the accepted transcript and abort mass from (A,t). Keep the response
with probability ((2(γ₁-β)-1)/(2γ₁))^(ℓ n), sample it independently and uniformly
inside the strict response box, then perform the public low-bits, product and hint checks.
Every accepted public simulation has the requested challenge, a short response, an encodable hint, and the very commitment that the verifier recovers. This holds for every full public key, including a uniformly sampled vector in the Module-LWE hybrid.
For every fresh sparse challenge, the complete accepted transcript and the probability of an abort agree with the public simulator. A distribution of challenges independent of the mask can bind this equality pointwise, retaining the challenge and any commitment-digest bytes.