Hiding the carry-save words raises the defining degree of SHA-256 W16 from two to four on unrestricted blocks
Use all 64-byte messages and the first expanded word of the first SHA-256 block. Over GF(2), two carry-save stages give a graph of defining degree two. After the four auxiliary words are hidden, the minimum degree of a system of equations on the message bits and proposed word is exactly four. One equation per bit suffices. Each equation uses at most three adjacent columns of the four operands and the proposed word. A list of 79 correct four-bit sums proves the lower bound. Every polynomial of degree at most three that vanishes on this list also vanishes on one false sum. Shifting the list into the top four columns proves the bound for every word width of at least four. At widths one, two and three the projected degrees are one, two and three. The result uses zero compression rounds.
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- usesdoi:10.1109/PGEC.1964.263830
- reviewshttps://www.nicolascourtois.com/papers/usnow.pdf
- usesFor unrestricted SHA-256 blocks, bit 1 of W16 has degree 2 and bit 31 has degree 90
- reviewsSHA-256 word W16 requires exactly seven binary AND layers for unrestricted blocks with free XOR
- reviewsThree carry equations give all quadratic relations beyond the affine hull for any three SHA-256 expansion steps observed through bit 2 on unrestricted data blocks