Home
last modified time | relevance | path

Searched refs:out_buf_len (Results 1 – 8 of 8) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_util.function63 size_t out_buf_len = exp_result->len;
66 TEST_CALLOC(out_buf, out_buf_len);
75 out_buf, out_buf_len, &ret_len) != 0);
81 out_buf, out_buf_len, &ret_len), exp_ret);
Dtest_suite_pk.function2600 size_t out_buf_len, out_buf2_len;
2698 out_buf, sizeof(out_buf), &out_buf_len,
2702 out_buf, out_buf_len), 0);
2704 out_buf, out_buf_len), 0);
2712 out_buf, out_buf_len, out_buf,
2713 sizeof(out_buf), &out_buf_len), 0);
2717 out_buf, out_buf_len));
2726 out_buf, sizeof(out_buf), &out_buf_len));
2731 out_buf, out_buf_len, out_buf,
2732 sizeof(out_buf), &out_buf_len), 0);
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c2135 TEST_ASSERT(client.ssl.out_buf_len == MBEDTLS_SSL_OUT_BUFFER_LEN); in mbedtls_test_ssl_perform_handshake()
2137 TEST_ASSERT(server.ssl.out_buf_len == MBEDTLS_SSL_OUT_BUFFER_LEN); in mbedtls_test_ssl_perform_handshake()
2189 TEST_ASSERT(client.ssl.out_buf_len == in mbedtls_test_ssl_perform_handshake()
2193 TEST_ASSERT(server.ssl.out_buf_len == in mbedtls_test_ssl_perform_handshake()
2245 TEST_ASSERT(server.ssl.out_buf_len == MBEDTLS_SSL_OUT_BUFFER_LEN); in mbedtls_test_ssl_perform_handshake()
2255 TEST_ASSERT(server.ssl.out_buf_len == in mbedtls_test_ssl_perform_handshake()
2305 TEST_ASSERT(client.ssl.out_buf_len == MBEDTLS_SSL_OUT_BUFFER_LEN); in mbedtls_test_ssl_perform_handshake()
2325 TEST_ASSERT(client.ssl.out_buf_len == in mbedtls_test_ssl_perform_handshake()
2329 TEST_ASSERT(server.ssl.out_buf_len == in mbedtls_test_ssl_perform_handshake()
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_tls.c371 ssl->out_buf_len > out_buf_new_len && ssl->out_left < out_buf_new_len : in handle_buffer_resizing()
372 ssl->out_buf_len < out_buf_new_len) { in handle_buffer_resizing()
373 if (resize_buffer(&ssl->out_buf, out_buf_new_len, &ssl->out_buf_len) != 0) { in handle_buffer_resizing()
1399 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN; in mbedtls_ssl_setup() local
1426 ssl->out_buf_len = out_buf_len; in mbedtls_ssl_setup()
1428 ssl->out_buf = mbedtls_calloc(1, out_buf_len); in mbedtls_ssl_setup()
1430 MBEDTLS_SSL_DEBUG_MSG(1, ("alloc(%" MBEDTLS_PRINTF_SIZET " bytes) failed", out_buf_len)); in mbedtls_ssl_setup()
1455 ssl->out_buf_len = 0; in mbedtls_ssl_setup()
1487 size_t out_buf_len = ssl->out_buf_len; in mbedtls_ssl_session_reset_msg_layer() local
1490 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN; in mbedtls_ssl_session_reset_msg_layer()
[all …]
Dssl_msg.c394 size_t out_buf_len = ssl->out_buf_len; in ssl_get_maximum_datagram_size() local
396 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN; in ssl_get_maximum_datagram_size() local
399 if (mtu != 0 && mtu < out_buf_len) { in ssl_get_maximum_datagram_size()
403 return out_buf_len; in ssl_get_maximum_datagram_size()
2949 size_t out_buf_len = ssl->out_buf_len; in mbedtls_ssl_write_record() local
2951 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN; in mbedtls_ssl_write_record() local
2973 rec.buf_len = out_buf_len - (size_t) (ssl->out_iv - ssl->out_buf); in mbedtls_ssl_write_record()
Dssl_tls12_client.c3250 size_t out_buf_len = ssl->out_buf_len - (size_t) (ssl->out_msg - ssl->out_buf); in ssl_write_certificate_verify() local
3252 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN - (size_t) (ssl->out_msg - ssl->out_buf); in ssl_write_certificate_verify() local
3342 out_buf_len - 6 - offset, in ssl_write_certificate_verify()
Dssl_tls12_server.c2808 size_t out_buf_len = ssl->out_buf_len - (size_t) (ssl->out_msg - ssl->out_buf); in ssl_prepare_server_key_exchange() local
2810 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN - (size_t) (ssl->out_msg - ssl->out_buf); in ssl_prepare_server_key_exchange() local
3222 out_buf_len - ssl->out_msglen - 2, in ssl_prepare_server_key_exchange()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dssl.h1868 size_t MBEDTLS_PRIVATE(out_buf_len); /*!< length of output buffer */