MCPcopy 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

TESTFunction · 0.85
CreateManifestHashFunction · 0.85

Calls 1

HashMbedTLSFunction · 0.85

Tested by 1

TESTFunction · 0.68