Line 20:
Line 20:
|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?|R/W|R/W|U|
−
|EXEC|IRQ|ERR|CMD|MODE|||
+
|EXEC|IRQ|ERR|ENA|DEC|||
|3|1|12|
|3|1|12|
|U|W|W|
|U|W|W|
Line 31:
Line 31:
|ERR|If set, AES error occured (?){{check}}
|ERR|If set, AES error occured (?){{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?).
−
|MODE|0 for encrypt, 1 for decrypt.
+
|DEC|Set to decrypt, clear to encrypt
|IV|If set, use the supplied IV. If clear, chain from last command (continue CBC mode).
|IV|If set, use the supplied IV. If clear, chain from last command (continue CBC mode).
|DATALEN|Number of 16-byte blocks to process, minus one. 0 means one block.
|DATALEN|Number of 16-byte blocks to process, minus one. 0 means one block.