/external/avb/libavb_user/ |
D | avb_user_verity.c | 43 uint8_t vbmeta_image[AVB_VBMETA_IMAGE_HEADER_SIZE], in load_top_level_vbmeta_header() 67 vbmeta_image, in load_top_level_vbmeta_header() 109 vbmeta_image, in load_top_level_vbmeta_header() 132 uint8_t vbmeta_image[AVB_VBMETA_IMAGE_HEADER_SIZE]; /* 256 bytes. */ in avb_user_verity_get() local 139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { in avb_user_verity_get() 143 if (avb_memcmp(vbmeta_image, AVB_MAGIC, AVB_MAGIC_LEN) != 0) { in avb_user_verity_get() 152 header = (AvbVBMetaImageHeader*)vbmeta_image; in avb_user_verity_get() 168 uint8_t vbmeta_image[AVB_VBMETA_IMAGE_HEADER_SIZE]; /* 256 bytes. */ in avb_user_verity_set() local 177 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verity_set() 181 if (avb_memcmp(vbmeta_image, AVB_MAGIC, AVB_MAGIC_LEN) != 0) { in avb_user_verity_set() [all …]
|
D | avb_user_verification.c | 43 uint8_t vbmeta_image[AVB_VBMETA_IMAGE_HEADER_SIZE], in load_top_level_vbmeta_header() 67 vbmeta_image, in load_top_level_vbmeta_header() 109 vbmeta_image, in load_top_level_vbmeta_header() 132 uint8_t vbmeta_image[AVB_VBMETA_IMAGE_HEADER_SIZE]; /* 256 bytes. */ in avb_user_verification_get() local 139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { in avb_user_verification_get() 143 if (avb_memcmp(vbmeta_image, AVB_MAGIC, AVB_MAGIC_LEN) != 0) { in avb_user_verification_get() 152 header = (AvbVBMetaImageHeader*)vbmeta_image; in avb_user_verification_get() 169 uint8_t vbmeta_image[AVB_VBMETA_IMAGE_HEADER_SIZE]; /* 256 bytes. */ in avb_user_verification_set() local 178 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verification_set() 182 if (avb_memcmp(vbmeta_image, AVB_MAGIC, AVB_MAGIC_LEN) != 0) { in avb_user_verification_set() [all …]
|
/external/avb/ |
D | aftltool_test.py | 551 vbmeta_image, _ = tool.get_vbmeta_image(image_path) 556 vbmeta_image, [self.get_testdata_path('aftl_pubkey_1.pem')])) 560 vbmeta_image, [self.get_testdata_path('testkey_rsa4096_pub.pem')])) 564 vbmeta_image, [self.get_testdata_path('non_existent_blabli')])) 568 vbmeta_image, [self.get_testdata_path('large_blob.bin')])) 571 self.assertFalse(desc.verify_vbmeta_image(vbmeta_image, [])) 574 self.assertFalse(desc.verify_vbmeta_image(vbmeta_image, None)) 582 vbmeta_image, _ = tool.get_vbmeta_image(image_path) 587 vbmeta_image, [self.get_testdata_path('aftl_pubkey_1.pem')])) 591 vbmeta_image, [self.get_testdata_path('testkey_rsa4096_pub.pem')])) [all …]
|
D | aftltool_integration_test.py | 60 self.vbmeta_image = os.environ.get('AFTL_VBMETA_IMAGE') 63 if (not self.aftl_host or not self.aftl_pubkey or not self.vbmeta_image
|
D | aftltool | 508 def verify_vbmeta_image(self, vbmeta_image, transparency_log_pub_key): argument 520 if not vbmeta_image: 524 vbmeta_hash = hashlib.sha256(vbmeta_image).digest() 1366 def verify_vbmeta_image(self, vbmeta_image, transparency_log_pub_keys): argument 1386 if icp_entry.verify_vbmeta_image(vbmeta_image, pub_key): 1580 vbmeta_image, _ = self.get_vbmeta_image(image_filename) 1581 if not vbmeta_image: 1593 image.seek(len(vbmeta_image)) 1614 image.seek(len(vbmeta_image)) 1661 vbmeta_image, _ = self.get_vbmeta_image(vbmeta_image_path) [all …]
|
D | aftltool.py | 508 def verify_vbmeta_image(self, vbmeta_image, transparency_log_pub_key): argument 520 if not vbmeta_image: 524 vbmeta_hash = hashlib.sha256(vbmeta_image).digest() 1366 def verify_vbmeta_image(self, vbmeta_image, transparency_log_pub_keys): argument 1386 if icp_entry.verify_vbmeta_image(vbmeta_image, pub_key): 1580 vbmeta_image, _ = self.get_vbmeta_image(image_filename) 1581 if not vbmeta_image: 1593 image.seek(len(vbmeta_image)) 1614 image.seek(len(vbmeta_image)) 1661 vbmeta_image, _ = self.get_vbmeta_image(vbmeta_image_path) [all …]
|
D | avbtool.py | 4725 self.avb.append_vbmeta_image(args.image.name, args.vbmeta_image.name,
|
D | avbtool | 4725 self.avb.append_vbmeta_image(args.image.name, args.vbmeta_image.name,
|
D | README.md | 529 --vbmeta_image vbmeta.img
|
/external/avb/test/ |
D | avb_unittest_util.cc | 76 std::string BaseAvbToolTest::CalcVBMetaDigest(const std::string& vbmeta_image, in CalcVBMetaDigest() argument 78 base::FilePath vbmeta_path = testdir_.Append(vbmeta_image); in CalcVBMetaDigest()
|
D | avb_unittest_util.h | 69 std::string CalcVBMetaDigest(const std::string& vbmeta_image,
|
/external/avb/libavb/ |
D | avb_slot_verify.c | 1641 AvbVBMetaData* vbmeta_image = &data->vbmeta_images[n]; in avb_slot_verify_data_free() local 1642 if (vbmeta_image->partition_name != NULL) { in avb_slot_verify_data_free() 1643 avb_free(vbmeta_image->partition_name); in avb_slot_verify_data_free() 1645 if (vbmeta_image->vbmeta_data != NULL) { in avb_slot_verify_data_free() 1646 avb_free(vbmeta_image->vbmeta_data); in avb_slot_verify_data_free()
|