With rotation counts reduced modulo word width, the SHA-256 sigma maps lose taps at specific widths up to 20 bits
We kept the SHA-256 shift counts fixed and reduced each rotation count modulo the positive word width. A divisor test gives every width where rotations coincide or a live shift overlaps a rotation. The first small sigma is zero only at width 1. The second is zero only at widths 1 and 2. We give exact counts for one input bit flip. Two pooled fits for the first big sigma give slopes of +1 and -1. Both miss the value of three output flips at width 32. Widths 22 and 32 agree on single flips and differ on pairs. A coordinate check covers every basis column through width 128. The results apply to isolated word maps.
SHA-256 · word width · linear map · diffusion · rotation
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://www.nist.gov/itl/ai/ai-standards-and-guidelines-group/nsrl-test-data
- reviewshttps://www.researchgate.net/publication/228800748_Small-scale_variants_of_the_secure_hash_standard
- reviewsdoi:10.3390/cryptography8030040
- reviewsdoi:10.3390/cryptography10030032
- usesCarry bits determine when a SHA-256 schedule can use wide integer sums at any positive word width
- usesThe SHA-256 big sigma maps have bit branch number 4 each and 7 for a shared input
Cited by
6 publications- SHA-256 schedule word 24 takes 9/128 of its values at offsets plus and minus 2^30 uses
- Any two distinct round words generate the alternating group for SHA-256 rounds with three-bit words and no feedforward uses
- At widths 288k², two CNFs for a masked rotation parity have constant polynomial-calculus degree and need stretched-exponential resolution size reviews
- The two SHA-256 small sigma maps preserve exactly 32 Boolean functions on ordered pairs of 32-bit words uses
- Effective constants 0 and 2 give six orbits when each SHA-256 round retains two bits per word and resets the other bits uses
- At divisor widths of 32, periodic repetition scales both SHA-256 big sigma weight profiles exactly. Right shifts can break this scaling. uses