Lines Matching refs:result
56 unsigned int result = TC_PASS; in do_hmac_test() local
61 result = check_result(testnum, expected, expectedlen, in do_hmac_test()
63 return result; in do_hmac_test()
71 unsigned int result = TC_PASS; in test_1() local
91 result = do_hmac_test(&h, 1, data, sizeof(data),expected, in test_1()
93 TC_END_RESULT(result); in test_1()
94 return result; in test_1()
99 unsigned int result = TC_PASS; in test_2() local
119 result = do_hmac_test(&h, 2, data, sizeof(data), expected, in test_2()
121 TC_END_RESULT(result); in test_2()
122 return result; in test_2()
127 unsigned int result = TC_PASS; in test_3() local
150 result = do_hmac_test(&h, 3, data, sizeof(data), expected, in test_3()
152 TC_END_RESULT(result); in test_3()
153 return result; in test_3()
158 unsigned int result = TC_PASS; in test_4() local
183 result = do_hmac_test(&h, 4, data, sizeof(data), expected, in test_4()
185 TC_END_RESULT(result); in test_4()
186 return result; in test_4()
191 unsigned int result = TC_PASS; in test_5() local
211 result = do_hmac_test(&h, 5, data, sizeof(data), expected, in test_5()
213 TC_END_RESULT(result); in test_5()
214 return result; in test_5()
219 unsigned int result = TC_PASS; in test_6() local
251 result = do_hmac_test(&h, 6, data, sizeof(data), expected, in test_6()
253 TC_END_RESULT(result); in test_6()
254 return result; in test_6()
259 unsigned int result = TC_PASS; in test_7() local
299 result = do_hmac_test(&h, 7, data, sizeof(data), expected, in test_7()
301 TC_END_RESULT(result); in test_7()
302 return result; in test_7()
310 unsigned int result = TC_PASS; in main() local
314 result = test_1(); in main()
315 if (result == TC_FAIL) { in main()
320 result = test_2(); in main()
321 if (result == TC_FAIL) { in main()
326 result = test_3(); in main()
327 if (result == TC_FAIL) { in main()
332 result = test_4(); in main()
333 if (result == TC_FAIL) { in main()
338 result = test_5(); in main()
339 if (result == TC_FAIL) { in main()
344 result = test_6(); in main()
345 if (result == TC_FAIL) { in main()
350 result = test_7(); in main()
351 if (result == TC_FAIL) { in main()
360 TC_END_RESULT(result); in main()
361 TC_END_REPORT(result); in main()