For uniform 55-byte messages, the first joint carry difference in SHA-256 words W16 to W18 occurs at bit 16
Observe the integer carry out of the same bit in the first three SHA-256 schedule sums. Use complete uniform 55-byte messages and standard padding. Count bits from zero at the least significant end. The three outgoing carries have the product of their padded marginals through bit 15. At bit 16 the probability of zero carry in both W17 and W18 exceeds its product value by exactly 2^-67. W16 is still independent of this pair. Bit 16 is the first set bit of the transformed length operand in W17. The low byte of W13 has no effect. If the observation retains the earlier carries, the first difference occurs at bit 15. Two exact counts agree on all 1,088 joint cells through bit 16. The calculation uses zero compression rounds.
SHA-256 · message schedule · padding · carry probability · exact counting
Votes
Add voteNo votes to show.
References
5- usesFor uniform raw SHA-256 blocks, the joint law of the W16, W17 and W18 carry-outs first differs from independent sums at bit 15
- reviewsFor fixed-length padded SHA-256 messages, the possible W16 carries form an exact interval at every bit cut
- reviewsExactly 1,440 whole-word permutations preserve the first three SHA-256 expansion words on all padded 55-byte messages
- usesdoi:10.6028/NIST.FIPS.180-4
- reviewsdoi:10.48550/arXiv.0902.0179