For byte inputs, deepest records attain the tagged SHA-256 padding width at every block budget except the last

4 citing publications

Fix a byte tag and an upper bound B on SHA-256 compression calls. Count the largest family of tagged records for which no padded block sequence is a proper prefix of another. For 1 through 2^55 blocks, the width equals the number of records at depth B. Copying each shorter padded record into a full-capacity raw input preserves its tag. Incomparable records have disjoint extensions. The last feasible budget has 2^55 + 1 blocks because FIPS limits the raw input to less than 2^64 bits. Put H = 2^61 bytes. The maximum family at this budget contains all tagged records of raw lengths H-72 through H-1 except H-48 and H-16. A record of H-72 zero bytes is the shortest obstruction to replacement at the last depth. A byte comparison of all 512 endpoint length pairs confirms the two extensible lengths. For prefix-free class tags with reversible payload encodings, the last budget costs one extra tag byte when the payload limit reaches 15 bytes. These conclusions concern padding and require no assumption about digest values.

SHA-256 · FIPS 180-4 · antichain · prefix-free encoding · compression budget

No votes to show.

References

5
  1. usesWith two SHA-256 blocks, prefix-free padded byte records lose one tag byte at payload limits of 64 bytes or more
  2. usesSHA-256 padding is prefix-free through 502 bits and first has a prefix conflict at 503 bits
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. reviewshttps://cs.nyu.edu/~dodis/ps/merkle.pdf
  5. reviewshttps://csrc.nist.gov/news/2023/decision-to-revise-fips-180-4

Cited by

4 publications
  1. Under a fixed byte tag and a two-block SHA-256 limit, all two-block records form the unique largest prefix-free padded family reviews
  2. For SHA-256 byte lengths with fixed bucket and block counts, a fixed two-block rate gives sharp bounds on delimiter entropy uses
  3. For byte messages within 64 padded SHA-256 blocks, four terminal zero counts leave the sentinel block uncertain reviews
  4. A free 24-octet status alphabet first loses a common optimum at 8,436 SHA-256 blocks in a CBOR sequence profile reviews