Lines Matching refs:TEST_EQ
190 TEST_EQ(sd->fw_version, 0x20000, "keyblock version"); in load_keyblock_tests()
191 TEST_EQ(sd->vblock_preamble_offset, sizeof(mock_vblock.k), in load_keyblock_tests()
193 TEST_EQ(sd->workbuf_data_key_offset, in load_keyblock_tests()
197 TEST_EQ(ctx.workbuf_used, in load_keyblock_tests()
204 TEST_EQ(k->sig_alg, VB2_SIG_RSA4096, "data key algorithm"); in load_keyblock_tests()
205 TEST_EQ(k->key_version, 2, "data key version"); in load_keyblock_tests()
206 TEST_EQ(k->key_size, sizeof(mock_vblock.k.data_key_data), in load_keyblock_tests()
208 TEST_EQ(memcmp(ctx.workbuf + sd->workbuf_data_key_offset + in load_keyblock_tests()
212 TEST_EQ(ctx.workbuf_used, in load_keyblock_tests()
219 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
225 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
231 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
237 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
243 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
250 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
256 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
262 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
268 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
274 TEST_EQ(vb2_load_fw_keyblock(&ctx), in load_keyblock_tests()
289 TEST_EQ(sd->fw_version, 0x20002, "combined version"); in load_preamble_tests()
290 TEST_EQ(sd->workbuf_preamble_offset, data_key_offset_before, in load_preamble_tests()
292 TEST_EQ(sd->workbuf_preamble_size, pre->c.total_size, "preamble size"); in load_preamble_tests()
293 TEST_EQ(ctx.workbuf_used, in load_preamble_tests()
296 TEST_EQ(sd->workbuf_data_key_offset, 0, "data key offset gone"); in load_preamble_tests()
297 TEST_EQ(sd->workbuf_data_key_size, 0, "data key size gone"); in load_preamble_tests()
302 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
308 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
315 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
321 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
327 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
333 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
339 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
345 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
351 TEST_EQ(vb2_load_fw_preamble(&ctx), in load_preamble_tests()
360 TEST_EQ(v, 0x20003, "roll forward"); in load_preamble_tests()
369 TEST_EQ(v, 0x20002, "no roll forward"); in load_preamble_tests()
378 TEST_EQ(v, 0x20002, "no roll forward"); in load_preamble_tests()