Coupling the mask-seed reads of all signing requests to the shared SHAKE256 oracle #
FIPS 204, Algorithm 6 line 1 derives the 32-byte private signing seed from a 272-bit input. Algorithm 7 line 7 reads the first 64 bytes from a 1024-bit input containing that component, a 32-byte hedge and the message representative. For distinct hedges, all such inputs admit independent 64-byte values in the same raw oracle. The quantum device can query this table before a signing request determines its representative.
The 64-byte mask seed for each signing slot and each possible 512-bit representative.
Two joint raw XOF pairs. The background supplies the ordinary byte table. The shared pair uses the supplied mask seeds at the selected Algorithm 7 addresses.
- background : Xofs
The pair before installing the selected seed values.
Sample raw SHAKE tables, derive the private key component at the Algorithm 6 input, then install the supplied 64-byte values for every slot and every possible message representative. The experiment retains both the background oracle and the shared signing oracle.
Algorithm 7 reads exactly the assigned mask seed at each programmed address. The private key component in that address is derived on the shared XOF through Algorithm 6.
Exactly where the coherent oracles can differ: SHAKE128 agrees everywhere, and SHAKE256 agrees after byte 63 and at every other raw input. The key in the selected addresses can be read from the background oracle before installing the rows.
The original and the shared oracles produce identical FIPS key bytes, including on key-generation failures. The setup seed here can be chosen independently of the one used to locate the installed rows.
For each supplied seed table, the background oracle is still the original random XOF pair.
For each setup seed and supplied table of mask seeds, with a uniformly drawn injective
hedge tape, the chance that installing the mask seeds changes the message representative for
any formatted input under the generated key is at most n / 2^256. This covers messages
chosen after any number of signing replies or measurements.
The two mask-seed experiments for the signed-game comparison. Key generation uses the
background table, and the signer and scorer use the shared table. With deviceSeesRows = true
the device reads the shared table. With false it reads the background throughout its execution.
The same setup seed and tape determine the installed addresses and the actual signing run.