Functions#
This section provides a reference to the Crypto API functions for device attestation.
Functions#
sl_status_t
sl_si91x_attestation_get_token(uint8_t *token, uint16_t length, uint32_t *nonce)
To process the nonce for the attestation token.
Function Documentation#
sl_si91x_attestation_get_token#
sl_status_t sl_si91x_attestation_get_token (uint8_t * token, uint16_t length, uint32_t * nonce)
To process the nonce for the attestation token.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t * | [out] | token | Buffer to store the attestation token. |
uint16_t | [in] | length | Length of the token buffer. |
uint32_t * | [in] | nonce | Nonce value used for generating the attestation token. |
Returns
sl_status_t. For more information on status codes, see SL STATUS DOCUMENTATION for further details.