Difference between revisions of "SHA Registers"

From 3dbrew
Jump to navigation Jump to search
(Created page with "== Registers == {| class="wikitable" border="1" ! NAME ! PHYSICAL ADDRESS ! WIDTH |- | REG_SHA_CNT | 0x1000A000 | 4 |- | ?? | 0x1000A004 | 4 |- | REG_SHA_OUT | 0x1000A040 | 0x...")
 
Line 9: Line 9:
 
| 4
 
| 4
 
|-
 
|-
| ??
+
| REG_SHA_DATASIZE?
 
| 0x1000A004
 
| 0x1000A004
 
| 4
 
| 4
Line 37: Line 37:
 
| 1 when FIFO expects read/write
 
| 1 when FIFO expects read/write
 
|}
 
|}
 +
 +
 +
== REG_SHA_DATASIZE ==
 +
This reg contains the total size of the data written to REG_SHA_IN in big endian.

Revision as of 16:30, 7 September 2014

Registers

NAME PHYSICAL ADDRESS WIDTH
REG_SHA_CNT 0x1000A000 4
REG_SHA_DATASIZE? 0x1000A004 4
REG_SHA_OUT 0x1000A040 0x20
REG_SHA_IN 0x1000A080 0x40


REG_SHACNT

Bits Description
0-1 0=Hash ready, 1=Normal, 2=Final Round
16 Enable
17 1 when FIFO expects read/write


REG_SHA_DATASIZE

This reg contains the total size of the data written to REG_SHA_IN in big endian.