9.1.2.5 crc_sync_crc32
Calculate CRC32 value of the buffer.
int32_t crc_sync_crc32(
struct crc_sync_descriptor *const descr,
uint32_t *const data,
const uint32_t len,
uint32_t * pcrc
)
This function calculates the standard CRC-32 (IEEE 802.3).
Parameters
- data
-
Type: uint32_t *const
Pointer to the input data buffer
- len
-
Type: const uint32_t
Length of the input data buffer
- pcrc
-
Type: uint32_t *
Pointer to the CRC value
Returns
Type: int32_t
Calculated result.