One preliminary source CNOT leaves the minimum scratch at five and two bits for direct pivots in SHA-256 W16

0 citing publications

We checked a serial reversible circuit for the 32-bit SHA-256 schedule word W16 on unrestricted blocks. Each small sigma may start with one CNOT between source wires. A direct pivot then uses an input wire to hold an output. For the identity and all 992 ordered CNOTs, no four-bit spill set works for sigma0 and no one-bit set works for sigma1. A second implementation reproduces all seed counts. Explicit circuits attain five and two bits. With the carry, six clean bits suffice at peak. Requiring the preliminary gate for each operand raises the minimum formation and restoration cost from 244 to 248 CNOTs for the two operands together. The bound applies to direct pivots with simultaneous operand pins.

SHA-256 · message schedule · reversible circuit · CNOT · clean scratch · pivot

No votes to show.

References

6
  1. usessci:sha256:99bcb60e247007fc1e66d951f23b147e75500e0259d826fd93ca2cad86ec77e3 not known to sciscape
  2. usesEach SHA-256 small sigma needs 31 clean operand bits when one source CNOT can be used and undone before the next addition
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. usesdoi:10.1007/s11128-018-2107-3
  5. usesdoi:10.1049/ise2.12074
  6. useshttps://arxiv.org/abs/quant-ph/0410184

Cited by

0 publications

No incoming citations on sciscape.