![]() |
CRYPTO-C v1.1.3
C/C++ Documentation
|
Go to the source code of this file.
#include "utildev.h"CRC32 hash function support.
| Param | Value |
|---|---|
| Alias | "CRC-32" |
| Check | 0xCBF43926 (crc32 of "123456789") |
| Poly | 0x04C11DB7 |
| Init | 0xffffffff |
| RefIn | true |
| RefOut | true |
| XorOut | 0xffffffff |
Macros | |
| #define | CRC32LEN 4 |
| CRC32 message digest length, in bytes. | |
Functions | |
| uint32_t | crc32 (void *in, size_t inlen) |
| Compute CRC32 on inlen bytes of in. More... | |
| uint32_t crc32 | ( | void * | in, |
| size_t | inlen | ||
| ) |
Compute CRC32 on inlen bytes of in.
| in | Pointer to data to hash |
| inlen | Length in bytes of in data |
32-bit CRC table