aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/crc32c/crc32c.h
blob: 17b554c8e1c734f076db74ad0567aae65006afaf (plain) (blame)
1
2
3
4
5
6
7
8
9
#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;

bool HaveFastCrc32c() noexcept;