MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClCrc_Functions

Defines all functions of mcuxClCrc. More...

Functions

uint16_t mcuxClCrc_computeCRC16 (const uint8_t *pBytes, uint32_t length)
 Compute a 16-bit CRC checksum.
 

Detailed Description

Defines all functions of mcuxClCrc.

Function Documentation

◆ mcuxClCrc_computeCRC16()

uint16_t mcuxClCrc_computeCRC16 ( const uint8_t *  pBytes,
uint32_t  length 
)

Compute a 16-bit CRC checksum.

Compute the 16-bit CRC checksum of a given byte string with the platform-specified 16-bit CRC algorithm.

Parameters
[in]pBytespointer to the byte string
[in]lengthlength (in bytes) of the string
Returns
A code-flow protected error code (see Flow Protection API)
Return values
#crcResult16-bit CRC checksum