Lines Matching refs:HashCalculator
31 HashCalculator::HashCalculator() : valid_(false) { in HashCalculator() function in chromeos_update_engine::HashCalculator
38 bool HashCalculator::Update(const void* data, size_t length) { in Update()
47 off_t HashCalculator::UpdateFile(const string& name, off_t length) { in UpdateFile()
77 bool HashCalculator::Finalize() { in Finalize()
89 bool HashCalculator::RawHashOfBytes(const void* data, in RawHashOfBytes()
92 HashCalculator calc; in RawHashOfBytes()
99 bool HashCalculator::RawHashOfData(const brillo::Blob& data, in RawHashOfData()
104 off_t HashCalculator::RawHashOfFile(const string& name, off_t length, in RawHashOfFile()
106 HashCalculator calc; in RawHashOfFile()
118 string HashCalculator::HashOfBytes(const void* data, size_t length) { in HashOfBytes()
119 HashCalculator calc; in HashOfBytes()
125 string HashCalculator::HashOfString(const string& str) { in HashOfString()
129 string HashCalculator::HashOfData(const brillo::Blob& data) { in HashOfData()
133 string HashCalculator::GetContext() const { in GetContext()
137 bool HashCalculator::SetContext(const string& context) { in SetContext()