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

Method Finish

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

Source from the content-addressed store, hash-verified

104 }
105
106 TBase::Result Finish() override
107 {
108 typename TBase::Result result;
109 auto status = BCryptFinishHash(_hHash, result.data(), static_cast<ULONG>(result.size()), 0);
110 CngThrowOnBadStatus("BCryptFinishHash", status);
111 return result;
112 }
113
114private:
115 void Initialise()

Callers 3

FNV1aFunction · 0.45
SHA1Function · 0.45
SHA256Function · 0.45

Calls 3

CngThrowOnBadStatusFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected