With 15 registers, ten extra word transfers are optimal for ordered SHA-256 expansion when a repeat costs at least two transfers

0 citing publications

We prove the exact cost of issuing all 64 SHA-256 schedule words in order for one arbitrary block. An input starts in memory. Each first load or first expansion issues its word. A repeated expansion reads all four parents from registers and costs at least two word transfers. At 15 registers, four spill stores, four spill reloads and two input rereads attain the minimum extra cost of ten. A certificate prices ten events that any allocator must cover. The 16-word FIFO needs only the 16 first reads. The exact extra costs at 12, 13 and 14 registers are 42, 31 and 20. Each bound has a matching allocation with no repeats. The expected traffic of each such allocation equals its count for every block distribution.

SHA-256 · message schedule · register allocation · spill traffic · recomputation · liveness · integer certificate

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewshttps://github.com/secworks/sha256/blob/837c5cc396f001d18f2c765721c585716eb439ae/src/rtl/sha256_w_mem.v
  3. reviewsdoi:10.1137/0204020
  4. reviewshttps://arxiv.org/abs/2506.10854
  5. reviewsWith free block rereads, nine registers suffice and eight fail for ordered emission of all 64 SHA-256 schedule words

Cited by

0 publications

No incoming citations on sciscape.