LibreOffice Module vcl (master) 1
|
Go to the source code of this file.
Macros | |
#define | UPDCRC64(crc, octet) (vcl_crc64Table[((crc) ^ (octet)) & 0xff] ^ ((crc) >> 8)) |
Functions | |
sal_uInt64 | vcl_crc64 (sal_uInt64 Crc, const void *Data, sal_uInt32 DatLen) SAL_THROW_EXTERN_C() |
Evaluate CRC64 over given data. More... | |
const sal_uInt64 * | vcl_get_crc64_table () |
Variables | |
const sal_uInt64 | vcl_crc64Table [256] |
#define UPDCRC64 | ( | crc, | |
octet | |||
) | (vcl_crc64Table[((crc) ^ (octet)) & 0xff] ^ ((crc) >> 8)) |
Definition at line 123 of file checksum.cxx.
sal_uInt64 vcl_crc64 | ( | sal_uInt64 | Crc, |
const void * | Data, | ||
sal_uInt32 | DatLen | ||
) |
Evaluate CRC64 over given data.
This function evaluates the CRC polynomial 0xEDB88320.
Crc | [in] CRC64 over previous data or zero. |
Data | [in] data buffer. |
DatLen | [in] data buffer length. |
Definition at line 129 of file checksum.cxx.
References Data, p, SAL_THROW_EXTERN_C, and UPDCRC64.
Referenced by vcl_get_checksum().
const sal_uInt64 * vcl_get_crc64_table | ( | ) |
Definition at line 149 of file checksum.cxx.
References vcl_crc64Table.
const sal_uInt64 vcl_crc64Table[256] |
Definition at line 29 of file checksum.cxx.
Referenced by vcl_get_crc64_table().