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.

TMS320F280039C-Q1: Could you tell me how to use the AES CMAC?

Part Number: TMS320F280039C-Q1
Other Parts Discussed in Thread: C2000WARE

Hi Experts,

Customer need AES CMAC example, they used the below AES CMAC API, when we input 128 bit data, the Key value is not fixed, KEY changes randomly. Is this normal?

https://dev.ti.com/tirex/explore/node?node=A__AAAIXfFs1Xs3BbiBBbGm9Q__c2000ware_software_package__gYkahfz__LATEST

We find there are two path to AES.c and AES.h files as below:

C:\ti\c2000\C2000Ware_5_00_00_00\libraries\security\crypto\c28\aes\include

C:\ti\c2000\C2000Ware_5_00_00_00\driverlib\f28003x\driverlib

Could you tell me how to use the AES CMAC here? Thanks.

  • Hi Shaoxing,

    We find there are two path to AES.c and AES.h files as below:

    You need to use the C:\ti\c2000\C2000Ware_5_00_00_00\libraries\security\crypto\c28\aes\include for the AES CMAC example.

    You can include this path before the driverlib path in the include options to use the aes_common.h file.

    Thanks

    Aswin