Home
last modified time | relevance | path

Searched refs:hash_algorithm (Results 1 – 6 of 6) sorted by relevance

/base/update/packaging_tools/test/
Dtest_update_package.py64 OPTIONS_MANAGER.hash_algorithm = 'test_algo'
77 OPTIONS_MANAGER.hash_algorithm = 'sha256'
97 OPTIONS_MANAGER.hash_algorithm = 'sha256'
/base/update/packaging_tools/
Dupdate_package.py190 digest = get_hash_content(file_path, OPTIONS_MANAGER.hash_algorithm)
294 def get_signing_from_server(package_path, hash_algorithm, hash_code=None): argument
314 (package_path, hash_algorithm, hash_code))
463 def get_hash_content(file_path, hash_algorithm): argument
471 cmd = [LINUX_HASH_ALGORITHM_DICT[hash_algorithm], file_path]
474 "Unsupported hash algorithm! %s" % hash_algorithm,
479 "%s failed!" % LINUX_HASH_ALGORITHM_DICT[hash_algorithm],
487 if len(hash_content) != HASH_CONTENT_LEN_DICT.get(hash_algorithm):
DREADME_zh.md76 -ha {sha256,sha384}, --hash_algorithm {sha256,sha384} The hash algorithm supported by the tool…
Dbuild_update.py224 OPTIONS_MANAGER.hash_algorithm = args.hash_algorithm
241 OPTIONS_MANAGER.hash_algorithm,
807 partition_file, signing_algorithm, hash_algorithm, private_key = \
DREADME.md64 -ha {sha256,sha384}, --hash_algorithm {sha256,sha384} Hash algorithms supported by the tool, in…
Dutils.py143 self.hash_algorithm = None
440 OPTIONS_MANAGER.hash_algorithm = None