With one SHA-256 unit at 64 ticks per block, finishing the short message first raises the input buffer from 119 to 184 bytes at the 55-byte boundary

0 citing publications

Two SHA-256 contexts share one input wire, one byte pool and one compression unit. The wire alternates the two messages until the shorter message ends. It sends one byte per tick without stalls. The unit loads a complete block after the arrival at that tick. We prove the minimum pool capacity for a short length from 0 to 63 bytes, a long length of at least 64 bytes within the FIPS limit, and a service time from 1 to 64 ticks per block. When the unit takes 64 ticks and finishes the short message first, the minimum rises from 119 to 184 bytes as the short length changes from 55 to 56 bytes and the long length stays at 256 bytes. Moving the padding-only call to the end reduces 184 bytes to 120. The proof counts distinct input positions through their last use. It also covers a wire on which both messages use the same prefix. A tick replay checked 22,528 cases against the formula and the required block sequences. The bound applies to exact block delivery with sealed compression state.

SHA-256 · streaming · input buffer · nonpreemptive scheduling · message padding

No votes to show.

References

6
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://ptolemy.berkeley.edu/publications/papers/87/staticscheduling/staticscheduling.pdf
  3. reviewshttps://leboudec.github.io/netcal/
  4. reviewsdoi:10.4236/jis.2012.34039
  5. usesA private tail permits immediate buffer reuse in bit-slice SHA-256, and each distinct released tail cell costs one bit for exact recovery
  6. reviewsInterleaved SHA-256 gives the sequential digest when each active lane consumes the correct round pair

Cited by

0 publications

No incoming citations on sciscape.