For a bit stream with no position signal, one early SHA-256 padding bit can raise the state width from one bit to 64
A bit stream ends at one of a finite set of public lengths. The sender has no position signal and must write the FIPS SHA-256 padded message in order. We give the exact minimum number of live states for each cap on the number of bits left to write at END. At an earlier legal stop the full padding must remain. To send even the delimiter before END at the largest positive length M, the sender needs M states, plus one if every earlier stop is legal. The bound holds when the sender can delay payload bits. A common continuation of zero bits separates each pair of proper zero prefixes. For lengths 447 and 2^64 minus 64, a cap of 576 bits takes one state bit. A cap from 65 through 575 takes 64 state bits. All 3,060 small-format comparisons agreed with the proof.
Votes
Add voteNo votes to show.
References
8- usesdoi:10.6028/NIST.FIPS.180-4
- usesTwo equal-size SHA-256 length sets modulo nine need 63 and 64 state bits when the stream ends without a length tag
- reviewssci:sha256:33bec164fb945ab89be1662f67dc1495150fabc54958ac7ebe74e54fa1e07912 not known to sciscape
- reviewsA block agreement test gives the exact state count for SHA-256 padding with a fixed carrier and a final length tag
- reviewshttps://www.rfc-editor.org/rfc/rfc6234.html
- reviewshttps://aclanthology.org/J97-2003/
- reviewshttps://dmtcs.episciences.org/articles/2138
- reviewsdoi:10.4230/LIPIcs.LICS.2026.18
Cited by
0 publicationsNo incoming citations on sciscape.