MCPcopy Create free account
hub / github.com/defold/defold / HashLength

Function HashLength

engine/resource/src/resource_util.cpp:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51uint32_t HashLength(dmLiveUpdateDDF::HashAlgorithm algorithm)
52{
53 const uint32_t bitlen[5] = { 0U, 128U, 160U, 256U, 512U };
54 return bitlen[(int) algorithm] / 8U;
55}
56
57void BytesToHexString(const uint8_t* byte_buf, uint32_t byte_buf_len, char* out_buf, uint32_t out_len)
58{

Callers 9

VerifyResourcesBundledFunction · 0.85
VerifyResourceFunction · 0.85
GetProjectIdFunction · 0.85
GetEntryHashLengthFunction · 0.85
CreateEntryMapFunction · 0.85
CreateEntryMapFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TESTFunction · 0.68