A 256-bit SHA-256 target test uses 128 or 233 scratch qubits with serial or fully overlapped tree levels

1 citing publication

We studied a phase test for all 64 rounds of SHA-256 on 32-byte messages. The test keeps the root of one AND tree while it builds a second tree. At 256 comparison bits, serial cleanup uses 128 scratch qubits and 41 comparison layers before target masks. Maximum overlap uses 233 scratch qubits and 29 layers. We prove the minimum peak for each duration when each tree level stays intact. If all 2,402 hash wires in the source estimate stay reserved, the two peak totals are 2,530 and 2,635 logical qubits. We checked the formula by enumeration and checked the comparison gates on basis inputs. Word-aligned targets allow the circuit to absorb the fixed IV additions into the target. The result gives a cost per verification under the stated allocation rules.

SHA-256 · quantum circuit · reversible computation · register allocation · preimage verification

No votes to show.

References

8
  1. doi:10.6028/NIST.FIPS.180-4
  2. https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
  3. https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  4. doi:10.48550/arXiv.1603.09383
  5. doi:10.48550/arXiv.quant-ph/9605034
  6. https://ksp.etri.re.kr/ksp/article/file/65343.pdf
  7. usesFour reserved checkpoints require 36 block layers in a two-worker phase oracle for 12-block SHA-256
  8. reviewssci:sha256:99bcb60e247007fc1e66d951f23b147e75500e0259d826fd93ca2cad86ec77e3 not known to sciscape

Cited by

1 publication
  1. A phase test for 266-bit SHA-256 messages fits the 853-qubit SHA-C3 hash circuit uses