TSEC: Difference between revisions
No edit summary |
No edit summary |
||
Line 2,472: | Line 2,472: | ||
|- | |- | ||
| 16 | | 16 | ||
| Enable the SEQ interface | | Enable the SEQ controller | ||
|- | |||
| 14 | |||
| Enable the CMD interface | |||
|- | |||
| 12 | |||
| Enable the STORE interface | |||
|- | |||
| 10 | |||
| Enable the LOAD interface | |||
|} | |} | ||
Line 2,481: | Line 2,490: | ||
|- | |- | ||
| 0 | | 0 | ||
| Flush SEQ | | Flush SEQ controller | ||
|- | |- | ||
| 11 | | 11 | ||
| Enable RND | | Enable RND test mode | ||
|- | |- | ||
| 12 | | 12 | ||
| Enable the RND | | Enable the RND controller | ||
|} | |} | ||
Line 2,517: | Line 2,526: | ||
|- | |- | ||
| 4 | | 4 | ||
| Lock | | Lock SCP and RND | ||
|} | |} | ||
Line 2,556: | Line 2,565: | ||
|} | |} | ||
Used for debugging crypto | Used for debugging crypto controllers such as the SEQ (crypto sequence). | ||
=== TSEC_SCP_DBG1 === | === TSEC_SCP_DBG1 === | ||
Line 2,573: | Line 2,582: | ||
|} | |} | ||
Used for retrieving debug data. Contains information on the last crypto sequence created when debugging the SEQ | Used for retrieving debug data. Contains information on the last crypto sequence created when debugging the SEQ controller. | ||
=== TSEC_SCP_DBG2 === | === TSEC_SCP_DBG2 === | ||
Line 2,592: | Line 2,601: | ||
|} | |} | ||
Used for retrieving additional debug data associated with the SEQ | Used for retrieving additional debug data associated with the SEQ controller. | ||
=== TSEC_SCP_CMD === | === TSEC_SCP_CMD === | ||
Line 2,646: | Line 2,655: | ||
! Bits | ! Bits | ||
! Description | ! Description | ||
|- | |||
| 0 | |||
| SCP is active | |||
|- | |- | ||
| 2 | | 2 | ||
Line 2,651: | Line 2,663: | ||
|- | |- | ||
| 6 | | 6 | ||
| SEQ | | SEQ controller is active | ||
|- | |||
| 14 | |||
| AES controller is active | |||
|- | |- | ||
| 16 | | 16 | ||
| RND | | RND controller is active | ||
|} | |} | ||
Contains the status of the crypto interfaces. | Contains the status of the crypto controllers and interfaces. | ||
=== TSEC_SCP_STAT1 === | === TSEC_SCP_STAT1 === | ||
Line 2,683: | Line 2,698: | ||
|- | |- | ||
| 5-9 | | 5-9 | ||
| | | Current CMD opcode | ||
|- | |- | ||
| 10-14 | | 10-14 | ||
Line 2,694: | Line 2,709: | ||
2: Key expansion | 2: Key expansion | ||
3: Key reverse expansion | 3: Key reverse expansion | ||
|- | |||
| 25 | |||
| STORE operation is stalled | |||
|- | |||
| 26 | |||
| LOAD operation is stalled | |||
|- | |- | ||
| 27 | | 27 | ||
Line 2,713: | Line 2,734: | ||
|} | |} | ||
Contains the status of the RND | Contains the status of the RND controller. | ||
=== TSEC_SCP_IRQSTAT === | === TSEC_SCP_IRQSTAT === | ||
Line 2,736: | Line 2,757: | ||
|- | |- | ||
| 24 | | 24 | ||
| RND | | RND called | ||
|- | |- | ||
| 28 | | 28 | ||
Line 2,765: | Line 2,786: | ||
|- | |- | ||
| 24 | | 24 | ||
| RND | | RND called | ||
|- | |- | ||
| 28 | | 28 |