Lines Matching refs:ssl
102 mbedtls_ssl_context ssl; in main() local
112 mbedtls_ssl_init( &ssl ); in main()
224 if( ( ret = mbedtls_ssl_setup( &ssl, &conf ) ) != 0 ) in main()
244 mbedtls_ssl_session_reset( &ssl ); in main()
259 mbedtls_ssl_set_bio( &ssl, &client_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in main()
269 while( ( ret = mbedtls_ssl_handshake( &ssl ) ) != 0 ) in main()
290 ret = mbedtls_ssl_read( &ssl, buf, len ); in main()
330 mbedtls_ssl_get_ciphersuite( &ssl ) ); in main()
332 while( ( ret = mbedtls_ssl_write( &ssl, buf, len ) ) <= 0 ) in main()
352 while( ( ret = mbedtls_ssl_close_notify( &ssl ) ) < 0 ) in main()
383 mbedtls_ssl_free( &ssl ); in main()