Home
last modified time | relevance | path

Searched refs:payload_hash (Results 1 – 12 of 12) sorted by relevance

/system/update_engine/payload_consumer/
Dinstall_plan.cc47 (payload_hash == that.payload_hash) && in operator ==()
78 << ", payload hash: " << payload_hash in Dump()
Ddownload_action.cc196 string file_id = utils::CalculateP2PFileId(install_plan_.payload_hash, in PerformAction()
304 code = delta_performer_->VerifyPayload(install_plan_.payload_hash, in TransferComplete()
Dinstall_plan.h60 std::string payload_hash; // SHA256 hash of the payload member
Ddownload_action_unittest.cc148 install_plan.payload_hash = hash; in TestWithData()
374 install_plan.payload_hash = HashCalculator::HashOfString("x"); in TEST()
456 install_plan.payload_hash = "1234hash"; in StartDownload()
/system/update_engine/
Domaha_response_handler_action_unittest.cc156 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
182 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
203 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
235 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
254 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
276 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
295 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
315 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
431 EXPECT_EQ(in.hash, install_plan.payload_hash); in TEST_F()
Domaha_response_handler_action.cc89 install_plan_.payload_hash = response.hash; in PerformAction()
Dupdate_attempter_android.cc154 install_plan_.payload_hash = headers[kPayloadPropertyFileHash]; in ApplyPayload()
Dupdate_attempter.cc973 install_plan.payload_hash + ":" + install_plan.metadata_signature; in ProcessingDone()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc118 brillo::Blob payload_hash, metadata_hash; in CalculateHashForSigning() local
119 CHECK(PayloadSigner::HashPayloadForSigning(in_file, sizes, &payload_hash, in CalculateHashForSigning()
121 CHECK(utils::WriteFile(out_hash_file.c_str(), payload_hash.data(), in CalculateHashForSigning()
122 payload_hash.size())); in CalculateHashForSigning()
Dpayload_signer.cc322 brillo::Blob payload_hash, metadata_hash; in VerifySignedPayload() local
327 &payload_hash, in VerifySignedPayload()
331 TEST_AND_RETURN_FALSE(PayloadVerifier::PadRSA2048SHA256Hash(&payload_hash)); in VerifySignedPayload()
333 signature_blob, public_key_path, payload_hash)); in VerifySignedPayload()
/system/update_engine/common/
Dutils.h56 std::string CalculateP2PFileId(const std::string& payload_hash,
Dutils.cc1101 string CalculateP2PFileId(const string& payload_hash, size_t payload_size) { in CalculateP2PFileId() argument
1102 string encoded_hash = brillo::data_encoding::Base64Encode(payload_hash); in CalculateP2PFileId()