57.6.3 TRNG Private Key Bus Control Register
This register can only be written if the WPCREN bit is cleared in the TRNG Write Protection Mode Register.
Name: | TRNG_PKBCR |
Offset: | 0x08 |
Reset: | – |
Property: | Write-only |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
WAKEY[15:8] | |||||||||
Access | W | W | W | W | W | W | W | W | |
Reset | – | – | – | – | – | – | – | – |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
WAKEY[7:0] | |||||||||
Access | W | W | W | W | W | W | W | W | |
Reset | – | – | – | – | – | – | – | – |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
KLENGTH[7:0] | |||||||||
Access | W | W | W | W | W | W | W | W | |
Reset | – | – | – | – | – | – | – | – |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
KSLAVE[1:0] | KID | ||||||||
Access | W | W | W | ||||||
Reset | – | – | – |
Bits 31:16 – WAKEY[15:0] Register Write Access Key
Value | Name | Description |
---|---|---|
0x524B | PASSWD | Writing any other value in this field aborts the write operation. |
Bits 15:8 – KLENGTH[7:0] Key Length
Length-1 in 32-bit words of the key(s) to be directly loaded from the TRNG into the private key internal registers of the private key bus client KSLAVE.
Example: for one 64-bit key to be loaded, KLENGTH must be written to 1. For 128-bit keys, KLENGTH must be written to 3.
Bits 5:4 – KSLAVE[1:0] Key Bus Client
Private key bus client identifier for the destination encryption unit to be loaded from the TRNG.
Value | Name | Description |
---|---|---|
0 | TDES_ID |
TDES |
1 | AES_ID |
AES |
2 | TZAESB_ID |
TZAESB |
3 | OTPC_ID |
OTPC |
Bit 0 – KID Key ID
Private Key ID of the targeted private key bus client KSLAVE to be loaded from the TRNG.
TrustZone access protection is only done at the selected key bus client according to its TrustZone configuration.
Value | Name | Description |
---|---|---|
0 | SECURE_KEY | TrustZone Secure Key access |
1 | NOT_SECURE_KEY | TrustZone Not Secure Key access |