This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: CMAC Flash Authentication For Customized Region

Part Number: TMS320F28388D

Hi all,

We are developing a project which consist of two parts . Custom bootloader and application firmware.

- Custom bootloader located in flash sector 0.

- An application firmware located from sector 1 and onwards.

-----------------------------------

Custom bootloader is authenticated by the ROM bootloader. (primary secure flash boot)

And custom bootloader be responsible to authenticate the application firmware memory region. (extended secure flash boot)

In the custom bootloader code, we are planning to call CMAC Authentication API to verify contents part of device flash. From sector 1 and onwards. (0x82000 to 0xC0000) 

CPU1BROM_calculateCMAC( 0x82000,0xC0000,0x87002);

-----------------------------------

In the application code, we must create Golden CMAC Tag for customized memory region. (0x82000 to 0xC0000) 

But we don't know how to calculate CMAC tag for customized region ? 

Is it possible to calculate CMAC tag for customized region  ? 

Thanks.
Mehmet.