|
|
1.1 root 1: /* Copyright (C) 2004 TrueCrypt Team, truecrypt.org
2: This product uses components written by Paul Le Roux <[email protected]> */
3:
4: extern unsigned long crc_32_tab[];
5:
6: #define UPDC32(octet, crc)\
7: (unsigned long)((crc_32_tab[(((unsigned long)(crc)) ^ ((unsigned char)(octet))) & 0xff] ^ (((unsigned long)(crc)) >> 8)))
8:
9: unsigned long crc32 (unsigned char *data, int length);
10: unsigned long crc32long (unsigned long *data);
11: int crc32_selftest (void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.