Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
cy_stc_ble_aes_ccm_decrypt_info_t Struct Reference

Description

AES CCM decrypt 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 * mic
 Pointer to an array of bytes (four Bytes) to provide the MIC value generated during encryption.
 
uint8_t length
 Length of data in bytes.
 

Field Documentation

◆ key

uint8_t cy_stc_ble_aes_ccm_decrypt_info_t::key[CY_BLE_ENCRYPTION_KEY_SIZE]

Array of bytes holding the key.

The key must be stored in little endian format.

◆ nonce

uint8_t cy_stc_ble_aes_ccm_decrypt_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.

◆ data

uint8_t* cy_stc_ble_aes_ccm_decrypt_info_t::data

Pointer to an array of bytes to be encrypted.

Size of the array should be equal to the value of the 'length' parameter. The data must be stored in little endian format.