Searched refs:hasher (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/scripts/update_payload/ |
D | payload.py | 39 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)
|
D | common.py | 122 def Read(file_obj, length, offset=None, hasher=None): argument 155 if hasher: 156 hasher.update(data)
|
D | checker.py | 1147 offset=self.payload.data_offset, hasher=payload_hasher)
|
/system/memory/libmemunreachable/ |
D | Leak.h | 45 std::hash<T> hasher; 46 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
|
/system/core/fs_mgr/libfs_avb/ |
D | fs_avb.cpp | 57 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/ |
D | build_verity_tree.h | 29 HashTreeBuilder* hasher,
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils.cc | 1151 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()
|