Lines Matching refs:ssl

416     mbedtls_ssl_context ssl;  in main()  local
435 mbedtls_ssl_init( &ssl ); in main()
1209 if( ( ret = mbedtls_ssl_setup( &ssl, &conf ) ) != 0 ) in main()
1216 if( ( ret = mbedtls_ssl_set_hostname( &ssl, opt.server_name ) ) != 0 ) in main()
1226 if( ( ret = mbedtls_ssl_set_hs_ecjpake_password( &ssl, in main()
1237 mbedtls_ssl_set_bio( &ssl, &server_fd, my_send, my_recv, NULL ); in main()
1239 mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, in main()
1243 mbedtls_ssl_set_timer_cb( &ssl, &timer, mbedtls_timing_set_delay, in main()
1255 while( ( ret = mbedtls_ssl_handshake( &ssl ) ) != 0 ) in main()
1274 mbedtls_ssl_get_version( &ssl ), mbedtls_ssl_get_ciphersuite( &ssl ) ); in main()
1276 if( ( ret = mbedtls_ssl_get_record_expansion( &ssl ) ) >= 0 ) in main()
1283 (unsigned int) mbedtls_ssl_get_max_frag_len( &ssl ) ); in main()
1289 const char *alp = mbedtls_ssl_get_alpn_protocol( &ssl ); in main()
1300 if( ( ret = mbedtls_ssl_get_session( &ssl, &saved_session ) ) != 0 ) in main()
1315 if( ( flags = mbedtls_ssl_get_verify_result( &ssl ) ) != 0 ) in main()
1328 if( mbedtls_ssl_get_peer_cert( &ssl ) != NULL ) in main()
1332 mbedtls_ssl_get_peer_cert( &ssl ) ); in main()
1346 while( ( ret = mbedtls_ssl_renegotiate( &ssl ) ) != 0 ) in main()
1397 while( ( ret = mbedtls_ssl_write( &ssl, buf + written, len - written ) ) in main()
1411 do ret = mbedtls_ssl_write( &ssl, buf, len ); in main()
1443 ret = mbedtls_ssl_read( &ssl, buf, len ); in main()
1489 do ret = mbedtls_ssl_read( &ssl, buf, len ); in main()
1530 if( ( ret = mbedtls_ssl_session_reset( &ssl ) ) != 0 ) in main()
1536 while( ( ret = mbedtls_ssl_handshake( &ssl ) ) != 0 ) in main()
1565 do ret = mbedtls_ssl_close_notify( &ssl ); in main()
1588 if( ( ret = mbedtls_ssl_session_reset( &ssl ) ) != 0 ) in main()
1594 if( ( ret = mbedtls_ssl_set_session( &ssl, &saved_session ) ) != 0 ) in main()
1619 while( ( ret = mbedtls_ssl_handshake( &ssl ) ) != 0 ) in main()
1655 mbedtls_ssl_free( &ssl ); in main()