control register
| EN | AES enable |
| DATATYPE | Data type selection (for data in and data out to/from the cryptographic block) |
| MODE | AES operating mode |
| CHMOD | AES chaining mode |
| CCFC | Computation complete flag clear |
| ERRC | Error clear |
| CCFIE | CCF flag interrupt enable |
| ERRIE | Error interrupt enable |
| DMAINEN | Enable DMA management of data input phase |
| DMAOUTEN | Enable DMA management of data output phase |
| GCMPH | Used only for GCM, GMAC and CMAC algorithms and has no effect when other |
| KEYSIZE | Key size selection |