Searched refs:expected_public_key_blob (Results 1 – 5 of 5) sorted by relevance
/aosp14/system/core/fs_mgr/libfs_avb/ |
H A D | avb_util.h | 70 const std::string& expected_public_key_blob, 75 const std::string& expected_public_key_blob, 92 const std::string& expected_public_key_blob, bool allow_verification_error, 101 const std::string& ab_other_suffix, const std::string& expected_public_key_blob,
|
H A D | avb_util.cpp | 330 const std::string& expected_public_key_blob, in VerifyVBMetaSignature() argument 352 if (!ValidatePublicKeyBlob(pk_data, pk_len, expected_public_key_blob)) { in VerifyVBMetaSignature() 382 const std::string& expected_public_key_blob, in VerifyVBMetaData() argument 417 VerifyVBMetaSignature(*vbmeta, expected_public_key_blob, out_public_key_data); in VerifyVBMetaData() 481 const std::string& expected_public_key_blob, bool allow_verification_error, in LoadAndVerifyVbmetaByPath() argument 502 fd, partition_name, expected_public_key_blob, out_public_key_data, &verify_result); in LoadAndVerifyVbmetaByPath() 550 const std::string& ab_other_suffix, const std::string& expected_public_key_blob, in LoadAndVerifyVbmetaByPartition() argument 559 auto vbmeta = LoadAndVerifyVbmetaByPath(image_path, partition_name, expected_public_key_blob, in LoadAndVerifyVbmetaByPartition()
|
H A D | fs_avb_util.cpp | 36 const std::string& expected_public_key_blob, in LoadAndVerifyVbmeta() argument 60 return LoadAndVerifyVbmetaByPath(device_path, avb_partition_name, expected_public_key_blob, in LoadAndVerifyVbmeta()
|
/aosp14/system/core/fs_mgr/libfs_avb/include/fs_avb/ |
H A D | fs_avb_util.h | 30 const std::string& expected_public_key_blob, 38 const std::string& expected_public_key_blob, bool allow_verification_error,
|
/aosp14/system/core/fs_mgr/libfs_avb/tests/ |
H A D | avb_util_test.cpp | 491 auto expected_public_key_blob = ExtractPublicKeyAvbBlob(signing_key); in TEST_F() local 493 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, in TEST_F() 497 expected_public_key_blob[10] ^= 0x80; in TEST_F() 499 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, in TEST_F() 511 auto expected_public_key_blob = ExtractPublicKeyAvbBlob(signing_key); 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() 517 expected_public_key_blob[10] ^= 0x80; 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()
|