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 interface
| Flush SEQ controller
|-
|-
| 11
| 11
| Enable RND testing mode
| Enable RND test mode
|-
|-
| 12
| 12
| Enable the RND interface
| Enable the RND controller
|}
|}


Line 2,517: Line 2,526:
|-
|-
| 4
| 4
| Lock the SCP and RND
| Lock SCP and RND
|}
|}


Line 2,556: Line 2,565:
|}
|}


Used for debugging crypto interfaces such as the SEQ (crypto sequence).
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 interface.
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 interface.
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 interface is active
| SEQ controller is active
|-
| 14
| AES controller is active
|-
|-
| 16
| 16
| RND interface is active
| 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
| Unknown opcode
| 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 interface.
Contains the status of the RND controller.


=== TSEC_SCP_IRQSTAT ===
=== TSEC_SCP_IRQSTAT ===
Line 2,736: Line 2,757:
|-
|-
| 24
| 24
| RND unknown
| RND called
|-
|-
| 28
| 28
Line 2,765: Line 2,786:
|-
|-
| 24
| 24
| RND unknown
| RND called
|-
|-
| 28
| 28