AES CCM encrypt information.
Data Fields | |
uint8_t | key [CY_BLE_ENCRYPTION_KEY_SIZE] |
Array of bytes holding the key. More... | |
uint8_t | nonce [CY_BLE_ENCRYPTION_NONCE_SIZE] |
Array of bytes holding the nonce. More... | |
uint8_t * | data |
Pointer to an array of bytes to be encrypted. More... | |
uint8_t | length |
Length of data in bytes. | |
uint8_t cy_stc_ble_aes_ccm_encrypt_info_t::key[CY_BLE_ENCRYPTION_KEY_SIZE] |
Array of bytes holding the key.
The key must be stored in little endian format.
uint8_t cy_stc_ble_aes_ccm_encrypt_info_t::nonce[CY_BLE_ENCRYPTION_NONCE_SIZE] |
Array of bytes holding the nonce.
The nonce should be in CCM nonce format specified by the Bluetooth Core 5.0 Specification, Vol.6, Part E, Section 2.1
uint8_t* cy_stc_ble_aes_ccm_encrypt_info_t::data |
Pointer to an array of bytes to be encrypted.
The size of the array should be equal to the value of the 'length' parameter. The data must be stored in little endian format.