diff options
Diffstat (limited to 'util/crc32.h')
-rw-r--r-- | util/crc32.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/util/crc32.h b/util/crc32.h new file mode 100644 index 0000000..e48c97d --- /dev/null +++ b/util/crc32.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef crc32_H +#define crc32_H + +#include <stdint.h> +#include <stddef.h> + +uint32_t crc32(uint32_t crc, unsigned char *buf, size_t len); + +#endif |