SHA-256 word W16 requires exactly seven binary AND layers for unrestricted blocks with free XOR
The first expanded SHA-256 schedule word has a highest bit of algebraic degree 90 on unrestricted input blocks. A circuit with six layers of two-input AND gates can reach degree at most 64. We construct a circuit with two carry-save stages that computes the full word in seven AND layers with 246 AND gates. A second circuit groups products by the last selected bit and the total integer weight. It computes all 32 bits together and reaches the degree lower bound for each bit. Both circuits allow free XOR and unrestricted reuse of wires. We supply both gate lists and check all polynomial coefficients for four independent words at widths one through four. The result concerns one schedule step and uses zero compression rounds.
SHA-256 · message schedule · multiplicative depth · algebraic degree · carry-save addition · algebraic branching program
Votes
Add voteNo votes to show.
References
6Cited by
7 publications- For SHA-256 W16 on raw blocks, the word proof used fewer bytes and the Boolean checks used less RAM reviews
- On uniform SHA-256 blocks, a balanced W16 sum with two columns of carry history has lower error tails than a serial sum reviews
- SHA-256 schedule word W21 needs exactly eight binary AND layers on padded 55-byte messages with free XOR uses
- On unrestricted SHA-256 blocks, only two independent rail parities survive a change of W16 carry-save tree reviews
- In four independent W16 operands, bit 31 has mean term degree near 59 and maximum degree 90 uses
- Hiding the carry-save words raises the defining degree of SHA-256 W16 from two to four on unrestricted blocks reviews
- Separate binary formulas for the 32 bits of SHA-256 W16 need at least 2,770 leaves on raw blocks reviews