MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / Update

Method Update

src/openrct2/core/Crypt.CNG.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 TBase* Update(const void* data, size_t dataLen) override
100 {
101 auto status = BCryptHashData(_hHash, reinterpret_cast<PBYTE>(const_cast<void*>(data)), static_cast<ULONG>(dataLen), 0);
102 CngThrowOnBadStatus("BCryptHashData", status);
103 return this;
104 }
105
106 TBase::Result Finish() override
107 {

Callers 3

FNV1aFunction · 0.45
SHA1Function · 0.45
SHA256Function · 0.45

Calls 1

CngThrowOnBadStatusFunction · 0.85

Tested by

no test coverage detected