On unrestricted SHA-256 blocks, binary gives the minimum W16 carry degree of 3k after k low columns for 2 ≤ k ≤ 32

3 citing publications

We study the integer carry in the first expanded SHA-256 schedule word on unrestricted message blocks. We minimize the largest Boolean degree in an injective encoding of this carry. The code can use any finite number of bits. After k low columns, for 2 ≤ k ≤ 32, the degree is 3k if the four codewords have zero bitwise XOR. It is 3k+2 otherwise. Binary attains the minimum. Every one-hot indicator has degree 3k+2. At the first cut all injective codes have degree four. A monomial that separates carry 0 from carry 2 proves the lower bound. Complete truth tables at the first five cuts and a column optimization at all 32 cuts check the result. The calculation uses zero compression rounds.

SHA-256 · message schedule · algebraic degree · carry · one-hot encoding · algebraic normal form

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://iacr.org/archive/fse2005/35570110/35570110.pdf
  3. https://eprint.iacr.org/2014/127
  4. https://eprint.iacr.org/2024/1335
  5. usesFor unrestricted SHA-256 blocks, bit 1 of W16 has degree 2 and bit 31 has degree 90
  6. For fixed-length padded SHA-256 messages, the possible W16 carries form an exact interval at every bit cut
  7. For unrestricted W16 operands, intervals give the smallest exact partition for every family of carry thresholds
  8. Hiding the carry-save words raises the defining degree of SHA-256 W16 from two to four on unrestricted blocks

Cited by

3 publications
  1. For unrestricted SHA-256 W16, a column adder needs five carry states with canonical nonadjacent digits and next-column parity uses
  2. Three sums determine the even-degree Fourier mass of the middle W16 carry threshold on independent uniform operand bits reviews
  3. For uniform fixed-length SHA-256 messages with a separate length block, 471 tail bits suffice for the W16 mean carry at all cuts and 480 give four uniform words reviews