With zero slack and known fill, 17 live bits first require an end tag for exact recovery of a 32-bit SHA-256 residual word

0 citing publications

An unfinished SHA-256 block can store its live bits at either end of a 32-bit register. We give a sufficient relation between two stream adapters and a 32-lane bit-sliced core. A symbolic checker proves the update boundary for all 9,216 public cases and every input value. If the fill count and raw register are known, an end tag is necessary exactly when both layouts are valid and decode to different strings. With zero unused bits the first ambiguous width is 17. Exactly three raw words are ambiguous at that width. With unrestricted unused bits each positive width has ambiguous words. Both adapters matched all 1,025 NIST short and long bit-message digests and their literal padded blocks. The tag bound concerns exact recovery of the pending bits and compression inputs.

SHA-256 · streaming hash · bit slicing · simulation relation · residual bits · conformance

No votes to show.

References

9
  1. usesA 32-lane bit-sliced SHA-256 circuit gives the scalar digest in each active lane for all values in unused lanes
  2. reviewsA framed SHA-256 suffix and 58 count bits suffice to restore every reachable bit-stream state
  3. reviewsAn exact SHA-256 block-trace join needs 505 + t pending-data bits when only the split residue t modulo eight is public
  4. reviewsCuts in 753 ordered NIST SHA-256 bit vectors cover every one-byte update of a packer with up to seven pending bits
  5. reviewsThe NIST SHA-256 short and long bit vectors fix 202 of 1,792 entries in a final-byte padding table
  6. usesdoi:10.6028/NIST.FIPS.180-4
  7. reviewshttps://www.cs.princeton.edu/~appel/papers/verif-sha.pdf
  8. reviewshttps://www.rfc-editor.org/rfc/rfc6234.html
  9. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabittestvectors.zip

Cited by

0 publications

No incoming citations on sciscape.