MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / ParseSha1

Function ParseSha1

applypatch/applypatch.cpp:448–471  ·  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 6

Sha1CheckFnFunction · 0.85
ParsePatchArgsFunction · 0.85
LoadPartitionContentsFunction · 0.85
FindMatchingPatchFunction · 0.85
applypatchFunction · 0.85
applypatch_flashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected