Lines Matching refs:outbuf_cap

1180 	size_t decrypted_len, outbuf_len, outbuf_cap, record_len, written;  in test_ktls_transmit_app_data()  local
1188 outbuf_cap = tls_header_len(en) + TLS_MAX_MSG_SIZE_V10_2 + in test_ktls_transmit_app_data()
1190 outbuf = malloc(outbuf_cap); in test_ktls_transmit_app_data()
1260 record_len, outbuf_cap); in test_ktls_transmit_app_data()
1261 ATF_REQUIRE(record_len <= outbuf_cap); in test_ktls_transmit_app_data()
1330 size_t outbuf_cap, payload_len, record_len; in test_ktls_transmit_control() local
1339 outbuf_cap = tls_header_len(en) + len + tls_trailer_len(en); in test_ktls_transmit_control()
1340 outbuf = malloc(outbuf_cap); in test_ktls_transmit_control()
1362 ATF_REQUIRE_MSG(record_len <= outbuf_cap, in test_ktls_transmit_control()
1363 "record_len (%zu) > outbuf_cap (%zu)", record_len, outbuf_cap); in test_ktls_transmit_control()
1390 size_t outbuf_cap, payload_len, record_len; in test_ktls_transmit_empty_fragment() local
1395 outbuf_cap = tls_header_len(en) + tls_trailer_len(en); in test_ktls_transmit_empty_fragment()
1396 outbuf = malloc(outbuf_cap); in test_ktls_transmit_empty_fragment()
1430 ATF_REQUIRE_MSG(record_len <= outbuf_cap, in test_ktls_transmit_empty_fragment()
1431 "record_len (%zu) > outbuf_cap (%zu)", record_len, outbuf_cap); in test_ktls_transmit_empty_fragment()
1499 size_t outbuf_cap, outbuf_len, outbuf_sent, received_len, todo, written; in test_ktls_receive_app_data() local
1505 outbuf_cap = tls_header_len(en) + TLS_MAX_MSG_SIZE_V10_2 + in test_ktls_receive_app_data()
1507 outbuf = malloc(outbuf_cap); in test_ktls_receive_app_data()
1541 todo, outbuf, outbuf_cap, padding); in test_ktls_receive_app_data()
1619 size_t outbuf_cap, outbuf_len; in test_ktls_receive_corrupted_record() local
1626 outbuf_cap = tls_header_len(en) + len + tls_trailer_len(en); in test_ktls_receive_corrupted_record()
1627 outbuf = malloc(outbuf_cap); in test_ktls_receive_corrupted_record()
1639 plaintext, len, outbuf, outbuf_cap, 0); in test_ktls_receive_corrupted_record()
1708 size_t outbuf_cap, outbuf_len; in test_ktls_receive_truncated_record() local
1715 outbuf_cap = tls_header_len(en) + len + tls_trailer_len(en); in test_ktls_receive_truncated_record()
1716 outbuf = malloc(outbuf_cap); in test_ktls_receive_truncated_record()
1728 plaintext, len, outbuf, outbuf_cap, 0); in test_ktls_receive_truncated_record()
1749 size_t outbuf_cap, outbuf_len; in test_ktls_receive_bad_major() local
1756 outbuf_cap = tls_header_len(en) + len + tls_trailer_len(en); in test_ktls_receive_bad_major()
1757 outbuf = malloc(outbuf_cap); in test_ktls_receive_bad_major()
1769 plaintext, len, outbuf, outbuf_cap, 0); in test_ktls_receive_bad_major()
1791 size_t outbuf_cap, outbuf_len; in test_ktls_receive_bad_minor() local
1798 outbuf_cap = tls_header_len(en) + len + tls_trailer_len(en); in test_ktls_receive_bad_minor()
1799 outbuf = malloc(outbuf_cap); in test_ktls_receive_bad_minor()
1811 plaintext, len, outbuf, outbuf_cap, 0); in test_ktls_receive_bad_minor()
1833 size_t outbuf_cap, outbuf_len; in test_ktls_receive_bad_type() local
1841 outbuf_cap = tls_header_len(en) + len + tls_trailer_len(en); in test_ktls_receive_bad_type()
1842 outbuf = malloc(outbuf_cap); in test_ktls_receive_bad_type()
1854 plaintext, len, outbuf, outbuf_cap, 0); in test_ktls_receive_bad_type()