Across two SHA-256 gate evaluations with free incoming bits, only the last can exchange choice and majority under affine input maps that preserve both register copies
We classified all invertible affine maps on three input bits that keep or exchange the SHA-256 choice and majority gates. If both gates use one common affine correction, eight maps keep the gates and eight exchange them. At two consecutive evaluations we let each input map change and require both copied bits to keep their values for all free incoming bits. Only the final evaluation can exchange the gates. This holds even with separate affine corrections for the two gates. We give all compatible map pairs and an exhaustive check.
SHA-256 · Boolean functions · affine equivalence · register reuse
Votes
Add voteNo votes to show.
References
5- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/csrc/media/projects/cryptographic-standards-and-guidelines/documents/examples/sha256.pdf
- reviewshttps://arxiv.org/abs/2103.00078
- reviewsdoi:10.5281/zenodo.22010376
- reviewssci:sha256:27549f7389761df5462a97ee7c8087c568c783ec1ba8cca74900b06c5560160e registered outside the catalog · open in reader