![]() The CMAC key in the file specified by the -cmac command-line option must use the format 0xkey0key1key2ke圓 in order to access the device registers for CMACKEY0-3. ![]() The file should contain a 128-bit hex CMAC key. In order to apply the CMAC algorithm to the appropriate regions in allocated memory, use the hex conversion utility as follows: See the TMS320F2838x Microcontrollers Technical Reference Manual ( SPRUII0) for further details about secure flash boot and the CMAC algorithm. If authentication passes, the boot flow continues and branches to flash to begin executing the application. During secure flash boot, the calculated CMAC tag is compared to the golden CMAC tag in flash to determine the pass/fail status of the CMAC authentication. Additionally, you must calculate a golden CMAC tag based on the 16 KB flash memory range and store it along with the application code at a hardcoded address in flash. The CMAC calculation requires a 128-bit key that you define. ![]() The flash authentication uses CMAC to authenticate 16 KB of flash. The difference is that this branch occurs only after the flash memory contents have been authenticated. Secure flash boot is similar to the regular flash boot mode in that the boot flow branches to the configured memory address in flash. ![]() The secure flash boot applies the Cipher-based Message Authentication Protocol (CMAC) algorithm to verify CMAC tags for regions of allocated memory. The hex conversion utility supports the secure flash boot capability provided by TMS320F2838x devices, which have both C28 and Arm cores. Using Secure Flash Boot on TMS320F2838x Devices ¶ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |