diff options
author | Josh Allen <axlecrusher@gmail.com> | 2017-02-10 06:54:58 -0500 |
---|---|---|
committer | Josh Allen <axlecrusher@gmail.com> | 2017-02-10 06:54:58 -0500 |
commit | 9ac3cddf749366f81540aac549ac7583602b7170 (patch) | |
tree | 606fa3d8c650bbbb23133cbe91a238bbc28b62ae /tools/ootx_decode/crc32.h | |
parent | 917a7f7754e47567bf9102b6c26b6649ae6b28dd (diff) | |
download | libsurvive-9ac3cddf749366f81540aac549ac7583602b7170.tar.gz libsurvive-9ac3cddf749366f81540aac549ac7583602b7170.tar.bz2 |
crc check decoded data
Diffstat (limited to 'tools/ootx_decode/crc32.h')
-rw-r--r-- | tools/ootx_decode/crc32.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/ootx_decode/crc32.h b/tools/ootx_decode/crc32.h new file mode 100644 index 0000000..c771d4a --- /dev/null +++ b/tools/ootx_decode/crc32.h @@ -0,0 +1,13 @@ +// (C) 2016 Joshua Allen, MIT/x11 License. +// +//All MIT/x11 Licensed Code in this file may be relicensed freely under the GPL or LGPL licenses. + +#ifndef CRC32_H +#define CRC32_H + +#include <stddef.h> +#include <stdint.h> + +uint32_t crc32(uint32_t crc, uint8_t *buf, size_t size); + +#endif
\ No newline at end of file |