summaryrefslogtreecommitdiff
path: root/crc32/crc32.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-03-04 14:16:24 +0100
committerTobias Klauser <klto@zhaw.ch>2010-03-04 14:16:24 +0100
commitde1c4780206373f857a877dfed3940de3cbef2c5 (patch)
tree3a5fe52c5c493a38b4dc4fb838f6857ba4dfce24 /crc32/crc32.h
parenta91fab8e160c4717b184b9963537f68b353cb173 (diff)
Add CRC32 algorithm
Diffstat (limited to 'crc32/crc32.h')
-rw-r--r--crc32/crc32.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/crc32/crc32.h b/crc32/crc32.h
new file mode 100644
index 0000000..6ea89b0
--- /dev/null
+++ b/crc32/crc32.h
@@ -0,0 +1,8 @@
+#ifndef _CRC32_H_
+#define _CRC32_H_
+
+#include <stdint.h>
+
+extern uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len);
+
+#endif /* _CRC32_H_ */