Home
last modified time | relevance | path

Searched refs:HashAlgorithm (Results 1 – 5 of 5) sorted by relevance

/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test.cpp31 using android::fs_mgr::HashAlgorithm;
107 "" /* expected_public_key_blob*/, HashAlgorithm::kSHA256, in TEST_F()
118 EXPECT_EQ(HashAlgorithm::kSHA256, avb_handle->vbmeta_info().hash_algorithm); in TEST_F()
123 "" /* expected_public_key_blob*/, HashAlgorithm::kSHA256, in TEST_F()
131 EXPECT_EQ(HashAlgorithm::kSHA256, avb_handle->vbmeta_info().hash_algorithm); in TEST_F()
180 "" /* expected_public_key_blob*/, HashAlgorithm::kSHA256, in TEST_F()
189 "" /* expected_public_key_blob*/, HashAlgorithm::kSHA256, in TEST_F()
202 EXPECT_EQ(HashAlgorithm::kSHA256, avb_handle->vbmeta_info().hash_algorithm); in TEST_F()
209 "" /* expected_public_key_blob*/, HashAlgorithm::kSHA256, in TEST_F()
225 "" /* expected_public_key_blob*/, HashAlgorithm::kSHA256, in TEST_F()
[all …]
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb.h33 HashAlgorithm hash_algorithm;
38 VBMetaInfo(std::string digest_value, HashAlgorithm algorithm, size_t size) in VBMetaInfo()
100 const HashAlgorithm& hash_algorithm, bool allow_verification_error,
Dtypes.h42 enum class HashAlgorithm { enum
/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp100 HashAlgorithm hash_alg_;
125 avb_verifier->hash_alg_ = HashAlgorithm::kSHA256; in Create()
128 avb_verifier->hash_alg_ = HashAlgorithm::kSHA512; in Create()
160 if (hash_alg_ == HashAlgorithm::kSHA256) { in VerifyVbmetaImages()
163 } else if (hash_alg_ == HashAlgorithm::kSHA512) { in VerifyVbmetaImages()
187 const HashAlgorithm& hash_algorithm, bool allow_verification_error, in LoadAndVerifyVbmeta()
254 if (hash_algorithm == HashAlgorithm::kSHA256) { in LoadAndVerifyVbmeta()
257 } else if (hash_algorithm == HashAlgorithm::kSHA512) { in LoadAndVerifyVbmeta()
379 HashAlgorithm::kSHA256, in LoadAndVerifyVbmeta()
/system/incremental_delivery/incfs/include/
Dincfs.h44 enum class HashAlgorithm { enum