Lines Matching refs:hdr
40 struct vb2_keyblock *hdr; in test_verify_keyblock() local
51 hdr = (struct vb2_keyblock *) in test_verify_keyblock()
53 TEST_NEQ((size_t)hdr, 0, "vb2_verify_keyblock() prerequisites"); in test_verify_keyblock()
54 if (!hdr) in test_verify_keyblock()
56 hsize = hdr->keyblock_size; in test_verify_keyblock()
59 Memcpy(h, hdr, hsize); in test_verify_keyblock()
63 Memcpy(h, hdr, hsize); in test_verify_keyblock()
68 Memcpy(h, hdr, hsize); in test_verify_keyblock()
72 Memcpy(h, hdr, hsize); in test_verify_keyblock()
78 Memcpy(h, hdr, hsize); in test_verify_keyblock()
85 Memcpy(h, hdr, hsize); in test_verify_keyblock()
92 Memcpy(h, hdr, hsize); in test_verify_keyblock()
98 Memcpy(h, hdr, hsize); in test_verify_keyblock()
105 Memcpy(h, hdr, hsize); in test_verify_keyblock()
112 Memcpy(h, hdr, hsize); in test_verify_keyblock()
119 Memcpy(h, hdr, hsize); in test_verify_keyblock()
125 Memcpy(h, hdr, hsize); in test_verify_keyblock()
132 Memcpy(h, hdr, hsize); in test_verify_keyblock()
141 Memcpy(h, hdr, hsize); in test_verify_keyblock()
159 free(hdr); in test_verify_keyblock()
176 struct vb2_fw_preamble *hdr; in test_verify_fw_preamble() local
193 hdr = (struct vb2_fw_preamble *) in test_verify_fw_preamble()
196 TEST_PTR_NEQ(hdr, NULL, in test_verify_fw_preamble()
198 if (!hdr) in test_verify_fw_preamble()
200 hsize = (uint32_t) hdr->preamble_size; in test_verify_fw_preamble()
203 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
207 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
212 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
218 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
223 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
230 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
237 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
243 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
251 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
258 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
265 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
272 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
283 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
290 Memcpy(h, hdr, hsize); in test_verify_fw_preamble()
300 free(hdr); in test_verify_fw_preamble()