Searched refs:raw_hash (Results 1 – 11 of 11) sorted by relevance
/system/update_engine/common/ |
D | hash_calculator_unittest.cc | 51 brillo::Blob raw_hash(std::begin(kExpectedRawHash), in TEST_F() local 53 EXPECT_EQ(raw_hash, calc.raw_hash()); in TEST_F() 61 brillo::Blob raw_hash(std::begin(kExpectedRawHash), in TEST_F() local 63 EXPECT_EQ(raw_hash, calc.raw_hash()); in TEST_F() 75 brillo::Blob raw_hash(std::begin(kExpectedRawHash), in TEST_F() local 77 EXPECT_EQ(raw_hash, calc_next.raw_hash()); in TEST_F() 103 brillo::data_encoding::Base64Encode(calc.raw_hash())); in TEST_F() 114 brillo::Blob raw_hash(std::begin(kExpectedRawHash), in TEST_F() local 116 EXPECT_EQ(raw_hash, calc.raw_hash()); in TEST_F() 125 brillo::data_encoding::Base64Encode(calc.raw_hash())); in TEST_F() [all …]
|
D | hash_calculator.cc | 89 *out_hash = calc.raw_hash(); in RawHashOfBytes() 109 *out_hash = calc.raw_hash(); in RawHashOfFile()
|
D | hash_calculator.h | 57 const brillo::Blob& raw_hash() const { in raw_hash() function
|
/system/update_engine/payload_consumer/ |
D | partition_update_generator_android.cc | 184 auto raw_hash = CalculateHashForPartition(source_device, partition_size); in CreatePartitionUpdate() local 185 if (!raw_hash.has_value()) { in CreatePartitionUpdate() 188 old_partition_info->set_hash(raw_hash->data(), raw_hash->size()); in CreatePartitionUpdate() 191 new_partition_info->set_hash(raw_hash->data(), raw_hash->size()); in CreatePartitionUpdate() 214 brillo::Blob raw_hash; in CalculateHashForPartition() local 215 if (HashCalculator::RawHashOfFile(block_device, partition_size, &raw_hash) != in CalculateHashForPartition() 221 return raw_hash; in CalculateHashForPartition()
|
D | filesystem_verifier_action.cc | 267 << Base64Encode(hasher_->raw_hash()); in FinishPartitionHashing() 271 if (partition.target_hash != hasher_->raw_hash()) { in FinishPartitionHashing() 289 if (partition.source_hash != hasher_->raw_hash()) { in FinishPartitionHashing() 302 << Base64Encode(hasher_->raw_hash()) in FinishPartitionHashing()
|
D | file_descriptor_utils.cc | 70 *hash_out = source_hasher.raw_hash(); in CommonHashExtents()
|
D | delta_performer.cc | 1736 !payload_hash_calculator_.raw_hash().empty()); in VerifyPayload() 1739 payload_hash_calculator_.raw_hash() == update_check_response_hash); in VerifyPayload() 1743 brillo::Blob hash_data = signed_hash_calculator_.raw_hash(); in VerifyPayload()
|
/system/update_engine/ |
D | omaha_response_handler_action.cc | 96 brillo::Blob raw_hash; in PerformAction() local 97 if (!base::HexStringToBytes(package.hash, &raw_hash)) { in PerformAction() 108 .hash = raw_hash, in PerformAction()
|
D | omaha_request_action.cc | 1157 brillo::Blob raw_hash; in LookupPayloadViaP2P() local 1158 if (!base::HexStringToBytes(response.packages[0].hash, &raw_hash)) in LookupPayloadViaP2P() 1161 utils::CalculateP2PFileId(raw_hash, response.packages[0].size); in LookupPayloadViaP2P()
|
/system/update_engine/payload_generator/ |
D | payload_signer.cc | 205 *out_hash_data = calc.raw_hash(); in CalculateHashFromPayload()
|
D | delta_diff_utils.cc | 892 const brillo::Blob& hash = hasher.raw_hash(); in InitializePartitionInfo()
|