Searched defs:hasher (Results 1 - 4 of 4) sorted by relevance

/system/core/libmemunreachable/
H A DLeak.h45 std::hash<T> hasher; local
46 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
/system/update_engine/payload_generator/
H A Dpayload_file.cc315 HashCalculator hasher; local
316 TEST_AND_RETURN_FALSE(hasher.Update(buf.data(), buf.size()));
317 TEST_AND_RETURN_FALSE(hasher.Finalize());
318 const brillo::Blob& hash = hasher.raw_hash();
H A Ddelta_diff_utils.cc751 HashCalculator hasher; local
752 TEST_AND_RETURN_FALSE(hasher.UpdateFile(part.path, part.size) ==
754 TEST_AND_RETURN_FALSE(hasher.Finalize());
755 const brillo::Blob& hash = hasher.raw_hash();
757 LOG(INFO) << part.path << ": size=" << part.size << " hash=" << hasher.hash();
/system/core/fs_mgr/
H A Dfs_mgr_avb.cpp150 Hasher hasher; local
152 hasher.update(verify_data.vbmeta_images[n].vbmeta_data,
157 bool matched = (memcmp(hasher.finalize(), expected_digest, Hasher::DIGEST_SIZE) == 0);

Completed in 268 milliseconds