Searched refs:HashCalculator (Results 1 - 17 of 17) sorted by relevance

/system/update_engine/common/
H A Dhash_calculator.cc31 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 Dhash_calculator_unittest.cc53 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 Dhash_calculator.h38 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 Dfilesystem_verifier_action.h118 std::unique_ptr<HashCalculator> hasher_;
H A Ddelta_performer.h366 HashCalculator payload_hash_calculator_;
371 HashCalculator signed_hash_calculator_;
H A Dfilesystem_verifier_action_unittest.cc178 if (!HashCalculator::RawHashOfData(a_loop_data, &part.target_hash)) {
187 if (!HashCalculator::RawHashOfData(a_loop_data, &part.source_hash)) {
H A Ddelta_performer_integration_test.cc162 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 Dfilesystem_verifier_action.cc176 hasher_.reset(new HashCalculator());
H A Ddownload_action_unittest.cc143 string hash = HashCalculator::HashOfBytes(&data[1], data.size() - 1);
374 install_plan.payload_hash = HashCalculator::HashOfString("x");
H A Ddelta_performer.cc1045 HashCalculator source_hasher;
1177 HashCalculator source_hasher;
1335 HashCalculator metadata_hasher;
1489 HashCalculator operation_hasher;
H A Ddelta_performer_unittest.cc471 EXPECT_TRUE(HashCalculator::RawHashOfData(expected_data, &src_hash));
498 EXPECT_TRUE(HashCalculator::RawHashOfData(expected_data, &src_hash));
/system/update_engine/payload_generator/
H A Dpayload_signer.cc193 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 Dpayload_file.cc228 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfFile(payload_file,
312 HashCalculator hasher;
H A Dab_generator.cc315 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfData(src_data, &src_hash));
H A Dpayload_signer_unittest.cc108 EXPECT_TRUE(HashCalculator::RawHashOfBytes(data_blob.data(),
H A Dab_generator_unittest.cc593 EXPECT_TRUE(HashCalculator::RawHashOfData(src_data, &expected_hash));
H A Ddelta_diff_utils.cc740 HashCalculator hasher;

Completed in 3801 milliseconds