/openthread-3.6.0/third_party/mbedtls/repo/programs/pkey/ |
D | dh_client.c | 81 mbedtls_net_context server_fd; in main() local 94 mbedtls_net_init( &server_fd ); in main() 149 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_NAME, in main() 164 if( ( ret = mbedtls_net_recv( &server_fd, buf, 2 ) ) != 2 ) in main() 182 if( ( ret = mbedtls_net_recv( &server_fd, buf, n ) ) != (int) n ) in main() 244 if( ( ret = mbedtls_net_send( &server_fd, buf, n ) ) != (int) n ) in main() 283 if( ( ret = mbedtls_net_recv( &server_fd, buf, 16 ) ) != 16 ) in main() 299 mbedtls_net_free( &server_fd ); in main()
|
/openthread-3.6.0/third_party/mbedtls/repo/programs/ssl/ |
D | mini_client.c | 171 mbedtls_net_context server_fd; in main() local 186 mbedtls_net_init( &server_fd ); in main() 253 if( ( server_fd.fd = socket( AF_INET, SOCK_STREAM, 0 ) ) < 0 ) in main() 259 if( connect( server_fd.fd, in main() 266 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main() 287 mbedtls_net_free( &server_fd ); in main()
|
D | ssl_client1.c | 87 mbedtls_net_context server_fd; in main() local 105 mbedtls_net_init( &server_fd ); in main() 147 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_NAME, in main() 192 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main() 300 mbedtls_net_free( &server_fd ); in main()
|
D | dtls_client.c | 98 mbedtls_net_context server_fd; in main() local 121 mbedtls_net_init( &server_fd ); in main() 163 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_ADDR, in main() 208 mbedtls_ssl_set_bio( &ssl, &server_fd, in main() 341 mbedtls_net_free( &server_fd ); in main()
|
D | ssl_client2.c | 647 mbedtls_net_context server_fd; in main() local 748 mbedtls_net_init( &server_fd ); in main() 1694 if( ( ret = mbedtls_net_connect( &server_fd, in main() 1705 ret = mbedtls_net_set_nonblock( &server_fd ); in main() 1707 ret = mbedtls_net_set_block( &server_fd ); in main() 2038 io_ctx.net = &server_fd; in main() 2127 ret = idle( &server_fd, &timer, ret ); in main() 2129 ret = idle( &server_fd, ret ); in main() 2406 idle( &server_fd, &timer, ret ); in main() 2408 idle( &server_fd, ret ); in main() [all …]
|
D | ssl_mail_client.c | 359 mbedtls_net_context server_fd; in main() local 388 mbedtls_net_init( &server_fd ); in main() 586 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_name, in main() 639 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main() 677 ret = write_and_get_response( &server_fd, buf, 0 ); in main() 691 ret = write_and_get_response( &server_fd, buf, len ); in main() 705 ret = write_and_get_response( &server_fd, buf, len ); in main() 841 mbedtls_net_free( &server_fd ); in main()
|
/openthread-3.6.0/third_party/mbedtls/repo/programs/test/ |
D | udp_proxy.c | 809 mbedtls_net_context listen_fd, client_fd, server_fd; in main() local 822 mbedtls_net_init( &server_fd ); in main() 849 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_addr, opt.server_port, in main() 899 if( nb_fds < server_fd.fd ) in main() 900 nb_fds = server_fd.fd; in main() 908 outbuf[0].ctx = &server_fd; in main() 959 FD_SET( server_fd.fd, &read_fds ); in main() 975 &server_fd, &client_fd ) ) != 0 ) in main() 979 if( FD_ISSET( server_fd.fd, &read_fds ) ) in main() 982 &client_fd, &server_fd ) ) != 0 ) in main() [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/programs/x509/ |
D | cert_app.c | 152 mbedtls_net_context server_fd; in main() local 169 mbedtls_net_init( &server_fd ); in main() 395 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_name, in main() 438 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main() 485 mbedtls_net_free( &server_fd ); in main()
|