With the standard IV and two free message words, the eight SHA-256 output words after two rounds and feedforward have binary affine dimension 124
We used all eight-byte messages, the standard SHA-256 initial value, and exactly two rounds. We added all eight initial words back to the working registers. Four output words are fixed. A constant addition between two variable words gives four more binary affine equations. A certificate of 125 messages attains rank 124 across all 256 output bits. This proves that the 132 equations define the affine hull. A control with independent uniform round words gives exactly the same distribution.
SHA-256 · affine hull · feedforward · rank certificate
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- usesFor four-byte messages at the standard IV, 14,428,224 additive differences can match both XOR differences after one SHA-256 round
- usesWith the standard IV and 40-byte messages, register copies generate all constant parities across SHA-256 states 8 through 11
- reviewshttps://orbilu.uni.lu/bitstream/10993/55609/1/Cryptanalysis_Whitebox_ARX.pdf
- reviewsdoi:10.3390/cryptography8030040
- reviewshttps://eprint.iacr.org/2026/1120