Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_signer.h39 static bool VerifySignedPayload(const std::string& payload_path,
93 static bool HashPayloadForSigning(const std::string& payload_path,
107 const std::string& payload_path,
122 static bool ExtractPayloadProperties(const std::string& payload_path,
Dpayload_signer.cc83 bool AddSignatureBlobToPayload(const string& payload_path, in AddSignatureBlobToPayload() argument
94 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in AddSignatureBlobToPayload()
231 bool PayloadSigner::VerifySignedPayload(const string& payload_path, in VerifySignedPayload() argument
234 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in VerifySignedPayload()
354 bool PayloadSigner::HashPayloadForSigning(const string& payload_path, in HashPayloadForSigning() argument
371 TEST_AND_RETURN_FALSE(AddSignatureBlobToPayload(payload_path, in HashPayloadForSigning()
388 const string& payload_path, in AddSignatureToPayload() argument
406 TEST_AND_RETURN_FALSE(AddSignatureBlobToPayload(payload_path, in AddSignatureToPayload()
438 const string& payload_path, brillo::KeyValueStore* properties) { in ExtractPayloadProperties() argument
441 utils::ReadFileChunk(payload_path, 0, kMaxPayloadHeaderSize, &payload)); in ExtractPayloadProperties()
[all …]
Dgenerate_delta_main.cc271 int ExtractProperties(const string& payload_path, const string& props_file) { in ExtractProperties() argument
274 PayloadSigner::ExtractPayloadProperties(payload_path, &properties)); in ExtractProperties()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc177 const string& payload_path, in InsertSignaturePlaceholder() argument
183 payload_path, signatures, {}, payload_path, out_metadata_size); in InsertSignaturePlaceholder()
186 static void SignGeneratedPayload(const string& payload_path, in SignGeneratedPayload() argument
192 payload_path, {signature_size}, &hash, nullptr)); in SignGeneratedPayload()
196 payload_path, {signature}, {}, payload_path, out_metadata_size)); in SignGeneratedPayload()
198 payload_path, GetBuildArtifactsPath(kUnittestPublicKeyPath))); in SignGeneratedPayload()
202 const string& payload_path) { in SignGeneratedShellPayload() argument
246 payload_path.c_str(), in SignGeneratedShellPayload()
273 payload_path.c_str(), in SignGeneratedShellPayload()
275 payload_path.c_str()))); in SignGeneratedShellPayload()
[all …]