Lines Matching refs:expected
52 size_t datalen, const uint8_t *expected, in do_hmac_test() argument
61 result = check_result(testnum, expected, expectedlen, in do_hmac_test()
82 const uint8_t expected[32] = { in test_1() local
91 result = do_hmac_test(&h, 1, data, sizeof(data),expected, in test_1()
92 sizeof(expected)); in test_1()
109 const uint8_t expected[32] = { in test_2() local
119 result = do_hmac_test(&h, 2, data, sizeof(data), expected, in test_2()
120 sizeof(expected)); in test_2()
140 const uint8_t expected[32] = { in test_3() local
150 result = do_hmac_test(&h, 3, data, sizeof(data), expected, in test_3()
151 sizeof(expected)); in test_3()
173 const uint8_t expected[32] = { in test_4() local
183 result = do_hmac_test(&h, 4, data, sizeof(data), expected, in test_4()
184 sizeof(expected)); in test_4()
201 const uint8_t expected[32] = { in test_5() local
211 result = do_hmac_test(&h, 5, data, sizeof(data), expected, in test_5()
212 sizeof(expected)); in test_5()
241 const uint8_t expected[32] = { in test_6() local
251 result = do_hmac_test(&h, 6, data, sizeof(data), expected, in test_6()
252 sizeof(expected)); in test_6()
289 const uint8_t expected[32] = { in test_7() local
299 result = do_hmac_test(&h, 7, data, sizeof(data), expected, in test_7()
300 sizeof(expected)); in test_7()