In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Hardware/SHA-1 engine"

From WiiBrew
Jump to navigation Jump to search
(add nfoz)
Line 6: Line 6:
 
| armirq = unknown{{check}}
 
| armirq = unknown{{check}}
 
}}
 
}}
 +
 +
{| border="1"
 +
! base      !! function !! offset !! description !! contents/example
 +
|-
 +
||0x0D030000||SHA-1    ||
 +
|-
 +
||          ||          || 0000 R  || status || MSB means busy
 +
|-
 +
||          ||          || 0000 W  || command || 0x00000000 Reset?
 +
|-
 +
||          ||          ||        ||        || 0x8000001F Calculate hash, then increase address by size 0x800
 +
|-
 +
||          ||          || 0004 W  || address || Physical address of data
 +
|-
 +
||          ||          || 0008 R  || hash || 1. part of hash value
 +
|-
 +
||          ||          || 0008 W  || init || 1. part of hash init value: 0x67452301
 +
|-
 +
||          ||          || 000c R  || hash || 2. part of hash value
 +
|-
 +
||          ||          || 000c W  || init || 2. part of hash init value: 0xEFCDAB89
 +
|-
 +
||          ||          || 0010 R  || hash || 3. part of hash value
 +
|-
 +
||          ||          || 0010 W  || init || 3. part of hash init value: 0x98BADCFE
 +
|-
 +
||          ||          || 0014 R  || hash || 4. part of hash value
 +
|-
 +
||          ||          || 0014 W  || init || 4. part of hash init value: 0x10325476
 +
|-
 +
||          ||          || 0018 R  || hash || 5. part of hash value
 +
|-
 +
||          ||          || 0018 W  || init || 5. part of hash init value: 0xC3D2E1F0
 +
|}

Revision as of 03:48, 26 February 2009

SHA-1 engine
Access
BroadwayNone
StarletFull
Registers
Base0x0d030000
Length0x1c
Access size32 bits
Byte orderBig Endian
This box: view  talk  edit
base function offset description contents/example
0x0D030000 SHA-1
0000 R status MSB means busy
0000 W command 0x00000000 Reset?
0x8000001F Calculate hash, then increase address by size 0x800
0004 W address Physical address of data
0008 R hash 1. part of hash value
0008 W init 1. part of hash init value: 0x67452301
000c R hash 2. part of hash value
000c W init 2. part of hash init value: 0xEFCDAB89
0010 R hash 3. part of hash value
0010 W init 3. part of hash init value: 0x98BADCFE
0014 R hash 4. part of hash value
0014 W init 4. part of hash init value: 0x10325476
0018 R hash 5. part of hash value
0018 W init 5. part of hash init value: 0xC3D2E1F0