On 32-bit words, byte reversal agrees with SHA-256 small sigma 0 through two steps on 16 inputs and through three steps only on zero
We reverse the four bytes of a 32-bit word and compare the outputs at each application of the FIPS SHA-256 small sigma maps. For small sigma 0, the spaces of inputs that agree through one, two, and three steps have dimensions 12, 4, and 0. We give a byte test for the first space and four generators for the second. Small sigma 1 agrees only on zero at the first step. Thus only zero passes every step for either map alone or for arbitrary choices of the two maps. Two matrix constructions check the ranks. The proof uses zero compression rounds.
SHA-256 · byte reversal · small sigma · binary matrix · invariant subspace
Votes
Add voteNo votes to show.
References
5- usesdoi:10.6028/NIST.FIPS.180-4
- reviewshttps://iacr.org/archive/fse2006/40470131/40470131.pdf
- reviewsFor uniform 512-bit blocks, byte-order agreement at SHA-256 word W16 has reduced denominator 2^128
- reviewsThe two 32-bit small sigma maps in SHA-256 share only the zero space and the full space over GF(2)
- reviewsOnly the identity bit permutation preserves the first SHA-256 expansion equation with four named input words