Lines Matching refs:vbmeta_image
508 def verify_vbmeta_image(self, vbmeta_image, transparency_log_pub_key):
512 vbmeta_image: A bytearray with the VBMeta image.
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):
1370 vbmeta_image: The vbmeta_image that should be verified against the
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)
1663 if not aftl_image or not vbmeta_image:
1665 verified = aftl_image.verify_vbmeta_image(vbmeta_image,
1673 def request_inclusion_proof(self, transparency_log_config, vbmeta_image,
1681 vbmeta_image: A bytearray with the VBMeta image.
1701 vbmeta_hash = hashlib.sha256(vbmeta_image).digest()
1726 vbmeta=vbmeta_image,
1780 vbmeta_image, footer = self.get_vbmeta_image(vbmeta_image_path)
1786 icp_entry = self.request_inclusion_proof(log_config, vbmeta_image,
1792 if not icp_entry.verify_vbmeta_image(vbmeta_image, log_config.pub_key):
1812 if not aftl_image.verify_vbmeta_image(vbmeta_image, keys):
1827 output.write(vbmeta_image)
1832 total_image_size = len(vbmeta_image) + len(encoded_aftl_image)