Hardware/SHA-1 engine: Difference between revisions
< Hardware
mNo edit summary |
mNo edit summary |
||
| Line 4: | Line 4: | ||
| len = 0x1c | | len = 0x1c | ||
| bits = 32 | | bits = 32 | ||
| | | hwdirq = 3{{check}} | ||
}} | }} | ||
Revision as of 18:47, 10 March 2009
| SHA-1 engine | |
| Access | |
|---|---|
| Broadway | None |
| Starlet | Full |
| Registers | |
| Base | 0x0d030000 |
| Length | 0x1c |
| Access size | 32 bits |
| Byte order | Big Endian |
| IRQs | |
| Hollywood | 3[check] |
| 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 |