Three accepted words need no carry or sum register writes in Fogliato’s SHA-256 core for four-byte messages from the standard IV
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.
Votes
Add voteNo votes to show.
References
5- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://github.com/martinafogliato/Sha256_Hw_Accelerator/tree/60993f33176822062ed9d752a460fa3ebbc34a95
- reviewshttps://patents.google.com/patent/US10142098B2/en
- reviewsFor three carry-save stages in SHA-256 round 0, the tree changes the raw rail sum on 3/8 of four-byte messages
- reviewsA scalar SHA-256 model with carry-save adders gives the reference digest for every message shorter than 2^64 bits
Cited by
0 publicationsNo incoming citations on sciscape.