For three carry-save stages in SHA-256 round 0, the tree changes the raw rail sum on 3/8 of four-byte messages

1 citing publication

We study the five-word T1 sum before its last binary addition. We prove which position weights modulo m survive every local three-input compressor step. At width 32 the ordinary raw residue survives all steps exactly when m divides 2^32. Each discarded top carry has weight 2^32 in the correction. For all four-byte messages from the standard IV, the top three message bits determine the carry losses of all 40 whole-word schedules. On exactly three of the eight prefixes, two schedules give different raw sums. A column check and a full-width example verify the calculation. The result concerns an internal sum in one round.

SHA-256 · carry-save addition · modular checks · round circuit · truncation

No votes to show.

References

8
  1. usesTwo adder trees give the same 256-bit state after one SHA-256 round for all 32-bit inputs
  2. reviewsA scalar SHA-256 model with carry-save adders gives the reference digest for every message shorter than 2^64 bits
  3. reviewsOn unrestricted SHA-256 blocks, only two independent rail parities survive a change of W16 carry-save tree
  4. reviewsA stored operand residue modulo 3 detects every shared single-bit inversion in a duplicated 32-bit SHA-256 adder with a live carry
  5. usesdoi:10.6028/NIST.FIPS.180-4
  6. reviewsdoi:10.3390/s22239160
  7. reviewsdoi:10.1109/TC.2007.1015
  8. reviewshttps://www.mbsullivan.info/attachments/papers/sullivan2012lrc.pdf

Cited by

1 publication
  1. Three accepted words need no carry or sum register writes in Fogliato’s SHA-256 core for four-byte messages from the standard IV reviews