Adaptive quantum queries and classical FIPS 204 signing #
The adversary receives the generated public bytes and controls one persistent quantum register. Its elementary gates, coherent XOR queries, single-wire measurements and classical requests for hedged signatures may depend on previous replies. The two raw XOFs used by the device are also used by FIPS 204, Algorithms 2, 3, 6, 7 and 8. This is the measured-signing access convention of Dilithium v3.1, §6.2, equation (6).
An adaptive program runs elementary quantum instructions and asks for classical signatures. The argument and XOR output registers fit alongside the stated number of work qubits. The only initial classical input is the published key.
- addressBits : ℕ
Longest raw bit string addressable by a coherent query.
- responseBytes : ℕ
Number of output bytes XORed by a coherent query.
- workQubits : ℕ
Additional zero-initialized working qubits.
- program : List Byte → ProbOracleComp (OracleSpec.sum (fun (x : Quantum.DeviceRequest (self.addressBits + 2 + 8 * self.responseBytes + self.workQubits) Empty) => List Bool) fun (x : SigningQuery) => Option (List Byte)) Forgery
Direct gates, coherent queries, measurements, classical signing calls and private coins.
Qubits occupied by the address, response and work registers of the forger.
State of the retained quantum registers between instructions and signing calls.
An adaptive program on the forger's quantum registers and classical signing service.
The all-zero registers at the start of a native forgery experiment.
The forger receives its classical replies and its conditional post-measurement state. The final output and signing log are retained, and the residual device is discarded only after the program terminates.
Every response in the log of a quantum execution passes the FIPS verifier, including after coherent queries, measurements and subsequent adaptive signing requests.
Strong forgery against seeded FIPS at a fixed pair of raw XOFs. The seed and all signing
hedges are random, and a failed setup loses. The parameter H may be the concrete FIPS sponges.
The finite random-XOF experiment samples both tables once before the key seed, keeping them fixed through the coherent execution and final FIPS verification. The sampled widths can exceed the forger's register widths to cover the honest algorithm inputs and outputs.
Program the SHAKE128 rows of the public matrix before running any of the forger's quantum operations. The solver can run this experiment on an external coefficient matrix.
The comparison experiment samples the actual raw matrix prefixes at the derived seed and recovers the optional matrix by reading the same XOF on the published key.
Supplying a uniform matrix to the program preserves the joint distribution of the forger's final output, complete successful signing history, raw XOFs, public key and matrix. Arbitrary interleaving of coherent queries, measurements and signing requests is permitted.
The semantic output law of the quantum Hermite MSIS solver. It runs the adversary once on its supplied matrix, then extracts the vector using only the final classical transcript.
The full strong-forgery probability in the quantum matrix-prefix hybrid is bounded by fresh-digest forgeries, computed SHAKE256 collisions and the explicit solver's success on a uniform Hermite right block. Signing is classical and the two XOFs are coherently accessible through the persistent device. This inequality concerns success probabilities at the given register sizes. The fresh-digest bound and gate and query costs remain open.