Three accepted words need no carry or sum register writes in Fogliato’s SHA-256 core for four-byte messages from the standard IV

0 citing publications

We study the four 32-bit carry and sum registers between two stages of a public SHA-256 core. For every four-byte message from the standard initial state, three successive accepted words produce fixed records. A tag selects these records through any number of input stalls. Induction gives equal output signals on every clock through the valid 256-bit digest. The neighboring words each give 2^32 different records. We test four messages with 17 stall schedules each. All 68 digests match the reference. When the tag position advances on elapsed clocks, one gap before the second word changes the valid digest for four zero bytes. The design can skip 384 register bit writes per block. The proof covers a fresh one-block transaction in the specified RTL.

SHA-256 · carry-save addition · sequential equivalence · input stalls · VHDL · constant propagation

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://github.com/martinafogliato/Sha256_Hw_Accelerator/tree/60993f33176822062ed9d752a460fa3ebbc34a95
  3. reviewshttps://patents.google.com/patent/US10142098B2/en
  4. reviewsFor three carry-save stages in SHA-256 round 0, the tree changes the raw rail sum on 3/8 of four-byte messages
  5. reviewsA scalar SHA-256 model with carry-save adders gives the reference digest for every message shorter than 2^64 bits

Cited by

0 publications

No incoming citations on sciscape.