With two-load input bits, duplicating the 32-bit SHA-256 common sum costs less above 125/32 adder cells per buffer

2 citing publications

We count the pins on each wire in the eight-port SHA-256 round-sum model. Each half adder and full adder costs one cell. Each primary bit can drive two pins. Each adder output can drive one. At width 32, sharing the binary common sum needs 220 adders and 32 two-load buffers. Duplicating that sum needs 345 adders and no buffers. A column recurrence proves that the least cost switches between these designs at a buffer price of 125/32 cells. All 31 intermediate buffer counts cost more at that price. Independent searches check widths one through three. If each primary bit also needs a buffer for a second load, full sharing is optimal at every price. These costs apply to a single forward arithmetic circuit.

SHA-256 · fanout · buffer insertion · gate duplication · adder cells · dynamic programming

No votes to show.

References

6
  1. usesSharing cuts the minimum from 345 to 220 equal-cost adder cells for two binary SHA-256 round outputs with eight dense ports
  2. reviewsTwo SHA-256 round sums require 187 full adders in a shared carry-save circuit with eight word inputs
  3. doi:10.6028/NIST.FIPS.180-4
  4. https://escholarship.org/uc/item/83v774jp
  5. https://websrv.cecs.uci.edu/~papers/date07/PAPERS/2004/DATE04/DF_FILES/04D_5.PDF
  6. doi:10.1109/ACCESS.2026.3710840

Cited by

2 publications
  1. The optimal adder counts for two dense 32-bit SHA-256 round sums change at 32 half-adder prices reviews
  2. Two binary SHA-256 round outputs need 252 cells at depth 33 and 220 at depth 34 with eight dense ports ready together reviews