SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
To include the AES driver, define HAL_AES=TRUE. The stack requires AES for encryption. Always set this symbol set to TRUE. You cannot reuse DMA channels 1 and 2 because the AES driver uses them. Set the following in hal_aes.h:
You can find the AES API in hal_ase.h. TI recommends letting the application use the HCI encrypt and decrypt functions (from hci.h):