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