Home
last modified time | relevance | path

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

/external/avb/libavb/
Davb_vbmeta_image.c88 if ((h.authentication_data_block_size & 0x3f) != 0 || in avb_vbmeta_image_verify()
96 if (!avb_safe_add_to(&block_total, h.authentication_data_block_size) || in avb_vbmeta_image_verify()
116 hash_end > h.authentication_data_block_size) { in avb_vbmeta_image_verify()
122 signature_end > h.authentication_data_block_size) { in avb_vbmeta_image_verify()
173 auxiliary_block = authentication_block + h.authentication_data_block_size; in avb_vbmeta_image_verify()
250 dest->authentication_data_block_size = in avb_vbmeta_image_header_to_host_byte_order()
251 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.c79 avb_be64toh(header->authentication_data_block_size) + in avb_descriptor_foreach()
Davb_slot_verify.c578 vbmeta_header.authentication_data_block_size + in load_and_verify_vbmeta()
653 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()
447 authentication_block_offset + h.authentication_data_block_size; in TEST_F()
486 ASSERT_LT(offset + 1, h.authentication_data_block_size); in TEST_F()
489 h.authentication_data_block_size - offset)); in TEST_F()
505 h.authentication_data_block_size = htobe64(n64); in TEST_F()
[all …]
Davbtool_unittest.cc152 sizeof(AvbVBMetaImageHeader) + h.authentication_data_block_size; in TEST_F()
333 h.authentication_data_block_size + h.public_key_offset; in TEST_F()
/external/avb/
Davbtool508 aux_offset = auth_offset + vbmeta_header.authentication_data_block_size
1844 self.authentication_data_block_size, self.auxiliary_data_block_size,
1863 self.authentication_data_block_size = 0
1900 self.required_libavb_version_minor, self.authentication_data_block_size,
1917 self.authentication_data_block_size,
2102 header.authentication_data_block_size))
2157 size = (header.SIZE + header.authentication_data_block_size +
2170 key_offset += h.authentication_data_block_size
2220 aux_block_offset = auth_block_offset + h.authentication_data_block_size
2256 data_size += h.authentication_data_block_size
[all …]