]> mj.ucw.cz Git - libucw.git/blob - ucw/crc-tables.h
Opt: Tests and some minor fixes
[libucw.git] / ucw / crc-tables.h
1 /*
2  *      CRC32 (Castagnoli 1993) -- Tables
3  *
4  *      Based on Michael E. Kounavis and Frank L. Berry: A Systematic Approach
5  *      to Building High Performance Software-based CRC Generators
6  *      (Proceedings of the 10th IEEE Symposium on Computers and Communications 2005)
7  *
8  *      Includes code from http://sourceforge.net/projects/slicing-by-8/,
9  *      which carried the following copyright notice:
10  *
11  *      Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
12  *
13  *      This software program is licensed subject to the BSD License,
14  *      available at http://www.opensource.org/licenses/bsd-license.html
15  *
16  *      Adapted for LibUCW by Martin Mares <mj@ucw.cz> in 2012.
17  */
18
19 extern u32 crc_tableil8_o32[256];
20 extern u32 crc_tableil8_o40[256];
21 extern u32 crc_tableil8_o48[256];
22 extern u32 crc_tableil8_o56[256];
23 extern u32 crc_tableil8_o64[256];
24 extern u32 crc_tableil8_o72[256];
25 extern u32 crc_tableil8_o80[256];
26 extern u32 crc_tableil8_o88[256];