Functions#

This section provides a reference to the GCM Crypto API functions.

Functions#

sl_status_t
sl_si91x_gcm(sl_si91x_gcm_config_t *config, uint8_t *output)

To encrypt or decrypt the message according to the given configuration.

Function Documentation#

sl_si91x_gcm#

sl_status_t sl_si91x_gcm (sl_si91x_gcm_config_t * config, uint8_t * output)

To encrypt or decrypt the message according to the given configuration.

Parameters
TypeDirectionArgument NameDescription
sl_si91x_gcm_config_t *[in]config

Configuration object of type sl_si91x_gcm_config_t

uint8_t *[out]output

Buffer to store the output.

This is a blocking API. Note

  • The maximum message length supported is 1400 bytes. The M4 receive buffer is limited to 1400 bytes, so both the packet length and expected output must stay within this limit. If the output exceeds 1400 bytes, the NWP will return an error.

Returns