Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ HashSha256
Function
HashSha256
engine/dlib/src/dlib/crypt_mbedtls.cpp:39–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
}
38
39
void HashSha256(const uint8_t* buf, uint32_t buflen, uint8_t* digest)
40
{
41
HashMbedTLS(MBEDTLS_MD_SHA256, buf, buflen, digest, 32);
42
}
43
44
void HashSha512(const uint8_t* buf, uint32_t buflen, uint8_t* digest)
45
{
Callers
2
TEST
Function · 0.85
CreateManifestHash
Function · 0.85
Calls
1
HashMbedTLS
Function · 0.85
Tested by
1
TEST
Function · 0.68