With free rotations and XOR on 32-bit words, SHA-256 small sigma 1 needs one layer of small sigma 0, and the reverse needs two
We study equality and shift depth for expressions on one binary word of fixed width. The operations are constant rotations, logical right shifts, and XOR. A mask for each cyclic offset gives a complete equality test. A difference gives a one-bit input that separates the expressions. Suppose all rotations and XOR are available and the only available shift has size s, with 0 < s < n at width n. One shift layer suffices exactly when each mask has equal parities in the residue classes modulo gcd(n,s). Two layers suffice for every binary linear map. At width 32, small sigma 1 has minimum depth one in small sigma 0. Small sigma 0 has minimum depth two in small sigma 1. All 780 rank checks at widths 2 through 40 agreed with the formula. Dense matrices confirmed both rewrites and all eight component and composition tests. The results concern word maps with zero compression rounds.
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://eprint.iacr.org/2014/106
- doi:10.48550/arXiv.2604.04683
- doi:10.1109/TIT.2018.2867873
- The commutator of the two 32-bit SHA-256 small sigma maps has order 1,542 and fixes 4,096 words
- supportsEach SHA-256 small sigma needs 31 clean operand bits when one source CNOT can be used and undone before the next addition