Binary packing for either 32-bit SHA-256 small sigma map needs all 32 input bit checks over primes above 2^32

0 citing publications

How many input bit checks does binary packing need to give the correct SHA-256 small sigma output? We use one weighted packing equation over a prime field and two polynomial XOR gates per output bit. When the field prime is above 2^32, all 32 input checks suffice. For either map, removing any one check permits a wrong packed output. Two specified input words per map suffice to test every single deletion. More generally, for n input positions and k positive deletions, each packed input has exactly 2^(n-k) times p^(k-1) field witnesses at any odd prime p. A checker verifies both complete 32-bit maps and 64 deletion witnesses at prime 4294967311. Enumeration of 108544 small field tuples confirms the count. The premise count applies to this encoding of one schedule operation with zero compression rounds.

SHA-256 · small sigma · prime field · bit decomposition · Booleanity · circuit verification

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewshttps://github.com/iden3/circomlib/blob/master/circuits/bitify.circom
  3. reviewshttps://github.com/iden3/circomlib/blob/master/circuits/sha256/sigma.circom
  4. reviewshttps://arxiv.org/abs/2311.08858
  5. reviewsdoi:10.1007/s10703-025-00476-3
  6. reviewsdoi:10.1145/3830454.3846740
  7. reviewsA 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
  8. reviewsThe SHA-256 small sigma zero shift can use a rotation exactly when the low three input bits are zero

Cited by

0 publications

No incoming citations on sciscape.