Searched refs:hash_offset (Results 1 – 13 of 13) sorted by relevance
/external/vboot_reference/firmware/lib21/ |
D | api.c | 49 uint32_t hash_offset; in vb2api_init_hash2() local 61 hash_offset = pre->hash_offset; in vb2api_init_hash2() 64 ((uint8_t *)pre + hash_offset); in vb2api_init_hash2() 69 hash_offset += sig->c.total_size; in vb2api_init_hash2()
|
D | common.c | 382 uint32_t min_offset = 0, hash_offset; in vb2_verify_fw_preamble() local 407 hash_offset = preamble->hash_offset; in vb2_verify_fw_preamble() 408 for (i = 0; i < preamble->hash_count; i++, hash_offset = min_offset) { in vb2_verify_fw_preamble() 411 hash_offset); in vb2_verify_fw_preamble() 416 ((uint8_t *)preamble + hash_offset); in vb2_verify_fw_preamble() 420 sig, preamble->c.total_size - hash_offset); in vb2_verify_fw_preamble()
|
/external/u-boot/lib/libavb/ |
D | avb_vbmeta_image.c | 96 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || in avb_vbmeta_image_verify() 184 if (avb_safe_memcmp(authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 197 authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 238 dest->hash_offset = avb_be64toh(dest->hash_offset); in avb_vbmeta_image_header_to_host_byte_order()
|
D | avb_vbmeta_image.h | 124 uint64_t hash_offset; member
|
/external/avb/libavb/ |
D | avb_vbmeta_image.c | 115 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || in avb_vbmeta_image_verify() 203 if (avb_safe_memcmp(authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 216 authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 257 dest->hash_offset = avb_be64toh(dest->hash_offset); in avb_vbmeta_image_header_to_host_byte_order()
|
D | avb_vbmeta_image.h | 143 uint64_t hash_offset; member
|
/external/vboot_reference/tests/ |
D | vb21_api_tests.c | 98 pre->hash_offset = sig_offset = sizeof(*pre); in reset_common_data() 208 sig = (struct vb2_signature *)((uint8_t *)pre + pre->hash_offset); in init_hash_tests() 223 sd->workbuf_preamble_offset + pre->hash_offset, in init_hash_tests() 232 sd->workbuf_preamble_offset + pre->hash_offset + in init_hash_tests() 314 sig = (struct vb2_signature *)((uint8_t *)pre + pre->hash_offset); in check_hash_tests()
|
D | vb21_host_fw_preamble_tests.c | 90 hash_next = fp->hash_offset; in preamble_tests()
|
D | vb21_common_tests.c | 470 sig = (struct vb2_signature *)(buf + pre->hash_offset); in test_verify_fw_preamble() 477 sig = (struct vb2_signature *)(buf + pre->hash_offset); in test_verify_fw_preamble()
|
/external/avb/test/ |
D | avb_vbmeta_image_unittest.cc | 277 h->hash_offset = htobe64(4); in TEST_F() 284 h->hash_offset = htobe64(4); in TEST_F() 470 authentication_block_offset + h.hash_offset, in TEST_F() 485 ASSERT_LT(h.hash_offset, h.signature_offset); in TEST_F() 511 h.hash_offset = htobe64(n64); in TEST_F() 551 EXPECT_EQ(n64, s.hash_offset); in TEST_F()
|
/external/vboot_reference/host/lib21/ |
D | host_fw_preamble.c | 46 hash_next = fp.hash_offset = fp.c.fixed_size + fp.c.desc_size; in vb2_fw_preamble_create() 67 hash_next = fp.hash_offset; in vb2_fw_preamble_create()
|
/external/vboot_reference/firmware/lib21/include/ |
D | vb2_struct.h | 337 uint32_t hash_offset; member
|
/external/avb/ |
D | avbtool | 518 digest_offset = auth_offset + vbmeta_header.hash_offset 1921 self.algorithm_type, self.hash_offset, self.hash_size, 1942 self.hash_offset = 0 1977 self.auxiliary_data_block_size, self.algorithm_type, self.hash_offset, 1995 self.hash_offset, self.hash_size, self.signature_offset, 2826 h.hash_offset = 0
|