Searched refs:outbuf_cap (Results 1 – 1 of 1) sorted by relevance
| /src/tests/sys/kern/ |
| H A D | ktls_test.c | 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() [all …]
|