Home
last modified time | relevance | path

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

/mbedtls-3.7.0/tests/suites/
Dtest_suite_ssl.function3365 mbedtls_test_ssl_endpoint client_ep, server_ep;
3377 mbedtls_platform_zeroize(&client_ep, sizeof(client_ep));
3384 ret = mbedtls_test_ssl_endpoint_init(&client_ep, MBEDTLS_SSL_IS_CLIENT,
3394 ret = mbedtls_test_mock_socket_connect(&(client_ep.socket),
3402 &(server_ep.ssl), &(client_ep.ssl),
3410 &(client_ep.ssl), &(server_ep.ssl),
3414 ret = mbedtls_ssl_tls13_fetch_handshake_msg(&(client_ep.ssl),
3432 ret = mbedtls_ssl_tls13_parse_certificate(&(client_ep.ssl), buf, end);
3440 ret = mbedtls_ssl_session_reset(&(client_ep.ssl));
3449 mbedtls_test_ssl_endpoint_free(&client_ep, NULL);
[all …]
/mbedtls-3.7.0/tests/src/test_helpers/
Dssl_helpers.c2514 mbedtls_test_ssl_endpoint client_ep, server_ep; in mbedtls_test_get_tls13_ticket() local
2516 mbedtls_platform_zeroize(&client_ep, sizeof(client_ep)); in mbedtls_test_get_tls13_ticket()
2519 ret = mbedtls_test_ssl_endpoint_init(&client_ep, MBEDTLS_SSL_IS_CLIENT, in mbedtls_test_get_tls13_ticket()
2532 ret = mbedtls_test_mock_socket_connect(&(client_ep.socket), in mbedtls_test_get_tls13_ticket()
2537 &(server_ep.ssl), &(client_ep.ssl), in mbedtls_test_get_tls13_ticket()
2543 ret = mbedtls_ssl_read(&(client_ep.ssl), buf, sizeof(buf)); in mbedtls_test_get_tls13_ticket()
2546 ret = mbedtls_ssl_get_session(&(client_ep.ssl), session); in mbedtls_test_get_tls13_ticket()
2550 mbedtls_test_ssl_endpoint_free(&client_ep, NULL); in mbedtls_test_get_tls13_ticket()