SHA Registers: Difference between revisions

Profi200 (talk | contribs)
No edit summary
Profi200 (talk | contribs)
No edit summary
Line 23: Line 23:




== REG_SHACNT ==
== REG_SHA_CNT ==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
!  Bits
!  Bits
Line 32: Line 32:
|-
|-
|3
|3
| Output endianess (0=little endian, 1=big endian)
| Endianess (0=Little endian, 1=Big endian)
|-
|-
|4
|4
| ? input related. Changes the hash completely
| ? Input related. Changes the hash completely
|-
|-
|5
|5
Line 53: Line 53:
== REG_SHA_OUT ==
== REG_SHA_OUT ==
This reg contains the SHA* hash after the final round.
This reg contains the SHA* hash after the final round.
== REG_SHA_IN ==
The data to be hashed must be written here. The data must be padded with 0x00s to align with the register size (if needed).