Home
last modified time | relevance | path

Searched refs:hasher_ (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/payload_consumer/
Dfilesystem_verifier_action.cc130 hasher_.reset(new HashCalculator()); in StartPartitionHashing()
165 if (!hasher_->Update(buffer_.data(), bytes_read)) { in OnReadDoneCallback()
196 if (!hasher_->Finalize()) { in FinishPartitionHashing()
202 LOG(INFO) << "Hash of " << partition.name << ": " << hasher_->hash(); in FinishPartitionHashing()
206 if (partition.target_hash != hasher_->raw_hash()) { in FinishPartitionHashing()
221 if (partition.source_hash != hasher_->raw_hash()) { in FinishPartitionHashing()
234 << StringForHashBytes(hasher_->raw_hash()) in FinishPartitionHashing()
256 hasher_.reset(); in FinishPartitionHashing()
Dfilesystem_verifier_action.h109 std::unique_ptr<HashCalculator> hasher_; variable