summaryrefslogtreecommitdiff
path: root/c_src/include/linux/crc64.h
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/include/linux/crc64.h')
-rw-r--r--c_src/include/linux/crc64.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/c_src/include/linux/crc64.h b/c_src/include/linux/crc64.h
new file mode 100644
index 00000000..c756e65a
--- /dev/null
+++ b/c_src/include/linux/crc64.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * See lib/crc64.c for the related specification and polynomial arithmetic.
+ */
+#ifndef _LINUX_CRC64_H
+#define _LINUX_CRC64_H
+
+#include <linux/types.h>
+
+u64 __pure crc64_be(u64 crc, const void *p, size_t len);
+#endif /* _LINUX_CRC64_H */