Home
last modified time | relevance | path

Searched refs:annotation_leaf_size (Results 1 – 8 of 8) sorted by relevance

/external/avb/libavb_aftl/
Davb_aftl_util.c567 uint8_t* blob_end = *aftl_blob + icp_entry->annotation_leaf_size; in parse_annotation_leaf()
664 if (!read_u32(&(icp_entry->annotation_leaf_size), aftl_blob, blob_end)) { in parse_icp_entry()
669 if (icp_entry->annotation_leaf_size == 0 || in parse_icp_entry()
670 icp_entry->annotation_leaf_size > AVB_AFTL_MAX_ANNOTATION_SIZE) { in parse_icp_entry()
746 if (*aftl_blob + icp_entry->annotation_leaf_size < *aftl_blob || in parse_icp_entry()
747 *aftl_blob + icp_entry->annotation_leaf_size > blob_end) { in parse_icp_entry()
753 (uint8_t*)avb_calloc(icp_entry->annotation_leaf_size); in parse_icp_entry()
761 icp_entry->annotation_leaf_size); in parse_icp_entry()
Davb_aftl_validate.c65 icp_entry->annotation_leaf_size, in avb_aftl_verify_icp_root_hash()
Davb_aftl_types.h174 uint32_t annotation_leaf_size; member
/external/avb/test/
Davb_aftl_util_unittest.cc86 EXPECT_GT(icp_entry->annotation_leaf_size, 0ul); in TestAftlIcpEntry()
Davb_aftl_validate_unittest.cc199 icp_entry_->annotation_leaf_size = in SetUp()
222 (uint8_t*)avb_calloc(icp_entry_->annotation_leaf_size); in SetUp()
/external/avb/
Daftltool453 def annotation_leaf_size(self): member in AftlIcpEntry
548 self.annotation_leaf_size,
557 self.log_root_descriptor_size, self.annotation_leaf_size,
590 self.annotation_leaf_size + self.log_root_sig_size +
Daftltool.py453 def annotation_leaf_size(self): member in AftlIcpEntry
548 self.annotation_leaf_size,
557 self.log_root_descriptor_size, self.annotation_leaf_size,
590 self.annotation_leaf_size + self.log_root_sig_size +
Daftltool_test.py755 self.assertEqual(entry.annotation_leaf_size, 19)
769 self.assertEqual(entry.annotation_leaf_size, 139)