Home
last modified time | relevance | path

Searched refs:hasher (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/scripts/update_payload/
Dpayload.py39 def _ReadInt(file_obj, size, is_unsigned, hasher=None): argument
59 common.Read(file_obj, size, hasher=hasher))[0]
83 def ReadFromPayload(self, payload_file, hasher=None): argument
101 magic = common.Read(payload_file, len(self._MAGIC), hasher=hasher)
106 hasher=hasher)
108 hasher=hasher)
117 hasher=hasher)
202 hasher=self.manifest_hasher)
Dcommon.py122 def Read(file_obj, length, offset=None, hasher=None): argument
155 if hasher:
156 hasher.update(data)
Dchecker.py1147 offset=self.payload.data_offset, hasher=payload_hasher)
/system/memory/libmemunreachable/
DLeak.h45 std::hash<T> hasher;
46 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp57 Hasher hasher; in VerifyVbmetaDigest() local
59 hasher.update(vbmeta.data(), vbmeta.size()); in VerifyVbmetaDigest()
63 bool matched = (memcmp(hasher.finalize(), expected_digest, Hasher::DIGEST_SIZE) == 0); in VerifyVbmetaDigest()
73 Hasher hasher; in CalculateVbmetaDigest() local
75 hasher.update(vbmeta.data(), vbmeta.size()); in CalculateVbmetaDigest()
80 digest = BytesToHex(hasher.finalize(), Hasher::DIGEST_SIZE); in CalculateVbmetaDigest()
/system/extras/verity/include/verity/
Dbuild_verity_tree.h29 HashTreeBuilder* hasher,
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc1151 HashCalculator hasher; in InitializePartitionInfo() local
1152 TEST_AND_RETURN_FALSE(hasher.UpdateFile(part.path, part.size) == in InitializePartitionInfo()
1154 TEST_AND_RETURN_FALSE(hasher.Finalize()); in InitializePartitionInfo()
1155 const brillo::Blob& hash = hasher.raw_hash(); in InitializePartitionInfo()