Two bit additions flip the ANF sparsity order for two byte families after two SHA-256 rounds

1 citing publication

We tested a published pair of functions. Each function gives bit 31 of working word e after the first two SHA-256 rounds from the standard initial value. The byte after abc varies. Each function has a fixed second message word. We counted nonconstant algebraic normal form terms at the best XOR origin for each function. Adding bit 1 to bits 3 and 4 changes the two counts from 32 and 58 to 51 and 47. The Fourier support sizes stay at 196 and 174. All 56 single bit additions keep the original order. Of the 32,385 invertible byte maps that differ from the identity by rank one, 20,785 flip the order, 752 give a tie, and 10,848 keep the order. Independent integer transforms check every row. These counts describe one internal bit and two fixed offsets.

SHA-256 · algebraic normal form · Fourier support · Walsh spectrum · transvection · affine relabeling

No votes to show.

References

6
  1. usessci:sha256:d3549baf839170414fc8c2d21437293cf31e84008d0b8de7b8206c520fd0316c not known to sciscape
  2. usesOriginal byte labels give fewer sparsity rank reversals than all 199 shuffles for one bit after two SHA-256 rounds with abc and def prefixes
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  5. reviewsdoi:10.1007/978-3-319-22177-9_9
  6. reviewsdoi:10.33039/ami.2020.10.004

Cited by

1 publication
  1. Two byte bases give opposite ANF term orders at every degree from 1 to 7 for one bit after two SHA-256 rounds uses