Difference between revisions of "Hardware/AES engine"
< Hardware
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 | |
---|---|
Broadway | None |
Starlet | Full |
Registers | |
Base | 0x0d020000 |
Length | 0x14 |
Access size | 32 bits |
Byte order | Big Endian |
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 |