Structure defines the CCM configuration.

This structure defines the CCM configuration required for the operation which includes type of operation, input message, length of input message, key configuration structure, and so on.

Public Attributes#

Encryption or decryption.

const uint8_t *

Pointer to the input message.

uint16_t

Length of the message.

const uint8_t *

Pointer to the Initialization vector.

uint8_t *

Pointer to the tag.

const uint8_t *

Pointer to the additional data.

uint16_t

Length of the Initialization vector.

uint16_t

Length of the tag.

uint16_t

Length of the additional data.

Public Attribute Documentation#

encrypt_decrypt#

sl_si91x_ccm_type_t sl_si91x_ccm_config_t::encrypt_decrypt

Encryption or decryption.


msg#

const uint8_t* sl_si91x_ccm_config_t::msg

Pointer to the input message.


msg_length#

uint16_t sl_si91x_ccm_config_t::msg_length

Length of the message.


nonce#

const uint8_t* sl_si91x_ccm_config_t::nonce

Pointer to the Initialization vector.


tag#

uint8_t* sl_si91x_ccm_config_t::tag

Pointer to the tag.


ad

const uint8_t* sl_si91x_ccm_config_t::ad

Pointer to the additional data.


nonce_length#

uint16_t sl_si91x_ccm_config_t::nonce_length

Length of the Initialization vector.


tag_length#

uint16_t sl_si91x_ccm_config_t::tag_length

Length of the tag.


ad_length#

uint16_t sl_si91x_ccm_config_t::ad_length

Length of the additional data.


key_config#

sl_si91x_ccm_key_config_t sl_si91x_ccm_config_t::key_config

Key configuration.