summaryrefslogtreecommitdiffstats
path: root/include/crypto/crc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/crc.h')
-rw-r--r--include/crypto/crc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/crypto/crc.h b/include/crypto/crc.h
new file mode 100644
index 0000000000..6428634d0a
--- /dev/null
+++ b/include/crypto/crc.h
@@ -0,0 +1,16 @@
+/*
+ * Common values for CRC algorithms
+ */
+
+#ifndef _CRYPTO_CRC_H
+#define _CRYPTO_CRC_H
+
+#include <linux/types.h>
+
+#define CRC32_DIGEST_SIZE 4
+
+struct crc32_state {
+ ulong crc;
+};
+
+#endif