Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cipher.function368 size_t length = length_val, outlen, total_len, i, block_size, iv_len;
454 total_len = outlen;
456 TEST_ASSERT(total_len == length ||
457 (total_len % block_size == 0 &&
458 total_len < length &&
459 total_len + block_size > length));
462 total_len += outlen;
468 TEST_ASSERT(total_len == length ||
469 (total_len % block_size == 0 &&
470 total_len > length &&
[all …]
/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_output.c1548 int total_len; in tcp_addoptions() local
1551 total_len = TCPOLEN_FAST_OPEN_EMPTY + to->to_tfo_len; in tcp_addoptions()
1552 if (TCP_MAXOLEN - optlen < total_len) { in tcp_addoptions()
1557 *optp++ = total_len; in tcp_addoptions()
1562 optlen += total_len; in tcp_addoptions()