Algorithm 34 masks in the shared random-XOF signing game #
FIPS 204, Algorithms 7 and 34, read one SHAKE256 stream per 64-byte masking
seed and two-byte nonce. BitUnpack sends its initial bytes bijectively to the signed
coefficient box. The table is indexed by the literal 528-bit input and sampled before any
key generation or quantum interaction. Its other uses, including Algorithm 33 at a coincident
address and longer adversarial queries, see the same bytes. When those expansion bytes are
private, the full capped signing loop has the same signature-or-failure law as drawing a fresh
mask from signingMaskLaw on every attempt. Both executions hash each commitment with the
ambient XOF and stop on sparse-challenge exhaustion.
One signed integer from Algorithm 34's half-open interval (-γ₁, γ₁].
Instances For
At a 528-bit masking seed and nonce address, store all 256 signed coefficients.
The raw SHAKE256 word for one Algorithm 34 polynomial, including the two-byte nonce. Algorithm 33 accesses precisely the same stream if supplied the same word.
Sample the finite raw XOF pair with its Algorithm 34 prefixes set to the packed signed
polynomials in masks. Every other sampled byte, including each longer stream suffix,
is independent and uniform. The background supplies bytes beyond the finite table.
Installing independent uniform signed mask coefficients before key generation preserves the distribution of the entire finite pair of raw SHAKE oracles. Any subsequent signing and coherent quantum access, including repeated or overlapping reads, uses that same pair.
The raw SHAKE256 read at the seed and nonce returns the FIPS packing of the supplied coefficients. This is also the stream available to Algorithm 33 and coherent prefix queries.
At every oracle in the sampled pair, the actual Algorithm 34 decoder returns the specified signed coefficients at the actual raw input. This is simultaneous over all masking seeds and counters, including seeds chosen from that same oracle and all 814 signing attempts.
All 814 scheduled Algorithm 34 masks have the joint IID law used by the signing simulator.
Reading the 814 scheduled mask polynomials from a uniform two-byte-indexed XOF row table produces i.i.d. uniform masks in the signing mask distribution.
Drawing independent full-width bytes per nonce and drawing a fresh mask from the signing simulator's coefficient box give the same native 814-attempt signing result. The ambient commitment and challenge XOF is fixed throughout. Sparse expansion failure stops signing, whereas a rejected response advances to the next mask.
The quantum signing trial with the independent uniform lattice matrix and a pre-sampled table of signed masking coefficients has the joint law of the matrix-prefix hybrid averaged over the finite random XOFs. The equality retains both raw oracles, the public key, final forgery, whole signing log and setup failures, so it applies in particular to the fresh-digest event.
The original finite random-XOF strong-forgery game equals the execution with independent uniform matrix and signed-mask table. The sampled widths cover the literal mask addresses and the full 894-byte matrix prefixes, in addition to the shorter Algorithm 34 reads.
The SHAKE128 matrix installation leaves the entire SHAKE256 stream from the supplied mask table intact. Thus even a seed selected after earlier coherent queries or signing replies reads the very same coefficients at every counter of a surviving trial.