Searched refs:root_hash_size (Results 1 – 7 of 7) sorted by relevance
/external/avb/ |
D | aftltool | 669 (self.version, self.tree_size, self.root_hash_size) = struct.unpack( 674 if self.root_hash_size > 0: 675 self.root_hash = data[0:self.root_hash_size] 676 data = data[self.root_hash_size:] 694 self.root_hash_size = 0 710 return (struct.calcsize(self.FORMAT_STRING_PART_1) + self.root_hash_size + 727 self.root_hash_size, 732 self.version, self.tree_size, self.root_hash_size, 750 if self.root_hash_size < 0 or self.root_hash_size > 128: 752 cls, self.root_hash_size)) [all …]
|
D | aftltool.py | 669 (self.version, self.tree_size, self.root_hash_size) = struct.unpack( 674 if self.root_hash_size > 0: 675 self.root_hash = data[0:self.root_hash_size] 676 data = data[self.root_hash_size:] 694 self.root_hash_size = 0 710 return (struct.calcsize(self.FORMAT_STRING_PART_1) + self.root_hash_size + 727 self.root_hash_size, 732 self.version, self.tree_size, self.root_hash_size, 750 if self.root_hash_size < 0 or self.root_hash_size > 128: 752 cls, self.root_hash_size)) [all …]
|
D | aftltool_test.py | 186 self.test_sth_1.root_hash_size = 32 262 self.test_sth_2.root_hash_size = 32 956 self.assertEqual(d.root_hash_size, 0) 968 self.assertEqual(d.root_hash_size, 32) 1040 d.root_hash_size = -1 1042 d.root_hash_size = 300 1047 d.root_hash_size = 4
|
/external/avb/libavb_aftl/ |
D | avb_aftl_types.h | 113 uint8_t root_hash_size; member
|
D | avb_aftl_util.c | 384 if (!read_u8(&(icp_entry->log_root_descriptor.root_hash_size), in parse_trillian_log_root_descriptor() 390 if (icp_entry->log_root_descriptor.root_hash_size != AVB_AFTL_HASH_SIZE) { in parse_trillian_log_root_descriptor() 397 icp_entry->log_root_descriptor.root_hash_size, in parse_trillian_log_root_descriptor()
|
/external/avb/test/ |
D | avb_aftl_util_unittest.cc | 95 EXPECT_EQ(icp_entry->log_root_descriptor.root_hash_size, in TestAftlIcpEntry()
|
D | avb_aftl_validate_unittest.cc | 161 icp_entry_->log_root_descriptor.root_hash_size = AVB_AFTL_HASH_SIZE; in SetUp()
|