Constants#

This section provides a reference to the CHACHAPOLY Crypto API constants.

Enumerations#

enum
SL_SI91X_CHACHAPOLY_ENCRYPT = 0
SL_SI91X_CHACHAPOLY_DECRYPT
}

Enumeration defining ChaChaPoly encryption and decryption types.

enum
SL_SI91X_CHACHA20POLY1305_MODE = 0
SL_SI91X_CHACHA20_MODE
SL_SI91X_CHACHAPOLY_POLY1305_KEYR_KEYS_MODE
SL_SI91X_POLY1305_MODE
}

Enumeration defining ChaChaPoly modes supported by the SI91X device.

enum
SL_SI91X_CHACHAPOLY_DMA_DISABLE = 0
SL_SI91X_CHACHAPOLY_DMA_ENABLE
}

Enumeration defines the ChaChaPoly DMA enable, and disable options.

enum
SL_SI91X_CHACHAPOLY_KEY_SIZE_256 = 32
}

Enumeration defines ChaChaPoly key sizes supported by the SI91X device.

Enumeration Documentation#

sl_si91x_chachapoly_type_t#

sl_si91x_chachapoly_type_t

Enumeration defining ChaChaPoly encryption and decryption types.

This enumeration defines the types of ChaChaPoly operations supported, including encryption and decryption.

Enumerator
SL_SI91X_CHACHAPOLY_ENCRYPT

ChaChaPoly Encryption.

SL_SI91X_CHACHAPOLY_DECRYPT

ChaChaPoly Decryption.


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

sl_si91x_chachapoly_mode_t#

sl_si91x_chachapoly_mode_t

Enumeration defining ChaChaPoly modes supported by the SI91X device.

This enumeration defines different ChaChaPoly modes supported by the SI91X device, such as ChaCha20, Poly1305, and ChaCha20Poly1305 modes.

Enumerator
SL_SI91X_CHACHA20POLY1305_MODE

CHACHA20POLY1305 mode.

SL_SI91X_CHACHA20_MODE

CHACHA20 mode.

SL_SI91X_CHACHAPOLY_POLY1305_KEYR_KEYS_MODE

CHACHA20POLY1305 mode with 'R', 'S' keys.

SL_SI91X_POLY1305_MODE

POLY1305 mode.


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

sl_si91x_chachapoly_dma_use_t#

sl_si91x_chachapoly_dma_use_t

Enumeration defines the ChaChaPoly DMA enable, and disable options.

Enumerator
SL_SI91X_CHACHAPOLY_DMA_DISABLE

Disable DMA.

SL_SI91X_CHACHAPOLY_DMA_ENABLE

Enable DMA.


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

sl_si91x_chachapoly_key_size_t#

sl_si91x_chachapoly_key_size_t

Enumeration defines ChaChaPoly key sizes supported by the SI91X device.

This enumeration defines the key sizes supported by the ChaChaPoly encryption algorithm on the SI91X device, that includes 256-bits key size.

Enumerator
SL_SI91X_CHACHAPOLY_KEY_SIZE_256

Key size of 256-bits.


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