CommonLib
Toggle main menu visibility
Loading...
Searching...
No Matches
xxhash64_provider.h
Go to the documentation of this file.
1
#
pragma
once
2
3
#
include
"hash_provider.h"
4
#
include
"../thirdparty/xxHash/xxh3.h"
5
6
namespace
hedgedev::csl::
hash
7
{
8
class
xxhash64_provider
:
public
hash_provider
<
uint64_t
>
9
{
10
private
:
11
XXH3_state_t m_state{};
12
13
public
:
14
xxhash64_provider
();
15
16
bool
reset
()
override
;
17
bool
update
(
const
uint8_t* in_data,
const
size_t in_length)
override
;
18
uint64_t
digest
()
override
;
19
};
20
}
21
22
#
include
"xxhash64_provider.inl"
hedgedev::csl::hash::xxhash64_provider
Definition
xxhash64_provider.h:9
hedgedev::csl::hash::xxhash64_provider::xxhash64_provider
xxhash64_provider()
Definition
xxhash64_provider.inl:5
hedgedev::csl::hash::xxhash64_provider::reset
bool reset() override
Definition
xxhash64_provider.inl:10
hedgedev::csl::hash::xxhash64_provider::digest
uint64_t digest() override
Definition
xxhash64_provider.inl:20
hedgedev::csl::hash::xxhash64_provider::update
bool update(const uint8_t *in_data, const size_t in_length) override
Definition
xxhash64_provider.inl:15
hedgedev::csl::hash
Definition
xxhash64_provider.inl:4
include
hash
xxhash64_provider.h
Generated by
1.18.0