Lines Matching defs:rec
372 struct tls13_record *rec;
382 if ((rec = tls13_record_new()) == NULL)
389 ret = tls13_record_recv(rec, read_cb, &rs);
398 if (tls13_record_content_type(rec) != rrt->want_content_type) {
400 "want %u\n", test_no, tls13_record_content_type(rec),
405 tls13_record_data(rec, &cbs);
423 if (!tls13_record_header(rec, &cbs)) {
437 if (!tls13_record_content(rec, &cbs)) {
456 tls13_record_free(rec);
465 struct tls13_record *rec;
476 if ((rec = tls13_record_new()) == NULL)
483 if (!tls13_record_set_data(rec, data, rst->data_len)) {
494 ret = tls13_record_send(rec, write_cb, &ws);
516 tls13_record_free(rec);