Functions#
This section provides a reference to the WRAP Crypto API functions.
Functions#
sl_status_t
sl_si91x_wrap(sl_si91x_wrap_config_t *config, uint8_t *output)
To get the wrapped version of the plain key.
Function Documentation#
sl_si91x_wrap#
sl_status_t sl_si91x_wrap (sl_si91x_wrap_config_t * config, uint8_t * output)
To get the wrapped version of the plain key.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_si91x_wrap_config_t * | [in] | config | Configuration object of type sl_si91x_wrap_config_t |
uint8_t * | [out] | output | Buffer to store the wrapped key. The size of this buffer must be a multiple of 16 bytes. |
Returns
sl_status_t. For more information on status codes, refer to SL STATUS DOCUMENTATION.
Note
Security must be enabled on the device to use this API. Follow the detailed instructions in Section 5.5 - Enable Security Configurations in NWP and M4 Firmware Images of the UG574 SiWx917 SoC Manufacturing Utility User Guide.