hf mf isen: fix timeout when used over slow link (tcp/bt)
[RRG-proxmark3.git] / common / crc32.h
blob405f19b05fe7586210afdff059ab715c85f40d59
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // CRC32
17 //-----------------------------------------------------------------------------
19 #ifndef __CRC32_H
20 #define __CRC32_H
22 #include "common.h"
24 void crc32_ex(const uint8_t *d, const size_t n, uint8_t *crc);
25 void crc32_append(uint8_t *d, const size_t n);
27 #endif