OpenOCD
|
Go to the source code of this file.
Functions | |
uint32_t | crc32_le (uint32_t poly, uint32_t seed, const void *_data, size_t data_len) |
Calculate the CRC32 value of the given data. More... | |
static uint32_t | crc_le_step (uint32_t poly, uint32_t crc, uint32_t data_in, unsigned int data_bits) |
uint32_t crc32_le | ( | uint32_t | poly, |
uint32_t | seed, | ||
const void * | data, | ||
size_t | data_len | ||
) |
Calculate the CRC32 value of the given data.
poly | The polynomial of the CRC |
seed | The seed to use (mostly either 0 or 0xffffffff ) |
data | The data to calculate the CRC32 of |
data_len | The length of the data in data in bytes |
data_len
bytes at data
seed
for the next chunk. Definition at line 33 of file crc32.c.
References crc_le_step().
Referenced by adbg_wb_burst_read(), adbg_wb_burst_write(), and qn908x_probe().
|
static |
Definition at line 19 of file crc32.c.
Referenced by crc32_le().