Searched refs:hasher (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/scripts/update_payload/ |
D | payload.py | 34 def _ReadInt(file_obj, size, is_unsigned, hasher=None): argument 54 common.Read(file_obj, size, hasher=hasher))[0] 78 def ReadFromPayload(self, payload_file, hasher=None): argument 96 magic = common.Read(payload_file, len(self._MAGIC), hasher=hasher) 101 hasher=hasher) 103 hasher=hasher) 112 hasher=hasher) 158 hasher=self.manifest_hasher)
|
D | common.py | 124 def Read(file_obj, length, offset=None, hasher=None): argument 157 if hasher: 158 hasher.update(data)
|
D | applier.py | 73 hasher = hashlib.sha256() 83 hasher.update(data) 90 actual_hash = hasher.digest()
|
D | checker.py | 1277 offset=self.payload.data_offset, hasher=payload_hasher)
|
/system/core/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 | 54 Hasher hasher; in VerifyVbmetaDigest() local 56 hasher.update(vbmeta.data(), vbmeta.size()); in VerifyVbmetaDigest() 60 bool matched = (memcmp(hasher.finalize(), expected_digest, Hasher::DIGEST_SIZE) == 0); in VerifyVbmetaDigest() 70 Hasher hasher; in CalculateVbmetaDigest() local 72 hasher.update(vbmeta.data(), vbmeta.size()); in CalculateVbmetaDigest() 77 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 | 1042 HashCalculator hasher; in InitializePartitionInfo() local 1043 TEST_AND_RETURN_FALSE(hasher.UpdateFile(part.path, part.size) == in InitializePartitionInfo() 1045 TEST_AND_RETURN_FALSE(hasher.Finalize()); in InitializePartitionInfo() 1046 const brillo::Blob& hash = hasher.raw_hash(); in InitializePartitionInfo()
|