Changes

176 bytes added ,  23:56, 19 March 2015
no edit summary
Line 1: Line 1:  
== Registers ==
 
== Registers ==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
NAME
+
Old3DS
PHYSICAL ADDRESS
+
Name
WIDTH
+
Address
 +
!  Width
 +
!  Used by
 
|-
 
|-
| REG_SHA_CNT
+
| style="background: green" | Yes
 +
| [[#SHA_CNT|SHA_CNT]]
 
| 0x1000A000
 
| 0x1000A000
 
| 4
 
| 4
 +
|
 
|-
 
|-
| REG_SHA_DATASIZE
+
| style="background: green" | Yes
 +
| [[#SHA_INPUTSZ|SHA_INPUTSZ]]
 
| 0x1000A004
 
| 0x1000A004
 
| 4
 
| 4
 +
|
 
|-
 
|-
| REG_SHA_OUT
+
| style="background: green" | Yes
 +
| [[#SHA_OUT|SHA_OUT]]
 
| 0x1000A040
 
| 0x1000A040
 
| 0x20
 
| 0x20
 +
|
 
|-
 
|-
| REG_SHA_IN
+
| style="background: green" | Yes
 +
| [[#SHA_IN|SHA_IN]]
 
| 0x1000A080
 
| 0x1000A080
 
| 0x40
 
| 0x40
 +
|
 
|}
 
|}
      −
== REG_SHA_CNT ==
+
== SHA_CNT ==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
!  Bits
 
!  Bits
Line 50: Line 60:  
|}
 
|}
   −
 
+
== SHA_INPUTSZ ==
== REG_SHA_DATASIZE ==
   
This reg contains the total size of the data written to REG_SHA_IN.
 
This reg contains the total size of the data written to REG_SHA_IN.
   −
== REG_SHA_OUT ==
+
== 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 ==
+
== 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).
 
The data to be hashed must be written here. The data must be padded with 0x00s to align with the register size (if needed).