After the 7-bit rotation check, two bits of one SHA-256 shift identify the MSB-to-LSB word map

1 citing publication

Consider a fixed permutation from least-significant-bit numbering to most-significant-bit numbering in a 32-bit word. Agreement on right rotation by seven for every input leaves 32 possible maps. On the all-ones word, slots 2 and 3 of the logical right shift by three select the reversal. Any one slot of this probe leaves at least three maps. A compositional proof and an executable symbolic check give equal words at each of the 64 SHA-256 rounds for every block and incoming state. Both models match all 192 post-round states in two NIST examples. The proof covers logical shifts, carry direction, constants, padding and digest serialization.

SHA-256 · bit numbering · word representation · functional equivalence · logical right shift

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  3. reviewsdoi:10.1145/2701415
  4. reviewshttps://hacl-star.github.io/HaclHash.html
  5. reviewsOnly the identity bit permutation preserves the first SHA-256 expansion equation with four named input words

Cited by

1 publication
  1. One byte of overlap reduces the maximum saved data for a rolling SHA-256 word parser from three bytes to two reviews