In one SHA-256 round with a uniform state and a fixed block, only the weight of input d changes the joint law of the two updated sums

3 citing publications

Fix one message block and sample the eight input words of one SHA-256 round uniformly. Each updated sum stays uniform after the weight of any one input word is given. The two updated sums stay jointly uniform for seven inputs. For input d, every nonempty proper set of allowed weights changes the joint law. We count the input triples that give two values of the majority sum T2. The counts are 2^64 + 2^32 and 2^64 - 2^32. A test at a primitive root of unity then proves the result for all weight sets. The result concerns internal words before feed-forward.

SHA-256 · modular addition · Hamming weight · majority · conditional uniformity

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  3. usesFor any fixed SHA-256 block and uniform IV, each working state is uniform and its first four words are independent of those four words four rounds later
  4. The two SHA-256 round sums need 22 carry states at cuts 9 through 29 with independent input words
  5. doi:10.3390/cryptography10030032

Cited by

3 publications
  1. With IV (0,0,0,0,e,1,0,0) and an empty message, the high bit of new E in SHA-256 round 0 is balanced overall and biased at every weight of e reviews
  2. With a uniform working state and any fixed round word, consecutive SHA-256 majority bits differ independently with probability 1/4 uses
  3. In one SHA-256 round with a uniform state and a fixed word, old d and the two new words first show dependence at 19 low bits each uses