Searched refs:annotation_leaf (Results 1 – 9 of 9) sorted by relevance
202 icp_entry_->annotation_leaf = in SetUp()205 if (!icp_entry_->annotation_leaf) return; in SetUp()206 icp_entry_->annotation_leaf->version = 1; in SetUp()207 icp_entry_->annotation_leaf->timestamp = 0; in SetUp()208 icp_entry_->annotation_leaf->leaf_type = in SetUp()210 icp_entry_->annotation_leaf->annotation = in SetUp()212 if (!icp_entry_->annotation_leaf->annotation) return; in SetUp()213 icp_entry_->annotation_leaf->annotation->vbmeta_hash_size = in SetUp()215 icp_entry_->annotation_leaf->annotation->vbmeta_hash = in SetUp()217 if (!icp_entry_->annotation_leaf->annotation->vbmeta_hash) return; in SetUp()[all …]
101 EXPECT_EQ(icp_entry->annotation_leaf->annotation->vbmeta_hash_size, in TestAftlIcpEntry()
579 icp_entry->annotation_leaf = leaf; in parse_annotation_leaf()877 if (icp_entry->annotation_leaf) { in free_aftl_icp_entry()878 if (icp_entry->annotation_leaf->signature) { in free_aftl_icp_entry()879 if (icp_entry->annotation_leaf->signature->signature) { in free_aftl_icp_entry()880 avb_free(icp_entry->annotation_leaf->signature->signature); in free_aftl_icp_entry()882 avb_free(icp_entry->annotation_leaf->signature); in free_aftl_icp_entry()884 if (icp_entry->annotation_leaf->annotation) { in free_aftl_icp_entry()885 if (icp_entry->annotation_leaf->annotation->vbmeta_hash) in free_aftl_icp_entry()886 avb_free(icp_entry->annotation_leaf->annotation->vbmeta_hash); in free_aftl_icp_entry()887 if (icp_entry->annotation_leaf->annotation->version_incremental) in free_aftl_icp_entry()[all …]
45 if (icp_entry->annotation_leaf->annotation->vbmeta_hash_size != in avb_aftl_verify_vbmeta_hash()53 icp_entry->annotation_leaf->annotation->vbmeta_hash, in avb_aftl_verify_vbmeta_hash()
181 SignedVBMetaPrimaryAnnotationLeaf* annotation_leaf; member
416 self.annotation_leaf = SignedVBMetaPrimaryAnnotationLeaf.parse(432 self.annotation_leaf = SignedVBMetaPrimaryAnnotationLeaf()456 return self.annotation_leaf.get_expected_size()495 leaf_hash = rfc6962_hash_leaf(self.annotation_leaf.encode())529 and self.annotation_leaf.annotation.vbmeta_hash == vbmeta_hash)561 self.annotation_leaf.encode(),578 self.annotation_leaf = SignedVBMetaPrimaryAnnotationLeaf.parse(579 avbm_response.annotation_leaf)610 if (not self.annotation_leaf or611 not isinstance(self.annotation_leaf, Leaf)):[all …]
235 self.test_entry_1.annotation_leaf = self.test_anno_1288 self.test_entry_2.annotation_leaf = self.test_anno_1397 self.test_avbm_resp.annotation_leaf = leaf850 vbmeta_hash = entry.annotation_leaf.annotation.vbmeta_hash853 entry.annotation_leaf.annotation.vbmeta_hash = vbmeta_hash1367 self.assertEqual(icp.annotation_leaf.annotation.version_incremental,1373 icp.annotation_leaf.annotation.manufacturer_key_hash,
48 bytes annotation_leaf = 2; field79 bytes annotation_leaf = 2; field