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

0 citing publications

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

No votes to show.

References

4
  1. usesTwo Clean compression calls give the RFC 9162 SHA-256 parent for normalized child words
  2. usesdoi:10.6028/NIST.FIPS.180-4
  3. useshttps://www.rfc-editor.org/rfc/rfc9162.html
  4. useshttps://eprint.iacr.org/2023/552

Cited by

0 publications

No incoming citations on sciscape.