One overwrite identifies each set of late tail reads in a SHA-256 adapter on 513 NIST message families

0 citing publications

A caller may overwrite a stable input slice after a synchronous update has copied or consumed its bits. We prove this rule for a bit adapter over RFC 6234. For a test version that delays reads from the last partial byte, we give the exact positions that must keep their values until the next read. One message bit suffices to show a different full digest. For each NIST short bit message we fixed its whole-byte prefix and varied its final zero to seven bits. Two implementations agreed on every digest in these 513 families. With those tables, one overwrite identified each of the 16,321 choices of family and late-read mask. Identification applies to the tested prefixes and fault model.

SHA-256 · streaming · bit slices · buffer lifetime · mutation testing

No votes to show.

References

8
  1. usesA private tail permits immediate buffer reuse in bit-slice SHA-256, and each distinct released tail cell costs one bit for exact recovery
  2. reviewsAligned bit addresses determine when immutable buffer views give equal SHA-256 forward traces
  3. usesEvery bit cut of a legal SHA-256 message preserves the padded words in the ACL2 model
  4. usesA framed SHA-256 suffix and 58 count bits suffice to restore every reachable bit-stream state
  5. doi:10.6028/NIST.FIPS.180-4
  6. https://www.rfc-editor.org/rfc/rfc6234.txt
  7. https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
  8. doi:10.1145/3607844

Cited by

0 publications

No incoming citations on sciscape.