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

Difference between revisions of "Hardware/AES engine"

From WiiBrew
Jump to navigation Jump to search
(add nfoz)
Line 6: Line 6:
 
| armirq = 2{{check}}
 
| armirq = 2{{check}}
 
}}
 
}}
 +
{| border="1"
 +
! base      !! function !! offset !! description !! contents/example
 +
|-||0x0D020000||AES      ||
 +
|-
 +
||          ||          || 0000 W  || command || 980000LL to start operation (L = len in 16 byte blocks -1)
 +
|-
 +
||          ||          ||        ||        || 980010LL start operation and "do not reload IV"??
 +
|-
 +
||          ||          ||        ||        || 00000000 reset
 +
|-
 +
||          ||          || 0000 R  || status || MSB means busy
 +
|-
 +
||          ||          || 0004 W  || data addr || source DMA
 +
|-
 +
||          ||          || 0008 W  || data addr|| dst DMA
 +
|-
 +
||          ||          || 000C W  || key fifo || write 4 words to set key
 +
|-
 +
||          ||          || 0010 W  || IV fifo || write 4 words to set IV
 +
|}

Revision as of 03:47, 26 February 2009

AES engine
Access
BroadwayNone
StarletFull
Registers
Base0x0d020000
Length0x14
Access size32 bits
Byte orderBig Endian
This box: view  talk  edit
base function offset description contents/example
0000 W command 980000LL to start operation (L = len in 16 byte blocks -1)
980010LL start operation and "do not reload IV"??
00000000 reset
0000 R status MSB means busy
0004 W data addr source DMA
0008 W data addr dst DMA
000C W key fifo write 4 words to set key
0010 W IV fifo write 4 words to set IV