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.

The cc26xx BLE data encryption example with older version of TI-RTOS release

Other Parts Discussed in Thread: CC2640, BLE-STACK

We are trying to implement the BLE data encryption on  CC2640. The board is a customer design board using Sensortag as a template. I found there is an example for AES encryption using latest RTOS http://processors.wiki.ti.com/index.php/CC2640_AES_Encryption

But the Ti-RTOS we are using is 2.11.1.09 and we don't want to upgrade for now.

The cc26xxware version is: C:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_00_06_14829.

The CCS version is   6.1.1.00022.

The BLE stack version is: C:\ti\simplelink\ble_cc26xx_2_00_00_42893

Could we do the BLE data encryption without updating the RTOS(HW encryption)? If yes, what's the steps in doing it? The data we are trying to encrypt are 20 bytes data packages. 

Thanks,

Yuan

  • Hello Yuan,

    The decision to use the older BLE-Stack SDK is yours, but we have not tested using the APIs with the older RTOS/driverLib. In theory, it should work as they are ROM APIs and the ROM has not changed.

    I hope this helps.

    Best wishes
  • Which encryption algorithms are support for cc2640? I looked a the rom_crypto.c in latest Ti-RTOS. It looks like it does not support stream cipher encryption.

    Does cc2640 support any stream cipher encryption algorithm like RC4, Rabbit? If we plan to use RC4 or Rabbit, are there any examples for Ti-RTOS 2.11.1.09.  Both hardware encryption or software encryption solutions are welcome.

    Thanks,

    Yuan