Lines Matching refs:TEST_EQ

20 	TEST_EQ(EXPECTED_VB2_PACKED_KEY_SIZE,  in test_struct_packing()
23 TEST_EQ(EXPECTED_VB2_SIGNATURE_SIZE, in test_struct_packing()
26 TEST_EQ(EXPECTED_VB2_KEYBLOCK_SIZE, in test_struct_packing()
29 TEST_EQ(EXPECTED_VB2_FW_PREAMBLE_SIZE, in test_struct_packing()
32 TEST_EQ(EXPECTED_VB2_GBB_HEADER_SIZE, in test_struct_packing()
37 TEST_EQ(EXPECTED_VB2_PACKED_KEY_SIZE, in test_struct_packing()
40 TEST_EQ(EXPECTED_VB2_SIGNATURE_SIZE, in test_struct_packing()
43 TEST_EQ(EXPECTED_VB2_KEYBLOCK_SIZE, in test_struct_packing()
46 TEST_EQ(EXPECTED_VB2_FW_PREAMBLE_SIZE, in test_struct_packing()
58 TEST_EQ((int)vb2_offset_of(p, p), 0, "vb2_offset_of() equal"); in test_helper_functions()
59 TEST_EQ((int)vb2_offset_of(p, p+10), 10, in test_helper_functions()
65 TEST_EQ((int)vb2_offset_of(&k, vb2_packed_key_data(&k)), in test_helper_functions()
71 TEST_EQ((int)vb2_offset_of(&k, vb2_packed_key_data(&k)), 123, in test_helper_functions()
77 TEST_EQ((int)vb2_offset_of(&s, vb2_signature_data(&s)), in test_helper_functions()
83 TEST_EQ((int)vb2_offset_of(&s, vb2_signature_data(&s)), 123, in test_helper_functions()
93 TEST_EQ(vb2_verify_member_inside(p, 20, p-4, 4, 8, 4), in test_helper_functions()
96 TEST_EQ(vb2_verify_member_inside(p, 20, p+20, 4, 8, 4), in test_helper_functions()
99 TEST_EQ(vb2_verify_member_inside(p, 20, p, 21, 0, 0), in test_helper_functions()
102 TEST_EQ(vb2_verify_member_inside(p, 20, p, 4, 21, 0), in test_helper_functions()
105 TEST_EQ(vb2_verify_member_inside(p, 20, p, 4, SIZE_MAX, 0), in test_helper_functions()
108 TEST_EQ(vb2_verify_member_inside(p, 20, p, 4, 4, 17), in test_helper_functions()
111 TEST_EQ(vb2_verify_member_inside(p, 20, p, 8, 4, 8), in test_helper_functions()
114 TEST_EQ(vb2_verify_member_inside(p, -8, p, 12, 0, 0), in test_helper_functions()
117 TEST_EQ(vb2_verify_member_inside(p, 20, p, -8, 0, 0), in test_helper_functions()
120 TEST_EQ(vb2_verify_member_inside(p, 20, p, 4, 4, -12), in test_helper_functions()
133 TEST_EQ(vb2_verify_packed_key_inside(&k, 128, &k), in test_helper_functions()
141 TEST_EQ(vb2_verify_packed_key_inside(&k, 99, &k), in test_helper_functions()
154 TEST_EQ(vb2_verify_signature_inside(&s, 128, &s), in test_helper_functions()
162 TEST_EQ(vb2_verify_signature_inside(&s, 99, &s), in test_helper_functions()