Home
last modified time | relevance | path

Searched refs:signature_file (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/client/
Dincremental.cpp38 std::string signature_file, in read_signature() argument
40 signature_file += IDSIG; in read_signature()
43 if (stat(signature_file.c_str(), &st)) { in read_signature()
45 fprintf(stderr, "Failed to stat signature file %s.\n", signature_file.c_str()); in read_signature()
50 unique_fd fd(adb_open(signature_file.c_str(), O_RDONLY)); in read_signature()
53 fprintf(stderr, "Failed to open signature file: %s.\n", signature_file.c_str()); in read_signature()
73 signature_file.c_str(), (long long)tree_size, (long long)expected); in read_signature()
83 std::string signature_file, in read_and_encode_signature() argument
87 auto [fd, signature] = read_signature(file_size, std::move(signature_file), silent); in read_and_encode_signature()
Dincremental_server.cpp673 std::string signature_file(filepath); in open_signature() local
674 signature_file += IDSIG; in open_signature()
676 unique_fd fd(adb_open(signature_file.c_str(), O_RDONLY)); in open_signature()
678 D("No signature file found for '%s'('%s')", filepath, signature_file.c_str()); in open_signature()
685 signature_file.c_str(), (long long)tree_size, (long long)expected); in open_signature()
690 D("Verity tree loaded: %s, tree size: %d (%d blocks, %d leafs)", signature_file.c_str(), in open_signature()
/system/extras/verity/
Dbuild_verity_metadata.py51 with tempfile.NamedTemporaryFile(suffix='.sig') as signature_file:
55 cmd = [signer_path, table_file.name, key_path, signature_file.name]
58 cmd = [signer_path] + args_list + [table_file.name, key_path, signature_file.name]
61 return signature_file.read()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc133 for (const string& signature_file : signature_files) { in SignatureFileFlagToBlobs() local
135 CHECK(utils::ReadFile(signature_file, &signature)); in SignatureFileFlagToBlobs()