Home
last modified time | relevance | path

Searched refs:TEST_NEQ (Results 1 – 19 of 19) sorted by relevance

/external/vboot_reference/tests/
Dvboot_common3_tests.c39 TEST_NEQ((size_t)hdr, 0, "KeyBlockVerify() prerequisites"); in KeyBlockVerifyTest()
49 TEST_NEQ(KeyBlockVerify(hdr, hsize, NULL, 0), 0, in KeyBlockVerifyTest()
52 TEST_NEQ(KeyBlockVerify(hdr, hsize - 1, NULL, 1), 0, in KeyBlockVerifyTest()
59 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
66 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
72 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
91 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
97 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
102 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
109 TEST_NEQ(KeyBlockVerify(h, hsize, public_key, 0), 0, in KeyBlockVerifyTest()
[all …]
Dvboot_common2_tests.c35 TEST_NEQ((size_t)rsa, 0, "PublicKeyToRSA() ok"); in VerifyPublicKeyToRSA()
91 TEST_NEQ(sig && rsa && digest, 0, "VerifyData() prerequisites"); in VerifyDigestTest()
132 TEST_NEQ(hdr && rsa, 0, "VerifyKernelPreamble() prerequisites"); in VerifyKernelPreambleTest()
140 TEST_NEQ(VerifyKernelPreamble(hdr, hsize - 1, rsa), 0, in VerifyKernelPreambleTest()
142 TEST_NEQ(VerifyKernelPreamble(hdr, 4, rsa), 0, in VerifyKernelPreambleTest()
151 TEST_NEQ(VerifyKernelPreamble(h, hsize, rsa), 0, in VerifyKernelPreambleTest()
157 TEST_NEQ(VerifyKernelPreamble(h, hsize, rsa), 0, in VerifyKernelPreambleTest()
176 TEST_NEQ(VerifyKernelPreamble(h, hsize, rsa), 0, in VerifyKernelPreambleTest()
182 TEST_NEQ(VerifyKernelPreamble(h, hsize, rsa), 0, in VerifyKernelPreambleTest()
187 TEST_NEQ(VerifyKernelPreamble(h, hsize, rsa), 0, in VerifyKernelPreambleTest()
[all …]
Dvb2_api_tests.c131 TEST_NEQ(cc.flags & VB2_CONTEXT_RECOVERY_MODE, 0, " recovery flag"); in phase1_tests()
132 TEST_NEQ(cc.flags & VB2_CONTEXT_CLEAR_RAM, 0, " clear ram flag"); in phase1_tests()
141 TEST_NEQ(cc.flags & VB2_CONTEXT_RECOVERY_MODE, 0, " recovery flag"); in phase1_tests()
142 TEST_NEQ(cc.flags & VB2_CONTEXT_CLEAR_RAM, 0, " clear ram flag"); in phase1_tests()
150 TEST_NEQ(cc.flags & VB2_CONTEXT_RECOVERY_MODE, 0, " recovery flag"); in phase1_tests()
151 TEST_NEQ(cc.flags & VB2_CONTEXT_CLEAR_RAM, 0, " clear ram flag"); in phase1_tests()
163 TEST_NEQ(cc.flags & VB2_CONTEXT_CLEAR_RAM, 0, " clear ram flag"); in phase2_tests()
Dvb2_misc_tests.c202 TEST_NEQ(sd->status & VB2_SD_STATUS_NV_INIT, 0, "vb2_fail inits NV"); in fail_tests()
263 TEST_NEQ(cc.flags & VB2_CONTEXT_RECOVERY_MODE, in recovery_tests()
282 TEST_NEQ(sd->flags & VB2_SD_FLAG_MANUAL_RECOVERY, in recovery_tests()
303 TEST_NEQ(sd->flags & VB2_SD_DEV_MODE_ENABLED, 0, "sd in dev"); in dev_switch_tests()
304 TEST_NEQ(cc.flags & VB2_CONTEXT_DEVELOPER_MODE, 0, "ctx in dev"); in dev_switch_tests()
354 TEST_NEQ(sd->flags & VB2_SD_DEV_MODE_ENABLED, 0, "sd in dev"); in dev_switch_tests()
364 TEST_NEQ(sd->flags & VB2_SD_DEV_MODE_ENABLED, 0, "sd in dev"); in dev_switch_tests()
423 TEST_NEQ(sd->status & VB2_SD_STATUS_CHOSE_SLOT, 0, "chose slot"); in select_slot_tests()
434 TEST_NEQ(sd->status & VB2_SD_STATUS_CHOSE_SLOT, 0, "chose slot"); in select_slot_tests()
437 TEST_NEQ(cc.flags & VB2_CONTEXT_FW_SLOT_B, 0, "ctx says choose B"); in select_slot_tests()
[all …]
Dvb20_common2_tests.c100 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb), in test_verify_data()
106 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb), in test_verify_data()
112 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb), in test_verify_data()
122 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb), in test_verify_data()
126 TEST_NEQ(vb2_verify_data(test_data, test_size - 1, sig2, &pubk, &wb), in test_verify_data()
131 TEST_NEQ(vb2_verify_data(test_data, test_size, sig2, &pubk, &wb), in test_verify_data()
Dvboot_common_tests.c172 TEST_NEQ(0, PublicKeyCopy(j, k), "PublicKeyCopy too small"); in PublicKeyTest()
197 TEST_NEQ(VBOOT_SUCCESS, in VbSharedDataTest()
200 TEST_NEQ(VBOOT_SUCCESS, in VbSharedDataTest()
203 TEST_NEQ(VBOOT_SUCCESS, in VbSharedDataTest()
228 TEST_NEQ(VBOOT_SUCCESS, VbSharedDataSetKernelKey(NULL, NULL), in VbSharedDataTest()
Dvboot_api_kernel2_tests.c305 TEST_NEQ(audio_looping_calls_left, 0, " aborts audio"); in VbBootDevTest()
387 TEST_NEQ(audio_looping_calls_left, 0, " aborts audio"); in VbBootDevTest()
563 TEST_NEQ(screens_displayed[1], VB_SCREEN_RECOVERY_TO_DEV, in VbBootRecTest()
575 TEST_NEQ(screens_displayed[1], VB_SCREEN_RECOVERY_TO_DEV, in VbBootRecTest()
586 TEST_NEQ(screens_displayed[1], VB_SCREEN_RECOVERY_TO_DEV, in VbBootRecTest()
597 TEST_NEQ(screens_displayed[1], VB_SCREEN_RECOVERY_TO_DEV, in VbBootRecTest()
611 TEST_NEQ(screens_displayed[1], VB_SCREEN_RECOVERY_TO_DEV, in VbBootRecTest()
Dvboot_kernel_tests.c470 TEST_NEQ(AllocAndReadGptData(handle, &g), 0, "AllocAndRead disk fail"); in ReadWriteGptTest()
476 TEST_NEQ(AllocAndReadGptData(handle, &g), 0, "AllocAndRead disk fail"); in ReadWriteGptTest()
482 TEST_NEQ(AllocAndReadGptData(handle, &g), 0, "AllocAndRead disk fail"); in ReadWriteGptTest()
488 TEST_NEQ(AllocAndReadGptData(handle, &g), 0, "AllocAndRead disk fail"); in ReadWriteGptTest()
498 TEST_NEQ(WriteAndFreeGptData(handle, &g), 0, "WriteAndFree disk fail"); in ReadWriteGptTest()
507 TEST_NEQ(WriteAndFreeGptData(handle, &g), 0, "WriteAndFree disk fail"); in ReadWriteGptTest()
514 TEST_NEQ(WriteAndFreeGptData(handle, &g), 0, "WriteAndFree disk fail"); in ReadWriteGptTest()
521 TEST_NEQ(WriteAndFreeGptData(handle, &g), 0, "WriteAndFree disk fail"); in ReadWriteGptTest()
Dvb2_nvstorage_tests.c57 TEST_NEQ(ctx->flags & VB2_CONTEXT_NVDATA_CHANGED, 0, why); in test_changed()
81 TEST_NEQ(c.nvdata[15], 0, "vb2_nv_init() CRC"); in nv_storage_test()
131 TEST_NEQ(c.nvdata[15], goodcrc, in nv_storage_test()
Dvboot_firmware_tests.c117 TEST_NEQ(block==vblock || block==vblock+1, 0, " Verify a valid key block"); in KeyBlockVerify()
126 TEST_NEQ(preamble==mpreamble || preamble==mpreamble+1, 0, in VerifyFirmwarePreamble()
244 TEST_NEQ(shared->flags & VBSD_LF_DEV_SWITCH_ON, 0, in LoadFirmwareTest()
369 TEST_NEQ(shared->flags & VBSD_FWB_TRIED, 0, "Tried firmware B"); in LoadFirmwareTest()
Dtest_common.h18 int TEST_NEQ(int result, int not_expected_result, const char* testname);
Dvboot_nvstorage_test.c63 TEST_NEQ(c.raw[15], 0, "VbNvTeardown() CRC"); in VbNvStorageTest()
111 TEST_NEQ(c.raw[15], goodcrc, "VbNvTeardown() CRC changed due to flags clear"); in VbNvStorageTest()
Dvboot_display_tests.c140 TEST_NEQ(*debug_info, '\0', "Some debug info was displayed"); in DebugInfoTest()
181 TEST_NEQ(*debug_info, '\0', "DisplayKey tab = display"); in DisplayKeyTest()
Dvb2_rsa_utility_tests.c97 TEST_NEQ(vb2_safe_memcmp("foo", "bar", 3), 0, "vb2_safe_memcmp() bad"); in test_utils()
Dtest_common.c34 int TEST_NEQ(int result, int not_expected_result, const char* testname) { in TEST_NEQ() function
Dvb2_secdata_tests.c24 TEST_NEQ(ctx->flags & VB2_CONTEXT_SECDATA_CHANGED, 0, why); in test_changed()
Dvb2_common_tests.c18 TEST_NEQ(vb2_safe_memcmp("foo1", "foo2", 4), 0, "memcmp different"); in test_memcmp()
Dtlcl_tests.c209 TEST_NEQ(TlclIsOwned(), 0, "IsOwned"); in SendCommandTest()
Dvb20_common3_tests.c53 TEST_NEQ((size_t)hdr, 0, "vb2_verify_keyblock() prerequisites"); in test_verify_keyblock()