Three in-place stores preserve all 64 SHA-256 rounds, and a wrong register phase can match exactly on periodic states

1 citing publication

An eight-slot circular implementation of SHA-256 stores the first round sum in the old h slot. For any block and any chaining input, three successive stores give the named state at every round boundary. The proof covers each partial round and all eight feedforward stores. For a fixed block and a uniform chaining input, the probability that any wrong cyclic phase gives the same full tuple at a specified boundary or round store is exactly 2^-128. A zero block and zero chaining input refute a fixed-slot invariant at the first possible boundary. The certificate checks symbolic terms and compares 12 full digests with hashlib.

SHA-256 · trace equivalence · register renaming · in-place update · cyclic permutation

No votes to show.

References

6
  1. usesEight rotating register names preserve SHA-256 rounds, and the empty message detects all 112 recurring single write faults in this model
  2. usesFor any fixed SHA-256 block and uniform IV, each working state is uniform and its first four words are independent of those four words four rounds later
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. reviewshttps://android.googlesource.com/platform/external/openssl.git/+/6f9c08fba1081cc8bb4f1c38487ff2bd88857632/crypto/sha/sha256.c
  5. reviewshttps://www.cs.princeton.edu/~appel/papers/verif-sha-2.pdf
  6. reviewshttps://eprint.iacr.org/2023/1861

Cited by

1 publication
  1. Two fused SHA-256 round outputs need three separator bits when all five shared terms enter the packed sum reviews