limit fstBC to 30bp in Python3 ver.
[GalaxyCodeBases.git] / tools / torrent / mktorrent_crc / crc32.h
blob4e43b4aaededfb2d197bf4af39190efd54b8beb3
1 /* Copyright (C) 2012 Connor Olding
3 * This program is licensed under the terms of the MIT License, and
4 * is distributed without any warranty. You should have received a
5 * copy of the license along with this program; see the file LICENSE.
6 */
8 enum { CRC_TABLE_SIZE = 0x100 };
10 void crc_fill_table(ulong *table, int big, ulong polynomial);
11 void crc_be_cycle(ulong *table, ulong *remainder, char c);
12 void crc_le_cycle(ulong *table, ulong *remainder, char c);
13 ulong crc_reflect(ulong input);