Drawing the ML-DSA matrix inside the shared random-XOF game #
FIPS 204, Algorithm 6 derives the public seed through SHAKE256 and reads its matrix under SHAKE128. Conditional on that seed, the matrix addresses are distinct entries of the independent SHAKE128 table. Resampling the 894-byte prefixes there preserves the distribution of the entire pair of raw oracles, including every longer and overlapping read.
Resampling the SHAKE128 matrix rows at the public FIPS seed preserves every continuation of the joint XOFs and original 32-byte key seed, including later adaptive queries.
Sampling the independent FIPS matrix prefixes inside an already sampled pair of random XOFs preserves their entire joint law with the honest public matrix and key pair. The table covers every 34-byte matrix input and its first 894 output bytes.
The mass of a successful Algorithm 6 setup at any particular matrix is at most its uniform mass. The comparison averages over the seed and raw XOFs and retains setup failure.
Equality of the strong-forgery game sampled before the seed with the averaged matrix-prefix game. The equality holds for the full adaptive quantum experiment.
The strong-forgery probability in the finite random-XOF experiment is bounded by the fresh-digest and raw SHAKE256 collision events and by the success of the extracted vector on an independently supplied uniform Hermite MSIS matrix. The solver draws its own pair of tables and runs the quantum forger once. All three terms retain the original signing access.