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.cpp510 std::string out_public_key_data; in TEST_F() local
513 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, &out_public_key_data)); in TEST_F()
514 EXPECT_EQ(out_public_key_data, expected_public_key_blob); in TEST_F()
519 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, &out_public_key_data)); in TEST_F()
520 EXPECT_NE(out_public_key_data, expected_public_key_blob); in TEST_F()
670 std::string out_public_key_data; in TEST_F() local
672 fd, "vbmeta", "" /*expected_public_key_blob */, &out_public_key_data, &verify_result); in TEST_F()
677 EXPECT_EQ(rsa8192_public_key_blob, out_public_key_data); in TEST_F()
698 std::string out_public_key_data; in TEST_F() local
700 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.h71 std::string* out_public_key_data,
76 std::string* out_public_key_data);
93 bool rollback_protection, bool is_chained_vbmeta, std::string* out_public_key_data,
Davb_util.cpp331 std::string* out_public_key_data) { in VerifyVBMetaSignature() argument
338 if (out_public_key_data != nullptr) { in VerifyVBMetaSignature()
339 out_public_key_data->clear(); in VerifyVBMetaSignature()
341 out_public_key_data->append(reinterpret_cast<const char*>(pk_data), pk_len); in VerifyVBMetaSignature()
383 std::string* out_public_key_data, in VerifyVBMetaData() argument
417 VerifyVBMetaSignature(*vbmeta, expected_public_key_blob, out_public_key_data); in VerifyVBMetaData()
482 bool rollback_protection, bool is_chained_vbmeta, std::string* out_public_key_data, in LoadAndVerifyVbmetaByPath() argument
502 fd, partition_name, expected_public_key_blob, out_public_key_data, &verify_result); in LoadAndVerifyVbmetaByPath()
Dfs_avb_util.cpp37 std::string* out_public_key_data, in LoadAndVerifyVbmeta() argument
63 out_public_key_data, nullptr /* out_verification_disabled */, in LoadAndVerifyVbmeta()