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.

CC2642R: Implementation of cryptographic algorithm in CC2642

Part Number: CC2642R

Dear Team,

We are trying to implement AES cryptographic algorithm in CC2642 using the given example code from the Texas Instrument( Please refer the link). But the given code is encrypting only 16 characters of data and it is not encrypting the rest of the data.

Please guide us on how we can encrypt 128 characters using AES algorithm. 

www.ti.com/.../slaa547c.pdf

  • Hi Viknesh,

    I recommend that you reference the AESECB.h code examples from the TI Drivers Runtime APIs.  The inputLength used in the Encryption of multiple plaintext blocks in blocking mode example is a size of 32 bytes but as mentioned in the comments the input length can be any non-zero multiple of block-size (16 bytes) for one-step operations.

    Regards,
    Ryan