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

Function verify_file

verifier24/verifier.cpp:116–304  ·  view source on GitHub ↗

Look for an RSA signature embedded in the .ZIP file comment given the path to the zip. Verify it matches one of the given public keys. Return VERIFY_SUCCESS, VERIFY_FAILURE (if any error is encountered or no key matches the signature).

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 12

SHA_initFunction · 0.85
SHA256_initFunction · 0.85
SHA_updateFunction · 0.85
SHA256_updateFunction · 0.85
SHA_finalFunction · 0.85
SHA256_finalFunction · 0.85
RSA_verifyFunction · 0.85
dsa_sig_unpackFunction · 0.85
p256_from_binFunction · 0.85
p256_ecdsa_verifyFunction · 0.85
load_keysFunction · 0.70
read_pkcs7Function · 0.70

Tested by

no test coverage detected