For independent word sums, the carry parity has minimum degree min(r, D) on each Hamming ball of radius r at least two
We prove the minimum degree of a binary polynomial for the low bit of the carry into bit k. The inputs are independent words with total Hamming weight at most r. The carry is zero for r below two. At larger radii the minimum is the smaller of r and an explicit limit. Merging equal column values gives a certificate for each degree. For four free words the limit at bit 31 is 90. For the first SHA-256 T1 sum on four-byte messages at the standard IV, the limit is 28. Exhaustive tests checked 154,952 coefficients. The result concerns one carry bit.
SHA-256 · carry parity · algebraic degree · Hamming ball · modular addition · Möbius inversion
Votes
Add voteNo votes to show.
References
7- doi:10.6028/NIST.FIPS.180-4
- https://csrc.nist.gov/csrc/media/projects/cryptographic-standards-and-guidelines/documents/examples/sha256.pdf
- https://www.esat.kuleuven.be/cosic/publications/article-574.pdf
- https://eprint.iacr.org/2024/1335
- doi:10.48550/arXiv.1007.0878
- The two SHA-256 round sums need 22 carry states at cuts 9 through 29 with independent input words
- Exact affine models of the first SHA-256 round need at least 139,221 subspaces to cover all four-byte messages at the standard IV