MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClCrc_Crc16_example.c File Reference

Example of using function computeCRC16 to perform a CRC-16 checksum generation on a given data buffer. More...

#include <stdint.h>
#include <stddef.h>
#include <mcuxClCrc.h>
#include <mcuxClCore_Examples.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>

Macros

#define NCP_CL_CRC_REF_RESULT
 

Functions

 MCUXCLEXAMPLE_FUNCTION (mcuxClCrc_Crc16_example)
 Performs a call to function mcuxClCrc_computeCRC16.
 

Variables

static const uint8_t data []
 Example data buffer.
 

Detailed Description

Example of using function computeCRC16 to perform a CRC-16 checksum generation on a given data buffer.

Function Documentation

◆ MCUXCLEXAMPLE_FUNCTION()

MCUXCLEXAMPLE_FUNCTION ( mcuxClCrc_Crc16_example  )

Performs a call to function mcuxClCrc_computeCRC16.

Return values
MCUXCLEXAMPLE_STATUS_OKThe example code completed successfully
MCUXCLEXAMPLE_STATUS_ERRORThe example code failed

Variable Documentation

◆ data

const uint8_t data[]
static

Example data buffer.