Home
last modified time | relevance | path

Searched refs:g_Crc64Table (Results 1 – 2 of 2) sorted by relevance

/external/lzma/C/
DXzCrc64.c35 UInt64 g_Crc64Table[256 * CRC64_NUM_TABLES]; variable
39 return g_Crc64Update(v, data, size, g_Crc64Table); in Crc64Update()
44 return g_Crc64Update(CRC64_INIT_VAL, data, size, g_Crc64Table) ^ CRC64_INIT_VAL; in Crc64Calc()
56 g_Crc64Table[i] = r; in Crc64GenerateTable()
60 UInt64 r = g_Crc64Table[(size_t)i - 256]; in Crc64GenerateTable()
61 g_Crc64Table[i] = g_Crc64Table[r & 0xFF] ^ (r >> 8); in Crc64GenerateTable()
79 UInt64 x = g_Crc64Table[(size_t)i - 256]; in Crc64GenerateTable()
80 g_Crc64Table[i] = CRC_UINT64_SWAP(x); in Crc64GenerateTable()
DXzCrc64.h13 extern UInt64 g_Crc64Table[];
19 #define CRC64_UPDATE_BYTE(crc, b) (g_Crc64Table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))