Structure defining ChaChaPoly configuration.

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

Public Attributes#

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 additional data.

Public Attribute Documentation#

encrypt_decrypt#

sl_si91x_chachapoly_type_t sl_si91x_chachapoly_config_t::encrypt_decrypt

Encryption or decryption.


Definition at line 132 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h

chachapoly_mode#

sl_si91x_chachapoly_mode_t sl_si91x_chachapoly_config_t::chachapoly_mode

ChachaPoly mode.


Definition at line 133 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h

dma_use#

sl_si91x_chachapoly_dma_use_t sl_si91x_chachapoly_config_t::dma_use

DMA Disable or Enable.


Definition at line 134 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h

msg#

const uint8_t* sl_si91x_chachapoly_config_t::msg

Pointer to the input message.


Definition at line 135 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h

msg_length#

uint16_t sl_si91x_chachapoly_config_t::msg_length

Length of the message.


Definition at line 136 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h

nonce#

const uint8_t* sl_si91x_chachapoly_config_t::nonce

Pointer to the Initialization vector.


Definition at line 137 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h

ad

const uint8_t* sl_si91x_chachapoly_config_t::ad

Pointer to the additional data.


Definition at line 138 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h

ad_length#

uint16_t sl_si91x_chachapoly_config_t::ad_length

Length of the additional data.


Definition at line 139 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h

key_config#

sl_si91x_chachapoly_key_config_t sl_si91x_chachapoly_config_t::key_config

Key configuration.


Definition at line 140 of file components/device/silabs/si91x/wireless/crypto/chachapoly/inc/sl_si91x_chachapoly.h