SHA Registers: Difference between revisions
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
== | == REG_SHA_CNT == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | ! Bits | ||
Line 32: | Line 32: | ||
|- | |- | ||
|3 | |3 | ||
| | | Endianess (0=Little endian, 1=Big endian) | ||
|- | |- | ||
|4 | |4 | ||
| ? | | ? 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). |