Searched refs:root_digest_len (Results 1 – 7 of 7) sorted by relevance
/external/avb/libavb/ |
D | avb_hashtree_descriptor.c | 54 dest->root_digest_len = avb_be32toh(dest->root_digest_len); in avb_hashtree_descriptor_validate_and_byteswap() 61 !avb_safe_add_to(&expected_size, dest->root_digest_len)) { in avb_hashtree_descriptor_validate_and_byteswap()
|
D | avb_hashtree_descriptor.h | 80 uint32_t root_digest_len; member
|
D | avb_slot_verify.c | 1133 if (hashtree_desc.root_digest_len == 0) { in load_and_verify_vbmeta()
|
/external/avb/test/ |
D | avb_util_unittest.cc | 168 h.root_digest_len = htobe32(10); in TEST_F() 220 EXPECT_EQ(10UL, s.root_digest_len); in TEST_F() 239 bad.root_digest_len = htobe32(30); in TEST_F()
|
D | avbtool_unittest.cc | 1188 EXPECT_EQ(20UL, d.root_digest_len); in AddHashtreeFooterTest() 1199 mem_to_hexstring(desc_end + o, d.root_digest_len)); in AddHashtreeFooterTest() 1485 EXPECT_EQ(20UL, d.root_digest_len); in AddHashtreeFooterFECTest() 1496 mem_to_hexstring(desc_end + o, d.root_digest_len)); in AddHashtreeFooterFECTest()
|
/external/avb/ |
D | avbtool | 1397 root_digest_len, self.flags, _) = struct.unpack(self.FORMAT_STRING, 1400 self.SIZE - 16 + partition_name_len + salt_len + root_digest_len, 8) 1417 self.root_digest = data[(self.SIZE + o):(self.SIZE + o + root_digest_len)] 1419 if root_digest_len != self._hashtree_digest_size(): 1420 if root_digest_len != 0:
|
D | avbtool.py | 1397 root_digest_len, self.flags, _) = struct.unpack(self.FORMAT_STRING, 1400 self.SIZE - 16 + partition_name_len + salt_len + root_digest_len, 8) 1417 self.root_digest = data[(self.SIZE + o):(self.SIZE + o + root_digest_len)] 1419 if root_digest_len != self._hashtree_digest_size(): 1420 if root_digest_len != 0:
|