projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHG: 'lf cotag read' - it now follows "lf config" settings when collecting signaldata.
[proxmark3-svn]
/
common
/
crc32.h
diff --git
a/common/crc32.h
b/common/crc32.h
index 7df7c79d245db165e7eff4279cc105cb59238071..a21b741e3ac0f559a989deb9906c215e58ed9a58 100644
(file)
--- a/
common/crc32.h
+++ b/
common/crc32.h
@@
-9,7
+9,18
@@
#ifndef __CRC32_H
#define __CRC32_H
#ifndef __CRC32_H
#define __CRC32_H
-void crc32 (const uint8_t *data, const size_t len, uint8_t *crc);
+#include <stdint.h>
+#include <stddef.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void crc32_ex(const uint8_t *data, const size_t len, uint8_t *crc);
void crc32_append (uint8_t *data, const size_t len);
void crc32_append (uint8_t *data, const size_t len);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif
Impressum
,
Datenschutz