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: TMS320F280039C

Part Number: TMS320F280039C

Tool/software:

I'am currently working in TMS320F280039C AES algorithm i aware its controller dependent.

1. Is it possible to use the AES algorithm as standalone without controller register dependency?

i was previously working with other controller where AES is not controller dependent and it is standalone. It has various library files like (srand) for random seed generation.

2.Test Case #1 with 128 bit key

{
  .keySize = AES_KEY_SIZE_128BIT,
  .keyArray = { 0x16157e2b, 0xa6d2ae28, 0x8815f7ab, 0x3c4fcf09 },
  .dataLength = 64U,
  .plainTextArray  = { 0xe2bec16b, 0x969f402e, 0x117e3de9, 0x2a179373,
                       0x578a2dae, 0x9cac031e, 0xac6fb79e, 0x518eaf45,
                       0x461cc830, 0x11e45ca3, 0x19c1fbe5, 0xef520a1a,
                       0x45249ff6, 0x179b4fdf, 0x7b412bad, 0x10376ce6 },
  .cipherTextArray = { 0xb47bd73a, 0x60367a0d, 0xf3ca9ea8, 0x97ef6624,
                       0x85d5d3f5, 0x9d69b903, 0x5a8985e7, 0xafbafd96,
                       0x7fcdb143, 0x23ce8e59, 0xe3001b88, 0x880603ed,
                       0x5e780c7b, 0x3fade827, 0x71202382, 0xd45d7204 }
},

above code is for convert plain text to cipher text what is concept behind it ?

  • Hi,

    Apologies for the delay in response. No. AES is an integrated module within TMSF280039C. It is not possible to use the module without the controller register dependency. The AES module needs to be configured using their registers as described in the reference manual in order to use it. 

    Conversion between plain text and cipher text is dependent on the AES HW engine within the device. 

    Hope this response helps. 

    Thanks & Regards

    Pramod