Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfs_avb/
Davb_util.h76 const std::string& expected_public_key_blob,
81 const std::string& expected_public_key_blob,
98 const std::string& expected_public_key_blob, bool allow_verification_error,
107 const std::string& ab_other_suffix, const std::string& expected_public_key_blob,
Dfs_avb_util.cpp36 const std::string& expected_public_key_blob, in LoadAndVerifyVbmeta() argument
60 return LoadAndVerifyVbmetaByPath(device_path, avb_partition_name, expected_public_key_blob, in LoadAndVerifyVbmeta()
Davb_util.cpp396 const std::string& expected_public_key_blob, in VerifyVBMetaSignature() argument
418 if (!ValidatePublicKeyBlob(pk_data, pk_len, expected_public_key_blob)) { in VerifyVBMetaSignature()
448 const std::string& expected_public_key_blob, in VerifyVBMetaData() argument
483 VerifyVBMetaSignature(*vbmeta, expected_public_key_blob, out_public_key_data); in VerifyVBMetaData()
547 const std::string& expected_public_key_blob, bool allow_verification_error, in LoadAndVerifyVbmetaByPath() argument
568 fd, partition_name, expected_public_key_blob, out_public_key_data, &verify_result); in LoadAndVerifyVbmetaByPath()
616 const std::string& ab_other_suffix, const std::string& expected_public_key_blob, in LoadAndVerifyVbmetaByPartition() argument
625 auto vbmeta = LoadAndVerifyVbmetaByPath(image_path, partition_name, expected_public_key_blob, in LoadAndVerifyVbmetaByPartition()
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb_util.h30 const std::string& expected_public_key_blob,
38 const std::string& expected_public_key_blob, bool allow_verification_error,
/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp486 auto expected_public_key_blob = ExtractPublicKeyAvbBlob(signing_key); in TEST_F() local
488 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, in TEST_F()
492 expected_public_key_blob[10] ^= 0x80; in TEST_F()
494 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, in TEST_F()
506 auto expected_public_key_blob = ExtractPublicKeyAvbBlob(signing_key); in TEST_F() local
508 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, &out_public_key_data)); in TEST_F()
509 EXPECT_EQ(out_public_key_data, expected_public_key_blob); in TEST_F()
512 expected_public_key_blob[10] ^= 0x80; in TEST_F()
514 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, &out_public_key_data)); in TEST_F()
515 EXPECT_NE(out_public_key_data, expected_public_key_blob); in TEST_F()