Implements a CRC-32 generator.
|
| kStatus | kCrc32_Begin (kCrc32 crc, kCrc32Item *item) |
| | Begins a streaming CRC calculation. More...
|
| |
| kStatus | kCrc32_Calculate (kCrc32 crc, const void *data, kSize size, k32u *result) |
| | Performs a CRC-32 calculation over the given data. More...
|
| |
| kStatus | kCrc32_Construct (kCrc32 *crc, k32u polynomial, kAlloc allocator) |
| | Constructs a kCrc32 object. More...
|
| |
| kCrc32 | kCrc32_Normal () |
| | Returns a kCrc32 object initialized with polynomial kCRC32_POLYNOMIAL_NORMAL. More...
|
| |
| k32u | kCrc32_Result (kCrc32 crc, const kCrc32Item *item) |
| | Calculates current result of a streaming CRC calculation. More...
|
| |
| kStatus | kCrc32_Update (kCrc32 crc, kCrc32Item *item, const void *data, kSize size) |
| | Updates a streaming CRC calculation. More...
|
| |