Line 19:
Line 19:
{{reg32 | AES_CTRL | addr = 0x0d020000 | hifields = 6 | lofields = 3 |
{{reg32 | AES_CTRL | addr = 0x0d020000 | hifields = 6 | lofields = 3 |
|1|1|1|1|1|11|
|1|1|1|1|1|11|
−
|R/W|R/W|R?|R/W|R/W|U|
+
|R/W|R/W|R/W|R/W|R/W|U|
|EXEC|IRQ|ERR|ENA|DEC|||
|EXEC|IRQ|ERR|ENA|DEC|||
|3|1|12|
|3|1|12|
Line 27:
Line 27:
This register controls the state of the AES engine.
This register controls the state of the AES engine.
{{regdesc
{{regdesc
−
|EXEC|Write 1: initiate AES command<br/>Read: AES engine busy
+
|EXEC|Write 1: initiate AES command<br/>Write 0: reset AES engine<br/>Read: AES engine busy
|IRQ|Set to enable IRQ generation when command is complete
|IRQ|Set to enable IRQ generation when command is complete
−
|ERR|If set, AES error occured (?){{check}}
+
|ERR|If set, AES error occurred (?){{check}}
|ENA|Enable en/decryption. If clear, the data is copied straight from source to destination without change (useful as a DMA copy engine?).
|ENA|Enable en/decryption. If clear, the data is copied straight from source to destination without change (useful as a DMA copy engine?).
|DEC|Set to decrypt, clear to encrypt
|DEC|Set to decrypt, clear to encrypt