|
OpenOCD
|
A generic CRC32 implementation. More...


Go to the source code of this file.
Macros | |
| #define | CRC32_POLY_LE 0xedb88320 |
| CRC32 polynomial commonly used for little endian CRC32. More... | |
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... | |
A generic CRC32 implementation.
Definition in file crc32.h.
| #define CRC32_POLY_LE 0xedb88320 |
| 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().