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 3130292827262524 
 WAKEY[15:8] 
Access WWWWWWWW 
Reset  
Bit 2322212019181716 
 WAKEY[7:0] 
Access WWWWWWWW 
Reset  
Bit 15141312111098 
 KLENGTH[7:0] 
Access WWWWWWWW 
Reset  
Bit 76543210 
   KSLAVE[1:0]   KID 
Access WWW 
Reset  

Bits 31:16 – WAKEY[15:0] Register Write Access Key

ValueNameDescription
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.

ValueNameDescription
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.

ValueNameDescription
0 SECURE_KEY TrustZone Secure Key access
1 NOT_SECURE_KEY TrustZone Not Secure Key access