55.5.8 TDES Key 2 Word Register y

This register can only be written if the WPEN bit is cleared in the TDES Write Protection Mode Register.

Immediately cleared on tamper detection event if TDES_MR.TAMPCLR=1.

Name: TDES_KEY2WRy
Offset: 0x28 + y*0x04 [y=0..1]
Reset: 
Property: Write-only

Bit 3130292827262524 
 KEY2W[31:24] 
Access WWWWWWWW 
Reset  
Bit 2322212019181716 
 KEY2W[23:16] 
Access WWWWWWWW 
Reset  
Bit 15141312111098 
 KEY2W[15:8] 
Access WWWWWWWW 
Reset  
Bit 76543210 
 KEY2W[7:0] 
Access WWWWWWWW 
Reset  

Bits 31:0 – KEY2W[31:0] Key 2 Word

The two 32-bit Key 2 Word registers are used to set the 64-bit cryptographic key used for encryption/decryption.

TDES_KEY2WR0.KEY2W refers to the first word of the key and TDES_KEY2W1.KEY2W to the last one.

These registers are write-only to prevent the key from being read by another application.

TDES_KEY2WRx registers are not used in DES mode.

In XTEA mode, the key is defined on 128 bits. These registers contain the 64 MSB bits of the encryption/decryption key.

TDES_KEY2WRy registers are not used if the Private Key internal register is selected instead by writing a 1 to TDES_MR.PKRS.