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

Function verify_image

update_verifier/update_verifier.cpp:199–238  ·  view source on GitHub ↗

Returns true to indicate a passing verification (or the error should be ignored); Otherwise returns false on fatal errors, where we should reject the current boot and trigger a fallback. Note that update_verifier should be backward compatible to not reject care_map.txt from old releases, which could otherwise fail to boot into the new release. For example, we've changed the care_map format between

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

update_verifierFunction · 0.85
TEST_FFunction · 0.85

Calls 3

read_blocksFunction · 0.85
getMethod · 0.80
sizeMethod · 0.80

Tested by 1

TEST_FFunction · 0.68