Lines Matching refs:ssl
345 mbedtls_ssl_context ssl; in main() local
404 mbedtls_ssl_init(&ssl); in main()
472 if ((ret = mbedtls_ssl_setup(&ssl, &conf)) != 0) { in main()
477 if ((ret = mbedtls_ssl_set_hostname(&ssl, HOSTNAME)) != 0) { in main()
482 mbedtls_ssl_set_bio(&ssl, &server_fd, in main()
486 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
497 do ret = mbedtls_ssl_handshake(&ssl); in main()
516 if ((flags = mbedtls_ssl_get_verify_result(&ssl)) != 0) { in main()
550 do ret = mbedtls_ssl_write(&ssl, data[idx].buf, len); in main()
569 do ret = mbedtls_ssl_read(&ssl, buf, len); in main()
624 do ret = mbedtls_ssl_close_notify(&ssl); in main()
646 mbedtls_ssl_free(&ssl); in main()