aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/crc32c/crc32c.h
blob: e6b767c6071f038d84b80100398e97c1d31ef507 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include <util/system/types.h>

// Threadsafe
ui32 Crc32c(const void* p, size_t size) noexcept;
ui32 Crc32cExtend(ui32 init, const void* data, size_t n) noexcept;
ui32 Crc32cCombine(ui32 blockACrc, ui32 blockBCrc, size_t blockBSize) noexcept;

bool HaveFastCrc32c() noexcept;