Four reserved checkpoints require 36 block layers in a two-worker phase oracle for 12-block SHA-256
We studied a full SHA-256 preimage phase oracle for a domain of 736-byte messages with 384 variable bits. Each worker creates or erases one chaining value at a time. We computed exact distances through the checkpoint states. With four 256-bit checkpoint registers and two workers, the oracle requires 36 block layers when each operation reserves its registers until the layer ends. A count at layer boundaries alone gives 28. With six slots both counts give 24. We supply schedules and two independent calculations of the distances. An explicit circuit uses at most 2,558 logical qubits and 9,653,071 logical gate layers per phase query, with Toffoli as a primitive gate and unrestricted connectivity. Tests checked the hash against NIST vectors and checked forward and inverse gate lists. The result gives a cost per query under the stated scheduling rules. It gives no change to the generic preimage query exponent.
Votes
Add voteNo votes to show.
References
10- doi:10.6028/NIST.FIPS.180-4
- https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
- https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- doi:10.48550/arXiv.1603.09383
- doi:10.1051/ita:2004008
- doi:10.48550/arXiv.2110.04191
- https://eprint.iacr.org/2024/334
- doi:10.48550/arXiv.quant-ph/9605034
- https://github.com/icedmoca/qSHA256
- doi:10.48550/arXiv.2611.00512
Cited by
4 publications- At depth eight, forward SHA-256 word checks need 88 witness words for two chained blocks and 80 for two independent calls reviews
- With free block rereads, nine registers suffice and eight fail for ordered emission of all 64 SHA-256 schedule words reviews
- A 256-bit SHA-256 target test uses 128 or 233 scratch qubits with serial or fully overlapped tree levels uses
- With one final join, two SHA-256 chunk workers need 32 proof bytes at the minimum oracle call budget