summaryrefslogtreecommitdiff
path: root/mkubootenv/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkubootenv/crc32.h')
-rw-r--r--mkubootenv/crc32.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkubootenv/crc32.h b/mkubootenv/crc32.h
new file mode 100644
index 0000000..6ea89b0
--- /dev/null
+++ b/mkubootenv/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_ */