SPMA083 January 2022 TM4C129CNCPDT , TM4C129CNCPDT , TM4C129CNCZAD , TM4C129CNCZAD , TM4C129DNCPDT , TM4C129DNCPDT , TM4C129DNCZAD , TM4C129DNCZAD , TM4C129EKCPDT , TM4C129EKCPDT , TM4C129ENCPDT , TM4C129ENCPDT , TM4C129ENCZAD , TM4C129ENCZAD , TM4C129LNCZAD , TM4C129LNCZAD , TM4C129XKCZAD , TM4C129XKCZAD , TM4C129XNCZAD , TM4C129XNCZAD
The keys are defined in the file key_image.asm that is in the key_image directory. This file is used in the key_image project and also, by link, in the shared_key_boot_serial example project.
.sect ".keyimage"
.global key
key
; Encryption/Decryption Key 0
.word 0x3ed44417, 0x8d849ffc, 0x4719e4dc, 0x71583965
.word 0x84b6ba7d, 0xa96ff68a, 0xb79d9da8, 0x5f747e02
; Authentication Key 0
.word 0xf74e59bf, 0xd19cd4e1, 0x630303f8, 0xe5bb8089
.word 0x0e3bc945, 0xffc85239, 0x53289e9c, 0x5f906df8
; Encryption/Decryption Key 1
.word 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
.word 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
; Authentication Key 1
.word 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
.word 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
As seen in the code, there are actually four 256-bit keys defined. The first key is for encryption/decryption. The second key is for authentication. The last two keys are currently not used.
For initial evaluation and development the keys given in this example can be used, but for a real project these need to be changed and kept confidential in a secure location.