Searched refs:payload_hash (Results 1 – 12 of 12) sorted by relevance
/system/update_engine/payload_consumer/ |
D | install_plan.cc | 47 (payload_hash == that.payload_hash) && in operator ==() 78 << ", payload hash: " << payload_hash in Dump()
|
D | download_action.cc | 196 string file_id = utils::CalculateP2PFileId(install_plan_.payload_hash, in PerformAction() 304 code = delta_performer_->VerifyPayload(install_plan_.payload_hash, in TransferComplete()
|
D | install_plan.h | 60 std::string payload_hash; // SHA256 hash of the payload member
|
D | download_action_unittest.cc | 148 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/ |
D | omaha_response_handler_action_unittest.cc | 156 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()
|
D | omaha_response_handler_action.cc | 89 install_plan_.payload_hash = response.hash; in PerformAction()
|
D | update_attempter_android.cc | 154 install_plan_.payload_hash = headers[kPayloadPropertyFileHash]; in ApplyPayload()
|
D | update_attempter.cc | 973 install_plan.payload_hash + ":" + install_plan.metadata_signature; in ProcessingDone()
|
/system/update_engine/payload_generator/ |
D | generate_delta_main.cc | 118 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()
|
D | payload_signer.cc | 322 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/ |
D | utils.h | 56 std::string CalculateP2PFileId(const std::string& payload_hash,
|
D | utils.cc | 1101 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()
|