Home
last modified time | relevance | path

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

/aosp_15_r20/system/core/fs_mgr/libfs_avb/
H A Davb_util.cpp331 const std::string& expected_public_key_blob, in VerifyVBMetaSignature() argument
353 if (!ValidatePublicKeyBlob(pk_data, pk_len, expected_public_key_blob)) { in VerifyVBMetaSignature()
383 const std::string& expected_public_key_blob, in VerifyVBMetaData() argument
418 VerifyVBMetaSignature(*vbmeta, expected_public_key_blob, out_public_key_data); in VerifyVBMetaData()
482 const std::string& expected_public_key_blob, bool allow_verification_error, in LoadAndVerifyVbmetaByPath() argument
503 fd, partition_name, expected_public_key_blob, out_public_key_data, &verify_result); in LoadAndVerifyVbmetaByPath()
551 const std::string& ab_other_suffix, const std::string& expected_public_key_blob, in LoadAndVerifyVbmetaByPartition() argument
560 auto vbmeta = LoadAndVerifyVbmetaByPath(image_path, partition_name, expected_public_key_blob, in LoadAndVerifyVbmetaByPartition()
H A Davb_util.h70 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 Dfs_avb_util.cpp37 const std::string& expected_public_key_blob, in LoadAndVerifyVbmeta() argument
61 return LoadAndVerifyVbmetaByPath(device_path, avb_partition_name, expected_public_key_blob, in LoadAndVerifyVbmeta()
/aosp_15_r20/system/core/fs_mgr/libfs_avb/tests/
H A Davb_util_test.cpp492 auto expected_public_key_blob = ExtractPublicKeyAvbBlob(signing_key); in TEST_F() local
494 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, in TEST_F()
498 expected_public_key_blob[10] ^= 0x80; in TEST_F()
500 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, in TEST_F()
512 auto expected_public_key_blob = ExtractPublicKeyAvbBlob(signing_key); in TEST_F() local
514 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, &out_public_key_data)); in TEST_F()
515 EXPECT_EQ(out_public_key_data, expected_public_key_blob); in TEST_F()
518 expected_public_key_blob[10] ^= 0x80; in TEST_F()
520 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, &out_public_key_data)); in TEST_F()
521 EXPECT_NE(out_public_key_data, expected_public_key_blob); in TEST_F()
/aosp_15_r20/system/core/fs_mgr/libfs_avb/include/fs_avb/
H A Dfs_avb_util.h30 const std::string& expected_public_key_blob,
38 const std::string& expected_public_key_blob, bool allow_verification_error,