Hi,
I want to use the AES 128 encryption and decryption algorithm for generation hash key value from BLE stack.
I am using CC 2540 BLE Stack, and in which we have HCIExt_Decrypt command to decrypt the string which is encrypted.
Also, we have the SendCmd available for Decryption for usage.
public bool SendHCIExt(HCICmds.HCIExtCmds.HCIExt_Decrypt cmd)
Similarly, is there any way to encrypt the given string using AES 128 algorithm from CC2540 BLE Stack?
From some reference, i got the below extern functions for Encryption and Random number generation for BLE stack.
extern hciStatus_t HCI_LE_EncryptCmd( uint8 *key, uint8 *plainText );
extern hciStatus_t HCI_LE_RandCmd( void );
Do we have any HCI command or function usage for AES 128 Encryption and Random generation in CC 2540 BLE stack?
Or do we have these functionalities in CC 2640 BLE Stack?
Thanks and Regards,
Ramesh Kumar