/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/avb/libavb/ |
D | avb_vbmeta_image.c | 116 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || in avb_vbmeta_image_verify() 204 if (avb_safe_memcmp(authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 217 authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 258 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/u-boot/lib/libavb/ |
D | avb_vbmeta_image.c | 97 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || in avb_vbmeta_image_verify() 185 if (avb_safe_memcmp(authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 198 authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 239 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/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/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/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() 477 authentication_block_offset + h.hash_offset, in TEST_F() 492 ASSERT_LT(h.hash_offset, h.signature_offset); in TEST_F() 518 h.hash_offset = htobe64(n64); in TEST_F() 558 EXPECT_EQ(n64, s.hash_offset); in TEST_F()
|
/external/vboot_reference/firmware/lib21/include/ |
D | vb2_struct.h | 337 uint32_t hash_offset; member
|
/external/u-boot/include/ |
D | cros_ec.h | 103 int cros_ec_read_hash(struct udevice *dev, uint hash_offset,
|
/external/u-boot/drivers/misc/ |
D | cros_ec.c | 502 int cros_ec_read_hash(struct udevice *dev, uint hash_offset, in cros_ec_read_hash() argument 509 p.offset = hash_offset; in cros_ec_read_hash() 532 p.offset = hash_offset; in cros_ec_read_hash()
|
/external/avb/ |
D | avbtool.py | 546 digest_offset = auth_offset + vbmeta_header.hash_offset 2018 self.algorithm_type, self.hash_offset, self.hash_size, 2039 self.hash_offset = 0 2074 self.auxiliary_data_block_size, self.algorithm_type, self.hash_offset, 2092 self.hash_offset, self.hash_size, self.signature_offset, 3017 h.hash_offset = 0
|
D | avbtool | 546 digest_offset = auth_offset + vbmeta_header.hash_offset 2018 self.algorithm_type, self.hash_offset, self.hash_size, 2039 self.hash_offset = 0 2074 self.auxiliary_data_block_size, self.algorithm_type, self.hash_offset, 2092 self.hash_offset, self.hash_size, self.signature_offset, 3017 h.hash_offset = 0
|