Home
last modified time | relevance | path

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

/ohos5.0/base/update/packaging_tools/
H A Dupdate_package.py184 digest = get_hash_content(file_path, OPTIONS_MANAGER.hash_algorithm)
286 def get_signing_from_server(package_path, hash_algorithm, hash_code=None): argument
306 (package_path, hash_algorithm, hash_code))
521 def get_hash_content(file_path, hash_algorithm): argument
529 cmd = [LINUX_HASH_ALGORITHM_DICT[hash_algorithm], file_path]
532 "Unsupported hash algorithm! %s" % hash_algorithm,
537 "%s failed!" % LINUX_HASH_ALGORITHM_DICT[hash_algorithm],
545 if len(hash_content) != HASH_CONTENT_LEN_DICT.get(hash_algorithm):
H A Dbuild_update.py226 OPTIONS_MANAGER.hash_algorithm = args.hash_algorithm
243 OPTIONS_MANAGER.hash_algorithm,
791 partition_file, signing_algorithm, hash_algorithm, private_key = get_args()
H A DREADME_zh.md76 -ha {sha256,sha384}, --hash_algorithm {sha256,sha384} The hash algorithm supported by the tool…
H A Dutils.py140 self.hash_algorithm = None
453 OPTIONS_MANAGER.hash_algorithm = None
H A DREADME.md64 -ha {sha256,sha384}, --hash_algorithm {sha256,sha384} Hash algorithms supported by the tool, in…
/ohos5.0/base/update/packaging_tools/test/
H A Dtest_update_package.py37 OPTIONS_MANAGER.hash_algorithm = 'sha256'
59 OPTIONS_MANAGER.hash_algorithm = 'sha256'
104 OPTIONS_MANAGER.hash_algorithm = 'test_algo'
/ohos5.0/base/security/code_signature/utils/src/
H A Dfsverity_utils_helper.cpp75 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256, in ComputeDigest()
H A Dcode_sign_block.cpp63 arg.hash_algorithm = verity->hashAlgorithm; in GetOneFileAndCodeSignInfo()
/ohos5.0/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/
H A Dcode_sign_helper.cpp88 path.c_str(), arg.cs_version, arg.hash_algorithm, arg.block_size, arg.sig_size, in ShowCodeSignInfo()
H A Dcode_sign_utils.cpp190 arg.hash_algorithm = DEFAULT_HASH_ALGORITHEM; in EnforceCodeSignForFile()
/ohos5.0/base/security/code_signature/test/unittest/
H A Dcode_sign_utils_test.cpp394 EXPECT_EQ(arg.hash_algorithm, 1);
436 EXPECT_EQ(arg.hash_algorithm, 1);
H A Denable_verity_test.cpp311 arg->hash_algorithm = 1; in FillCommonArgs()