Home
last modified time | relevance | path

Searched refs:out_public_key_data (Results 1 – 6 of 6) sorted by relevance

/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_device_test.cpp44 std::string out_public_key_data; in TEST() local
49 &out_public_key_data, &out_avb_partition_name, &out_verify_result); in TEST()
54 EXPECT_NE("", out_public_key_data); in TEST()
79 std::string out_public_key_data; in TEST() local
84 &out_public_key_data, &out_avb_partition_name, &out_verify_result); in TEST()
89 EXPECT_NE("", out_public_key_data); in TEST()
Davb_util_test.cpp509 std::string out_public_key_data; in TEST_F() local
512 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, &out_public_key_data)); in TEST_F()
513 EXPECT_EQ(out_public_key_data, expected_public_key_blob); in TEST_F()
518 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, &out_public_key_data)); in TEST_F()
519 EXPECT_NE(out_public_key_data, expected_public_key_blob); in TEST_F()
667 std::string out_public_key_data; in TEST_F() local
669 fd, "vbmeta", "" /*expected_public_key_blob */, &out_public_key_data, &verify_result); in TEST_F()
674 EXPECT_EQ(rsa8192_public_key_blob, out_public_key_data); in TEST_F()
695 std::string out_public_key_data; in TEST_F() local
697 fd, "system", "" /*expected_public_key_blob */, &out_public_key_data, &verify_result); in TEST_F()
[all …]
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb_util.h31 std::string* out_public_key_data,
39 bool rollback_protection, bool is_chained_vbmeta, std::string* out_public_key_data,
/system/core/fs_mgr/libfs_avb/
Davb_util.h77 std::string* out_public_key_data,
82 std::string* out_public_key_data);
99 bool rollback_protection, bool is_chained_vbmeta, std::string* out_public_key_data,
Dfs_avb_util.cpp37 std::string* out_public_key_data, in LoadAndVerifyVbmeta() argument
63 out_public_key_data, nullptr /* out_verification_disabled */, in LoadAndVerifyVbmeta()
Davb_util.cpp399 std::string* out_public_key_data) { in VerifyVBMetaSignature() argument
406 if (out_public_key_data != nullptr) { in VerifyVBMetaSignature()
407 out_public_key_data->clear(); in VerifyVBMetaSignature()
409 out_public_key_data->append(reinterpret_cast<const char*>(pk_data), pk_len); in VerifyVBMetaSignature()
451 std::string* out_public_key_data, in VerifyVBMetaData() argument
485 VerifyVBMetaSignature(*vbmeta, expected_public_key_blob, out_public_key_data); in VerifyVBMetaData()
550 bool rollback_protection, bool is_chained_vbmeta, std::string* out_public_key_data, in LoadAndVerifyVbmetaByPath() argument
570 fd, partition_name, expected_public_key_blob, out_public_key_data, &verify_result); in LoadAndVerifyVbmetaByPath()