Searched refs:hash_offset (Results 1 – 8 of 8) sorted by relevance
49 uint32_t hash_offset; in vb2api_init_hash2() local61 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()
382 uint32_t min_offset = 0, hash_offset; in vb2_verify_fw_preamble() local407 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()
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()
90 hash_next = fp->hash_offset; in preamble_tests()
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()
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()
337 uint32_t hash_offset; member
389 unsigned long hash_offset; member