Home
last modified time | relevance | path

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

/aosp14/system/core/fs_mgr/libfs_avb/include/fs_avb/
H A Dfs_avb.h33 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,
/aosp14/system/core/fs_mgr/libfs_avb/tests/
H A Dfs_avb_test.cpp118 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()
H A Dfs_avb_util_test.cpp94 std::string(reinterpret_cast<const char*>(hashtree_desc->hash_algorithm))); in TEST_F()
H A Dfs_avb_test_util.cpp51 const std::string& hash_algorithm) { in CalcVBMetaDigest() argument
61 image_path.value().c_str(), hash_algorithm.c_str(), in CalcVBMetaDigest()
H A Dfs_avb_test_util.h76 std::string CalcVBMetaDigest(const std::string& file_name, const std::string& hash_algorithm);
/aosp14/system/core/fs_mgr/libfs_avb/
H A Dfs_avb.cpp188 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()
H A Davb_util.cpp62 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()
/aosp14/system/core/fs_mgr/libdm/
H A Ddm_target.cpp68 const std::string& hash_algorithm, const std::string& root_digest, in DmTargetVerity() argument
79 hash_algorithm, in DmTargetVerity()
/aosp14/frameworks/base/core/jni/
H A Dcom_android_internal_security_VerityUtils.cpp48 arg.hash_algorithm = FS_VERITY_HASH_ALG_SHA256; // hardcoded in measureFsverity below in enableFsverityForFd()
/aosp14/system/core/fs_mgr/libdm/include/libdm/
H A Ddm_target.h124 uint32_t hash_start_block, const std::string& hash_algorithm,