/system/update_engine/common/ |
H A D | hash_calculator.cc | 31 HashCalculator::HashCalculator() : valid_(false) { function in class:chromeos_update_engine::HashCalculator 38 bool HashCalculator::Update(const void* data, size_t length) { 47 off_t HashCalculator::UpdateFile(const string& name, off_t length) { 77 bool HashCalculator::Finalize() { 89 bool HashCalculator::RawHashOfBytes(const void* data, 92 HashCalculator calc; 99 bool HashCalculator::RawHashOfData(const brillo::Blob& data, 104 off_t HashCalculator::RawHashOfFile(const string& name, off_t length, 106 HashCalculator cal [all...] |
H A D | hash_calculator_unittest.cc | 53 HashCalculator calc; 63 HashCalculator calc; 74 HashCalculator calc; 78 HashCalculator calc_next; 89 HashCalculator calc; 122 HashCalculator calc; 131 HashCalculator calc; 151 EXPECT_EQ(2, HashCalculator::RawHashOfFile(data_path, 159 HashCalculator calc; 166 HashCalculator cal [all...] |
H A D | hash_calculator.h | 38 class HashCalculator { class in namespace:chromeos_update_engine 40 HashCalculator(); 74 // previous HashCalculator::GetContext method call. Returns true on success, 102 DISALLOW_COPY_AND_ASSIGN(HashCalculator);
|
/system/update_engine/payload_consumer/ |
H A D | filesystem_verifier_action.h | 118 std::unique_ptr<HashCalculator> hasher_;
|
H A D | delta_performer.h | 366 HashCalculator payload_hash_calculator_; 371 HashCalculator signed_hash_calculator_;
|
H A D | filesystem_verifier_action_unittest.cc | 178 if (!HashCalculator::RawHashOfData(a_loop_data, &part.target_hash)) { 187 if (!HashCalculator::RawHashOfData(a_loop_data, &part.source_hash)) {
|
H A D | delta_performer_integration_test.cc | 162 EXPECT_TRUE(HashCalculator::RawHashOfData(data, &hash)); 753 HashCalculator::RawHashOfFile( 757 EXPECT_TRUE(HashCalculator::RawHashOfData( 857 HashCalculator::HashOfData(state->delta), 893 EXPECT_TRUE(HashCalculator::RawHashOfData(state->new_kernel_data, 900 HashCalculator::RawHashOfFile(state->b_img,
|
H A D | filesystem_verifier_action.cc | 176 hasher_.reset(new HashCalculator());
|
H A D | download_action_unittest.cc | 143 string hash = HashCalculator::HashOfBytes(&data[1], data.size() - 1); 374 install_plan.payload_hash = HashCalculator::HashOfString("x");
|
H A D | delta_performer.cc | 1045 HashCalculator source_hasher; 1177 HashCalculator source_hasher; 1335 HashCalculator metadata_hasher; 1489 HashCalculator operation_hasher;
|
H A D | delta_performer_unittest.cc | 471 EXPECT_TRUE(HashCalculator::RawHashOfData(expected_data, &src_hash)); 498 EXPECT_TRUE(HashCalculator::RawHashOfData(expected_data, &src_hash));
|
/system/update_engine/payload_generator/ |
H A D | payload_signer.cc | 193 HashCalculator::RawHashOfBytes(payload.data(), metadata_size, 199 HashCalculator calc; 422 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfBytes(x_blob.data(), 507 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfBytes(metadata, 542 HashCalculator::RawHashOfFile(payload_path, file_size, &file_hash) == 544 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfBytes(
|
H A D | payload_file.cc | 228 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfFile(payload_file, 312 HashCalculator hasher;
|
H A D | ab_generator.cc | 315 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfData(src_data, &src_hash));
|
H A D | payload_signer_unittest.cc | 108 EXPECT_TRUE(HashCalculator::RawHashOfBytes(data_blob.data(),
|
H A D | ab_generator_unittest.cc | 593 EXPECT_TRUE(HashCalculator::RawHashOfData(src_data, &expected_hash));
|
H A D | delta_diff_utils.cc | 740 HashCalculator hasher;
|