MCPcopy Create free account
hub / github.com/abstrakraft/android_build / ParseSha1

Function ParseSha1

tools/applypatch/applypatch.c:360–384  ·  view source on GitHub ↗

Take a string 'str' of 40 hex digits and parse it into the 20 byte array 'digest'. 'str' may contain only the digest or be of the form " : ". Return 0 on success, -1 on any error.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

LoadMTDContentsFunction · 0.85
ParseShaArgsFunction · 0.85
applypatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected