Structure defining GCM configuration.

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

Public Attributes#

Encryption or decryption.

DMA Disable or Enable.

const uint8_t *

Pointer to the input message.

uint16_t

Length of the message.

const uint8_t *

Pointer to the Initialization vector.

const uint8_t *

Pointer to the additional data.

uint16_t

Length of the Initialization vector.

uint16_t

Length of the additional data.

Public Attribute Documentation#

encrypt_decrypt#

sl_si91x_gcm_type_t sl_si91x_gcm_config_t::encrypt_decrypt

Encryption or decryption.


dma_use#

sl_si91x_gcm_dma_use_t sl_si91x_gcm_config_t::dma_use

DMA Disable or Enable.


msg#

const uint8_t* sl_si91x_gcm_config_t::msg

Pointer to the input message.


msg_length#

uint16_t sl_si91x_gcm_config_t::msg_length

Length of the message.


nonce#

const uint8_t* sl_si91x_gcm_config_t::nonce

Pointer to the Initialization vector.


ad

const uint8_t* sl_si91x_gcm_config_t::ad

Pointer to the additional data.


nonce_length#

uint16_t sl_si91x_gcm_config_t::nonce_length

Length of the Initialization vector.


ad_length#

uint16_t sl_si91x_gcm_config_t::ad_length

Length of the additional data.


key_config#

sl_si91x_gcm_key_config_t sl_si91x_gcm_config_t::key_config

Key configuration.