Home
last modified time | relevance | path

Searched refs:inc_proof_size (Results 1 – 6 of 6) sorted by relevance

/external/avb/libavb_aftl/
Davb_aftl_util.c694 if (!read_u32(&(icp_entry->inc_proof_size), aftl_blob, blob_end)) { in parse_icp_entry()
699 if ((icp_entry->inc_proof_size != in parse_icp_entry()
701 (icp_entry->inc_proof_size > AVB_AFTL_MAX_PROOF_SIZE)) { in parse_icp_entry()
786 if (*aftl_blob + icp_entry->inc_proof_size < *aftl_blob || in parse_icp_entry()
787 *aftl_blob + icp_entry->inc_proof_size > blob_end) { in parse_icp_entry()
792 icp_entry->proofs = avb_calloc(icp_entry->inc_proof_size); in parse_icp_entry()
797 avb_memcpy(icp_entry->proofs, *aftl_blob, icp_entry->inc_proof_size); in parse_icp_entry()
798 *aftl_blob += icp_entry->inc_proof_size; in parse_icp_entry()
Davb_aftl_types.h177 uint32_t inc_proof_size; member
/external/avb/test/
Davb_aftl_util_unittest.cc90 EXPECT_GT(icp_entry->inc_proof_size, 0ul); in TestAftlIcpEntry()
103 EXPECT_EQ(icp_entry->proof_hash_count * 32ul, icp_entry->inc_proof_size); in TestAftlIcpEntry()
/external/avb/
Daftltool.py474 def inc_proof_size(self): member in AftlIcpEntry
550 self.inc_proof_size)
559 self.inc_proof_size, self.log_url.encode('ascii'),
591 self.inc_proof_size)
Daftltool474 def inc_proof_size(self): member in AftlIcpEntry
550 self.inc_proof_size)
559 self.inc_proof_size, self.log_url.encode('ascii'),
591 self.inc_proof_size)
Daftltool_test.py758 self.assertEqual(entry.inc_proof_size, 0)
772 self.assertEqual(entry.inc_proof_size, 128)