MCPcopy 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

TESTFunction · 0.85
CreateResourceHashFunction · 0.85
CreateManifestHashFunction · 0.85

Calls 1

HashMbedTLSFunction · 0.85

Tested by 1

TESTFunction · 0.68