Lines Matching refs:ssl
87 mbedtls_ssl_context ssl; in main() local
97 mbedtls_ssl_init(&ssl); in main()
203 if ((ret = mbedtls_ssl_setup(&ssl, &conf)) != 0) { in main()
221 mbedtls_ssl_session_reset(&ssl); in main()
235 mbedtls_ssl_set_bio(&ssl, &client_fd, mbedtls_net_send, mbedtls_net_recv, NULL); in main()
245 while ((ret = mbedtls_ssl_handshake(&ssl)) != 0) { in main()
263 ret = mbedtls_ssl_read(&ssl, buf, len); in main()
302 mbedtls_ssl_get_ciphersuite(&ssl)); in main()
304 while ((ret = mbedtls_ssl_write(&ssl, buf, len)) <= 0) { in main()
321 while ((ret = mbedtls_ssl_close_notify(&ssl)) < 0) { in main()
349 mbedtls_ssl_free(&ssl); in main()