Searched refs:HashAlgorithm (Results 1 – 4 of 4) sorted by relevance
/system/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_test.cpp | 31 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/ |
D | fs_avb.h | 33 HashAlgorithm hash_algorithm; 38 VBMetaInfo(std::string digest_value, HashAlgorithm algorithm, size_t size) in VBMetaInfo() 93 const HashAlgorithm& hash_algorithm, bool allow_verification_error,
|
D | types.h | 42 enum class HashAlgorithm { enum
|
/system/core/fs_mgr/libfs_avb/ |
D | fs_avb.cpp | 98 HashAlgorithm hash_alg_; 123 avb_verifier->hash_alg_ = HashAlgorithm::kSHA256; in Create() 126 avb_verifier->hash_alg_ = HashAlgorithm::kSHA512; in Create() 158 if (hash_alg_ == HashAlgorithm::kSHA256) { in VerifyVbmetaImages() 161 } else if (hash_alg_ == HashAlgorithm::kSHA512) { in VerifyVbmetaImages() 185 const HashAlgorithm& hash_algorithm, bool allow_verification_error, in LoadAndVerifyVbmeta() 252 if (hash_algorithm == HashAlgorithm::kSHA256) { in LoadAndVerifyVbmeta() 255 } else if (hash_algorithm == HashAlgorithm::kSHA512) { in LoadAndVerifyVbmeta() 334 HashAlgorithm::kSHA256, in LoadAndVerifyVbmeta()
|