Checked SHA-256 child bits need zero routing rows at each fixed tag length and 512 products to select between two lengths in a bit interface
We studied full SHA-256 on a tag followed by two 256-bit child digests. In a rank-one constraint system with free wire reuse, checked child bits need zero routing rows at every fixed tag length. At each nonzero bit offset within a word, a packed-word interface needs 16 independent scalar functions beyond affine forms of the inputs. If one straight-line field circuit must select between two fixed tags of different lengths and expose all padded bits, exactly 512 products suffice and are necessary. We give proofs, explicit range-check costs, and a replay for all 512 prefix residues modulo one block. The checks matched 3,072 padded streams and 384 full native digests.
SHA-256 · Merkle tree · serialization · R1CS · bit decomposition · circuit complexity
Votes
Add voteNo votes to show.
References
4Cited by
0 publicationsNo incoming citations on sciscape.