/system/extras/verity/ |
D | build_verity_tree_main.cpp | 54 std::string hash_algorithm; in main() local 102 hash_algorithm = optarg; in main() 116 auto hash_function = hash_algorithm.empty() in main() 118 : HashTreeBuilder::HashFunction(hash_algorithm); in main()
|
/system/extras/libfec/ |
D | avb_utils.cpp | 135 std::string hash_algorithm = in parse_avb_image() local 136 reinterpret_cast<char *>(hashtree_descriptor.hash_algorithm); in parse_avb_image() 138 if (android::base::EqualsIgnoreCase(hash_algorithm, "sha1")) { in parse_avb_image() 140 } else if (android::base::EqualsIgnoreCase(hash_algorithm, "sha256")) { in parse_avb_image() 143 error("unsupported hash algorithm %s", hash_algorithm.c_str()); in parse_avb_image()
|
/system/core/fs_mgr/libfs_avb/include/fs_avb/ |
D | fs_avb.h | 33 HashAlgorithm hash_algorithm; member 39 : digest(std::move(digest_value)), hash_algorithm(algorithm), total_size(size) {} in VBMetaInfo() 100 const HashAlgorithm& hash_algorithm, bool allow_verification_error,
|
/system/apex/apexd/ |
D | apexd_verity.cpp | 74 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in GenerateHashTree() 77 << verity_data.hash_algorithm; in GenerateHashTree() 137 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in CalculateRootDigest() 140 << verity_data.hash_algorithm; in CalculateRootDigest()
|
D | apex_file.h | 35 std::string hash_algorithm; member
|
D | apex_file.cpp | 388 verity_data.hash_algorithm = in VerifyApexVerity() 389 reinterpret_cast<const char*>((*descriptor)->hash_algorithm); in VerifyApexVerity()
|
D | apexd.cpp | 210 verity_data.hash_algorithm, verity_data.root_digest, verity_data.salt); in CreateVerityTable()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_test.cpp | 118 EXPECT_EQ(HashAlgorithm::kSHA256, avb_handle->vbmeta_info().hash_algorithm); in TEST_F() 131 EXPECT_EQ(HashAlgorithm::kSHA256, avb_handle->vbmeta_info().hash_algorithm); in TEST_F() 202 EXPECT_EQ(HashAlgorithm::kSHA256, avb_handle->vbmeta_info().hash_algorithm); in TEST_F() 236 EXPECT_EQ(HashAlgorithm::kSHA256, avb_handle->vbmeta_info().hash_algorithm); in TEST_F()
|
D | fs_avb_util_test.cpp | 94 std::string(reinterpret_cast<const char*>(hashtree_desc->hash_algorithm))); in TEST_F()
|
D | fs_avb_test_util.cpp | 51 const std::string& hash_algorithm) { in CalcVBMetaDigest() argument 61 image_path.value().c_str(), hash_algorithm.c_str(), in CalcVBMetaDigest()
|
D | fs_avb_test_util.h | 76 std::string CalcVBMetaDigest(const std::string& file_name, const std::string& hash_algorithm);
|
/system/security/fsverity/libfsverity_rs/ |
D | sys.rs | 48 pub hash_algorithm: u32, field
|
D | lib.rs | 53 hash_algorithm: FS_VERITY_HASH_ALG_SHA256, in enable()
|
/system/core/fs_mgr/libfs_avb/ |
D | fs_avb.cpp | 188 const HashAlgorithm& hash_algorithm, bool allow_verification_error, in LoadAndVerifyVbmeta() argument 255 if (hash_algorithm == HashAlgorithm::kSHA256) { in LoadAndVerifyVbmeta() 258 } else if (hash_algorithm == HashAlgorithm::kSHA512) { in LoadAndVerifyVbmeta() 265 avb_handle->vbmeta_info_ = VBMetaInfo(digest, hash_algorithm, total_size); in LoadAndVerifyVbmeta()
|
D | avb_util.cpp | 62 std::ostringstream hash_algorithm; in ConstructVerityTable() local 63 hash_algorithm << hashtree_desc.hash_algorithm; in ConstructVerityTable() 69 hashtree_desc.tree_offset / hashtree_desc.hash_block_size, hash_algorithm.str(), in ConstructVerityTable()
|
/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 68 const std::string& hash_algorithm, const std::string& root_digest, in DmTargetVerity() argument 79 hash_algorithm, in DmTargetVerity()
|
/system/security/ondevice-signing/ |
D | VerityUtils.cpp | 74 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256, in createDigest() 150 arg.hash_algorithm = FS_VERITY_HASH_ALG_SHA256; in enableFsVerity()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 49 reinterpret_cast<const char*>(hashtree.hash_algorithm); in AvbDescriptorCallback()
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm_target.h | 124 uint32_t hash_start_block, const std::string& hash_algorithm,
|