With a known frame and length interval, exact SHA-256 padding checks require every bit from the delimiter to the end

0 citing publications

A verifier knows the padded record size and an authenticated interval of message lengths. It can read bits or aligned blocks at the end. For every legal SHA-256 bit message, changing any bit from the delimiter through the length field makes the record invalid. These bits form its unique minimum positive certificate. The exact worst suffix for an interval has 576 bits if the interval includes a length equal to 448 modulo 512. Otherwise the shortest allowed message gives the maximum. Thus 447 and 448 bits need 65 and 576 bits of evidence. We also give the independent length label needed to compare the record with a source of unknown length. The proof concerns padding before compression.

SHA-256 · bit strings · padding · certificate complexity · length metadata

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewshttps://www.rfc-editor.org/rfc/rfc6234
  3. reviewsWith correct block alignment, the block count and nine low length bits suffice to restore SHA-256 padding on every legal message
  4. reviewsAt the FIPS length limit, a SHA-256 block stream needs 62 state bits to verify its padding with either form of final framing
  5. reviewsFor byte messages within 64 padded SHA-256 blocks, four terminal zero counts leave the sentinel block uncertain

Cited by

0 publications

No incoming citations on sciscape.