A crc-64 implementation, using pclmul where possible.
More...
#include "CxxUtils/features.h"
#include <memory>
#include <cstdint>
#include <string>
Go to the source code of this file.
|
void | CxxUtils::deleteCRCTable (CxxUtils::CRCTable *table) |
| Delete a CRCTable object. More...
|
|
std::unique_ptr< CRCTable > | CxxUtils::makeCRCTable (uint64_t p, uint64_t initial=0xffffffffffffffff) |
| Initialize CRC tables and constants. More...
|
|
uint64_t | CxxUtils::crc64_bytewise (const CRCTable &table, const char *data, size_t data_len) |
| Find the CRC-64 of a string, using a byte-by-byte algorithm. More...
|
|
uint64_t | CxxUtils::crc64_bytewise (const char *data, size_t data_len) |
| Find the CRC-64 of a string, using a byte-by-byte algorithm, with the default CRC. More...
|
|
uint64_t | CxxUtils::crc64_bytewise (const std::string &s) |
| Find the CRC-64 of a string, using a byte-by-byte algorithm, with the default CRC. More...
|
|
uint64_t | CxxUtils::crc64 (const CRCTable &table, const char *data, size_t data_len) |
| Find the CRC-64 of a string,. More...
|
|
uint64_t | CxxUtils::crc64 (const char *data, size_t data_len) |
| Find the CRC-64 of a string, with the default CRC. More...
|
|
uint64_t | CxxUtils::crc64 (const std::string &s) |
| Find the CRC-64 of a string, using the default polynomial. More...
|
|
uint64_t | CxxUtils::crc64addint (uint64_t crc, uint64_t x) |
| Extend a previously-calculated CRC to include an int. More...
|
|
std::string | CxxUtils::crc64format (uint64_t crc) |
| Format a CRC-64 as a string. More...
|
|
std::string | CxxUtils::crc64digest (const std::string &str) |
| Return a CRC-64 digest of a string. More...
|
|
A crc-64 implementation, using pclmul where possible.
- Author
- scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Definition in file crc64.h.
◆ ATH_CRC64_VEC