Home | History | Annotate | Download | only in tests

Lines Matching refs:TEST_EQ

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