Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_signer.h39 static bool VerifySignedPayload(const std::string& payload_path,
90 static bool HashPayloadForSigning(const std::string& payload_path,
104 const std::string& payload_path,
120 static bool ExtractPayloadProperties(const std::string& payload_path,
Dpayload_signer.cc90 bool AddSignatureBlobToPayload(const string& payload_path, in AddSignatureBlobToPayload() argument
101 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in AddSignatureBlobToPayload()
249 bool PayloadSigner::VerifySignedPayload(const string& payload_path, in VerifySignedPayload() argument
252 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in VerifySignedPayload()
414 bool PayloadSigner::HashPayloadForSigning(const string& payload_path, in HashPayloadForSigning() argument
432 TEST_AND_RETURN_FALSE(AddSignatureBlobToPayload(payload_path, in HashPayloadForSigning()
449 const string& payload_path, in AddSignatureToPayload() argument
468 TEST_AND_RETURN_FALSE(AddSignatureBlobToPayload(payload_path, in AddSignatureToPayload()
Dpayload_properties.cc54 PayloadProperties::PayloadProperties(const string& payload_path) in PayloadProperties() argument
55 : payload_path_(payload_path) {} in PayloadProperties()
Dpayload_properties.h32 explicit PayloadProperties(const std::string& payload_path);
Dgenerate_delta_main.cc274 bool ExtractProperties(const string& payload_path, in ExtractProperties() argument
278 PayloadProperties payload_props(payload_path); in ExtractProperties()
/system/update_engine/payload_consumer/
Dpayload_metadata.cc202 bool PayloadMetadata::ParsePayloadFile(const string& payload_path, in ParsePayloadFile() argument
207 utils::ReadFileChunk(payload_path, 0, kMaxPayloadHeaderSize, &payload)); in ParsePayloadFile()
212 utils::ReadFileChunk(payload_path, in ParsePayloadFile()
222 payload_path, GetMetadataSize(), GetMetadataSignatureSize(), &payload)); in ParsePayloadFile()
Ddelta_performer_integration_test.cc174 const string& payload_path, in InsertSignaturePlaceholder() argument
179 return PayloadSigner::AddSignatureToPayload(payload_path, in InsertSignaturePlaceholder()
183 payload_path, in InsertSignaturePlaceholder()
187 static void SignGeneratedPayload(const string& payload_path, in SignGeneratedPayload() argument
195 payload_path, {signature_size}, &payload_hash, &metadata_hash)); in SignGeneratedPayload()
201 ASSERT_TRUE(PayloadSigner::AddSignatureToPayload(payload_path, in SignGeneratedPayload()
205 payload_path, in SignGeneratedPayload()
208 payload_path, GetBuildArtifactsPath(kUnittestPublicKeyPath))); in SignGeneratedPayload()
212 const string& payload_path, in SignGeneratedShellPayloadWithKeys() argument
233 payload_path.c_str(), in SignGeneratedShellPayloadWithKeys()
[all …]
Dpayload_metadata.h94 bool ParsePayloadFile(const std::string& payload_path,