Lines Matching refs:data_len

238     tx_msg[0].data_len  = 5;  in test_bio_dgram_impl()
244 tx_msg[1].data_len = 6; in test_bio_dgram_impl()
283 rx_msg[0].data_len = sizeof(rx_buf); in test_bio_dgram_impl()
290 rx_msg[1].data_len = sizeof(rx_buf2); in test_bio_dgram_impl()
305 if (!TEST_int_eq((int)rx_msg[0].data_len, sizeof(rx_buf))) in test_bio_dgram_impl()
308 if (!TEST_int_eq((int)rx_msg[1].data_len, sizeof(rx_buf2))) in test_bio_dgram_impl()
333 if (!TEST_int_eq((int)rx_msg[0].data_len, 5)) in test_bio_dgram_impl()
336 if (!TEST_int_eq((int)rx_msg[1].data_len, 6)) in test_bio_dgram_impl()
364 rx_msg[0].data_len = sizeof(rx_buf); in test_bio_dgram_impl()
365 rx_msg[1].data_len = sizeof(rx_buf2); in test_bio_dgram_impl()
387 tx_msg[i].data_len = 1; in test_bio_dgram_impl()
403 rx_msg[i].data_len = 1; in test_bio_dgram_impl()
456 static int random_data(const uint32_t *key, uint8_t *data, size_t data_len, size_t offset) in random_data() argument
477 while (data_len > 0) { in random_data()
478 outl = data_len > sizeof(zeroes) ? (int)sizeof(zeroes) : (int)data_len; in random_data()
483 data_len -= outl; in random_data()
606 msgs[0].data_len = 19; in test_bio_dgram_pair()
608 msgs[1].data_len = 46; in test_bio_dgram_pair()
616 rmsgs[0].data_len = 64; in test_bio_dgram_pair()
618 rmsgs[1].data_len = 64; in test_bio_dgram_pair()
624 if (!TEST_mem_eq(rmsgs[0].data, rmsgs[0].data_len, scratch, 19)) in test_bio_dgram_pair()
627 if (!TEST_mem_eq(rmsgs[1].data, rmsgs[1].data_len, scratch + 19, 46)) in test_bio_dgram_pair()
688 rmsgs[0].data_len = 64; in test_bio_dgram_pair()
696 if (!TEST_mem_eq(rmsgs[0].data, rmsgs[0].data_len, msgs[0].data, 19)) in test_bio_dgram_pair()
720 rmsgs[0].data_len = 64; in test_bio_dgram_pair()
725 if (!TEST_mem_eq(rmsgs[0].data, rmsgs[0].data_len, in test_bio_dgram_pair()
726 msgs[0].data, msgs[0].data_len)) in test_bio_dgram_pair()