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.cpp398 const std::string& expected_public_key_blob, in VerifyVBMetaSignature() argument
420 if (!ValidatePublicKeyBlob(pk_data, pk_len, expected_public_key_blob)) { in VerifyVBMetaSignature()
450 const std::string& expected_public_key_blob, in VerifyVBMetaData() argument
485 VerifyVBMetaSignature(*vbmeta, expected_public_key_blob, out_public_key_data); in VerifyVBMetaData()
549 const std::string& expected_public_key_blob, bool allow_verification_error, in LoadAndVerifyVbmetaByPath() argument
570 fd, partition_name, expected_public_key_blob, out_public_key_data, &verify_result); in LoadAndVerifyVbmetaByPath()
618 const std::string& ab_other_suffix, const std::string& expected_public_key_blob, in LoadAndVerifyVbmetaByPartition() argument
627 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.cpp490 auto expected_public_key_blob = ExtractPublicKeyAvbBlob(signing_key); in TEST_F() local
492 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, in TEST_F()
496 expected_public_key_blob[10] ^= 0x80; in TEST_F()
498 VerifyVBMetaSignature(vbmeta, expected_public_key_blob, in TEST_F()
510 auto expected_public_key_blob = ExtractPublicKeyAvbBlob(signing_key); 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()
516 expected_public_key_blob[10] ^= 0x80; 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()