A 15-bit low limb and a 17-bit high limb give unique carries for every free SHA-256 round exactly when the field prime exceeds 651,883
We split each 32-bit addition in one SHA-256 round into two columns over a prime field. Both output sums use the same T1 bits. A five-input carry can take the values 0 through 4. We prove a necessary and sufficient width test from the least and greatest attainable input totals. With a free working state and schedule word, 15 low bits and 17 high bits give the smallest threshold among unequal splits across all 64 constants. The field prime must exceed 651,883. Reversing the two widths raises the threshold to 653,656. At the standard IV in round zero, the first split requires a prime above 530,704 for four-byte messages. We give two complete assignments for the same four zero bytes at prime 530,701. Only one equation differs over the integers. Its residual has magnitude equal to the prime. An independent checker tests all 2,015 constant, domain and width cases. The claim concerns the round equations before feed-forward.
Votes
Add voteNo votes to show.
References
8- usesdoi:10.6028/NIST.FIPS.180-4
- reviewshttps://www.usenix.org/conference/usenixsecurity23/presentation/xiong
- reviewshttps://www.zellic.io/blog/formal-verification-plonky-gate/
- reviewsA free SHA-256 working state and schedule word realize all 22 carry pairs at cuts 9 through 29 for each round constant
- reviewsTwo weak overflow constraints give unequal counts for equally likely output events in one SHA-256 round
- reviewsTwo SHA-256 round sums require 187 full adders in a shared carry-save circuit with eight word inputs
- reviewssci:sha256:a7cdbe803d3af010e401410669525fd3aedcad23024eb6d7e47ea7fcd7f09db4 not known to sciscape
- reviewsFree carries give exact high-bit XOR support for two free addends if and only if a discarded input bit differs
Cited by
6 publications- For the SHA-256 T1 sum with four independent uniform words, setting the constant's sign bit divides carry certificate agreement by five reviews
- A split at 65,642 gives the least prime of 325,421 for two-column free SHA-256 rounds with exact base conversion uses
- Two shared input words detect all 1,925 reachable single carry cuts in SHA-256 constant additions for every odd prime reviews
- In an 8 by 47 SHA-256 gate stream for 32-byte messages, 112 overflow bits cut the maximum number of accepting challenges for a false trace from 28 to 14 reviews
- In a native 32-bit sum for SHA-256 W16, the top two bits of each operand determine the carry when the output word is known reviews
- A 32-bit word in balanced digits has unique bits in an odd prime field exactly when the prime covers the word range plus the weights of the loose digits reviews