Home
last modified time | relevance | path

Searched refs:HashType (Results 1 – 3 of 3) sorted by relevance

/base/update/packaging_tools/
Dcreate_hashdata.py35 HashType = enum.Enum('HashType', ('SHA256', 'SHA384', 'SHA512')) variable
36 HashAlgo = {HashType.SHA256 : hashlib.sha256,
37 HashType.SHA384 : hashlib.sha384,
38 HashType.SHA512 : hashlib.sha512}
159 self.hash_type = HashType(hash_type_value)
198 …hash_check_file_p.write((HashType(self.hash_type.value).name + ' ' + str(self.hash_digest_size) + \
Dcreate_update_package.py25 from create_hashdata import HashType
316 hash_check_data = CreateHash(HashType.SHA256, self.head_list.entry_count)
Dunpack_updater_package.py35 from create_hashdata import HashType