Lines Matching refs:HashCalculator
30 HashCalculator::HashCalculator() : valid_(false) { in HashCalculator() function in chromeos_update_engine::HashCalculator
37 bool HashCalculator::Update(const void* data, size_t length) { in Update()
46 off_t HashCalculator::UpdateFile(const string& name, off_t length) { in UpdateFile()
76 bool HashCalculator::Finalize() { in Finalize()
83 bool HashCalculator::RawHashOfBytes(const void* data, in RawHashOfBytes()
86 HashCalculator calc; in RawHashOfBytes()
93 bool HashCalculator::RawHashOfData(const brillo::Blob& data, in RawHashOfData()
98 bool HashCalculator::RawHashOfFile(const string& name, brillo::Blob* out_hash) { in RawHashOfFile()
103 off_t HashCalculator::RawHashOfFile(const string& name, in RawHashOfFile()
106 HashCalculator calc; in RawHashOfFile()
118 string HashCalculator::GetContext() const { in GetContext()
122 bool HashCalculator::SetContext(const string& context) { in SetContext()