Lines Matching refs:data

72 	    size_t hlen, const uint8_t *data,  in do_test()  argument
95 hlen, data, dlen, &c); in do_test()
118 show_str("\t\tExpected", data, dlen); in do_test()
147 const uint8_t data[DATA_BUF_LEN23] = { in test_vector_1() local
164 data, sizeof(data), expected, sizeof(expected), mlen); in test_vector_1()
184 const uint8_t data[DATA_BUF_LEN24] = { in test_vector_2() local
201 data, sizeof(data), expected, sizeof(expected), mlen); in test_vector_2()
221 const uint8_t data[DATA_BUF_LEN25] = { in test_vector_3() local
239 result = do_test(key, nonce, sizeof(nonce), hdr, sizeof(hdr), data, in test_vector_3()
240 sizeof(data), expected, sizeof(expected), mlen); in test_vector_3()
260 const uint8_t data[DATA_BUF_LEN23] = { in test_vector_4() local
278 data, sizeof(data), expected, sizeof(expected), mlen); in test_vector_4()
298 const uint8_t data[DATA_BUF_LEN24] = { in test_vector_5() local
316 data, sizeof(data), expected, sizeof(expected), mlen); in test_vector_5()
336 const uint8_t data[DATA_BUF_LEN25] = { in test_vector_6() local
355 data, sizeof(data), expected, sizeof(expected), mlen); in test_vector_6()
374 uint8_t data[DATA_BUF_LEN25] = { in test_vector_7() local
398 0, data, sizeof(data), &c); in test_vector_7()
407 0, ciphertext, sizeof(data)+mlen, &c); in test_vector_7()
410 show_str("\t\tExpected", data, sizeof(data)); in test_vector_7()
441 uint8_t *data = NULL; in test_vector_8() local
462 sizeof(hdr), data, 0, &c); in test_vector_8()
474 show_str("\t\tExpected", data, sizeof(data)); in test_vector_8()