Home
last modified time | relevance | path

Searched refs:root_hash_size (Results 1 – 7 of 7) sorted by relevance

/external/avb/
Daftltool669 (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 …]
Daftltool.py669 (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 …]
Daftltool_test.py186 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/
Davb_aftl_types.h113 uint8_t root_hash_size; member
Davb_aftl_util.c384 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/
Davb_aftl_util_unittest.cc95 EXPECT_EQ(icp_entry->log_root_descriptor.root_hash_size, in TestAftlIcpEntry()
Davb_aftl_validate_unittest.cc161 icp_entry_->log_root_descriptor.root_hash_size = AVB_AFTL_HASH_SIZE; in SetUp()