Home
last modified time | relevance | path

Searched refs:authentication_data_block_size (Results 1 – 10 of 10) sorted by relevance

/external/avb/libavb/
Davb_vbmeta_image.c89 if ((h.authentication_data_block_size & 0x3f) != 0 || in avb_vbmeta_image_verify()
97 if (!avb_safe_add_to(&block_total, h.authentication_data_block_size) || in avb_vbmeta_image_verify()
117 hash_end > h.authentication_data_block_size) { in avb_vbmeta_image_verify()
123 signature_end > h.authentication_data_block_size) { in avb_vbmeta_image_verify()
174 auxiliary_block = authentication_block + h.authentication_data_block_size; in avb_vbmeta_image_verify()
251 dest->authentication_data_block_size = in avb_vbmeta_image_header_to_host_byte_order()
252 avb_be64toh(dest->authentication_data_block_size); in avb_vbmeta_image_header_to_host_byte_order()
Davb_vbmeta_image.h135 uint64_t authentication_data_block_size; member
Davb_descriptor.c92 avb_be64toh(header->authentication_data_block_size))) { in avb_descriptor_foreach()
Davb_slot_verify.c820 vbmeta_header.authentication_data_block_size + in load_and_verify_vbmeta()
915 vbmeta_header.authentication_data_block_size + in load_and_verify_vbmeta()
/external/avb/test/
Davb_vbmeta_image_unittest.cc205 h->authentication_data_block_size = htobe64(size); in TEST_F()
221 h->authentication_data_block_size = htobe64(size); in TEST_F()
248 h->authentication_data_block_size = in TEST_F()
249 htobe32(be32toh(h->authentication_data_block_size) - 32); in TEST_F()
278 h->hash_size = htobe64(be64toh(h->authentication_data_block_size)); in TEST_F()
302 h->signature_size = htobe64(be64toh(h->authentication_data_block_size)); in TEST_F()
454 authentication_block_offset + h.authentication_data_block_size; in TEST_F()
493 ASSERT_LT(offset + 1, h.authentication_data_block_size); in TEST_F()
496 h.authentication_data_block_size - offset)); in TEST_F()
512 h.authentication_data_block_size = htobe64(n64); in TEST_F()
[all …]
Davbtool_unittest.cc156 sizeof(AvbVBMetaImageHeader) + h.authentication_data_block_size; in TEST_F()
373 h.authentication_data_block_size + h.public_key_offset; in TEST_F()
/external/avb/
Davbtool.py556 aux_offset = auth_offset + vbmeta_header.authentication_data_block_size
2095 self.authentication_data_block_size, self.auxiliary_data_block_size,
2116 self.authentication_data_block_size = 0
2156 self.authentication_data_block_size,
2416 header.authentication_data_block_size +
2438 header.authentication_data_block_size))
2463 header.authentication_data_block_size +
2537 + header.authentication_data_block_size
2548 key_offset += header.authentication_data_block_size
2664 size = (header.SIZE + header.authentication_data_block_size +
[all …]
Davbtool556 aux_offset = auth_offset + vbmeta_header.authentication_data_block_size
2095 self.authentication_data_block_size, self.auxiliary_data_block_size,
2116 self.authentication_data_block_size = 0
2156 self.authentication_data_block_size,
2416 header.authentication_data_block_size +
2438 header.authentication_data_block_size))
2463 header.authentication_data_block_size +
2537 + header.authentication_data_block_size
2548 key_offset += header.authentication_data_block_size
2664 size = (header.SIZE + header.authentication_data_block_size +
[all …]
Daftltool1559 + header.authentication_data_block_size
Daftltool.py1559 + header.authentication_data_block_size