uint32_t libmem_crc32_direct |
( |
const uint8_t * |
start, |
|
|
size_t |
size, |
|
|
uint32_t |
crc
|
|
) |
|
|
|
Compute CRC-32 checksum of an address range.
-
Parameters:
-
|
start
|
A pointer to the start of the address range. |
|
size
|
The size of the address range in bytes. |
|
crc
|
The initial CRC-32 value. |
-
Returns:
- The computed CRC-32 value.
This function computes a CRC-32 checksum on a block of data using the standard CRC-32 polynomial (0x04C11DB7). Note that this implementation doesn't reflect the input or the output and the result is not inverted.
Example:
|
|