Erasing rejected commitment writes in one ML-DSA signing request #
Both experiments refresh the mask and commitment digest on each attempt. They use the minimum signing cap of 814 in [NIST24a], Appendix C, Table 3. The persistent experiment installs the digest on the shared SHAKE256 stream, reads it through the native attempt, and retains the write on rejection. The other experiment runs the terminal-write handler used in the public-pair simulation. Algorithm 29 exhaustion terminates and publishes a digest in both.
For the expanded public matrix let δ be the largest mass of a rounded mask commitment.
Erasure changes the success probability of a subsequent fresh-digest forgery by at most
814 * (4 * qH * √δ + (815 * qS + 2) * δ). The program may branch on the signature or error
and retains its current quantum state. The comparison sums over masks before conditioning on a
rejection, and later overwrites of the same raw address supersede the earlier value in both games.
This is an original single-request comparison for the FIPS instantiation. The rejection issue in
the CMA reduction for Fiat–Shamir with aborts is analyzed in [BBD+23], §3.1, Figure 2.
Installing a replacement digest in the bit table gives precisely the same full SHAKE pair as writing its byte prefix on the corresponding raw stream, including beyond the digest.
Compare the two ways to handle rejected commitment writes in one hedged signing request
after masks and digests have been refreshed. With keepRejected = false the request is served
by the handler from freshMaskSigning. A successful reply is logged before the retained
quantum program resumes. Setup uses the encoded secret key and its expanded public matrix.
Restoring all rejected digest writes in one capped request costs at most 814 times the one-write observation bound for its remaining program. Both games decode the supplied keys and expand their matrix. A setup failure loses in both. The expectation includes every mask, digest, rejection and terminal error, and the remaining native forgery experiment.
For a forger whose first instruction requests the only signature, the terminal-write
experiment on encoded keys has exactly the fresh-digest win law of freshMaskSigning.
The continuation may branch on the reply, toss coins, measure and query SHAKE coherently.