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() 114 *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 | 131 auto raw_hash = CalculateHashForPartition(source_device, partition_size); in CreatePartitionUpdate() local 132 if (!raw_hash.has_value()) { in CreatePartitionUpdate() 137 old_partition_info->set_hash(raw_hash->data(), raw_hash->size()); in CreatePartitionUpdate() 140 new_partition_info->set_hash(raw_hash->data(), raw_hash->size()); in CreatePartitionUpdate() 163 brillo::Blob raw_hash; in CalculateHashForPartition() local 164 if (HashCalculator::RawHashOfFile(block_device, partition_size, &raw_hash) != in CalculateHashForPartition() 170 return raw_hash; in CalculateHashForPartition()
|
D | filesystem_verifier_action.cc | 437 << Base64Encode(hasher_->raw_hash()); in FinishPartitionHashing() 441 if (partition.target_hash != hasher_->raw_hash()) { in FinishPartitionHashing() 459 if (partition.source_hash != hasher_->raw_hash()) { in FinishPartitionHashing() 472 << Base64Encode(hasher_->raw_hash()) in FinishPartitionHashing()
|
D | file_descriptor_utils.cc | 70 *hash_out = source_hasher.raw_hash(); in CommonHashExtents()
|
D | delta_performer.cc | 1278 !payload_hash_calculator_.raw_hash().empty()); in VerifyPayload() 1281 payload_hash_calculator_.raw_hash() == update_check_response_hash); in VerifyPayload() 1296 brillo::Blob hash_data = signed_hash_calculator_.raw_hash(); in VerifyPayload()
|
/system/update_engine/cros/ |
D | omaha_response_handler_action.cc | 95 brillo::Blob raw_hash; in PerformAction() local 96 if (!base::HexStringToBytes(package.hash, &raw_hash)) { in PerformAction() 107 .hash = raw_hash, in PerformAction()
|
D | omaha_request_action.cc | 1189 brillo::Blob raw_hash; in LookupPayloadViaP2P() local 1190 if (!base::HexStringToBytes(response.packages[0].hash, &raw_hash)) in LookupPayloadViaP2P() 1193 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 | 888 const brillo::Blob& hash = hasher.raw_hash(); in InitializePartitionInfo()
|