Lines Matching refs:s_ssl
629 int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family,
631 int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time,
633 int doit(SSL *s_ssl, SSL *c_ssl, long bytes);
910 SSL *s_ssl = NULL; in main() local
1774 s_ssl = SSL_new(s_ctx); in main()
1775 if (c_ssl == NULL || s_ssl == NULL) in main()
1783 SSL_set_options(s_ssl, SSL_OP_ENABLE_KTLS); in main()
1785 if (!set_protocol_version(server_min_proto, s_ssl, SSL_CTRL_SET_MIN_PROTO_VERSION)) in main()
1787 if (!set_protocol_version(server_max_proto, s_ssl, SSL_CTRL_SET_MAX_PROTO_VERSION)) in main()
1819 ret = doit(s_ssl, c_ssl, bytes); in main()
1822 ret = doit_biopair(s_ssl, c_ssl, bytes, &s_time, &c_time); in main()
1826 ret = doit_localhost(s_ssl, c_ssl, BIO_FAMILY_IPV4, in main()
1830 ret = doit_localhost(s_ssl, c_ssl, BIO_FAMILY_IPV6, in main()
1862 if (SSL_session_reused(s_ssl) != should_reuse || in main()
1866 SSL_session_reused(s_ssl), SSL_session_reused(c_ssl)); in main()
1873 if (write_session(server_sess_out, SSL_get_session(s_ssl)) == 0) { in main()
1908 SSL_free(s_ssl); in main()
1933 int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family, long count, in doit_localhost() argument
2004 SSL_set_accept_state(s_ssl); in doit_localhost()
2005 SSL_set_bio(s_ssl, server, server); in doit_localhost()
2006 (void)BIO_set_ssl(s_ssl_bio, s_ssl, BIO_NOCLOSE); in doit_localhost()
2116 if (SSL_in_init(s_ssl)) in doit_localhost()
2118 SSL_state_string_long(s_ssl)); in doit_localhost()
2174 if (BIO_get_ktls_send(SSL_get_wbio(s_ssl)) in doit_localhost()
2175 && BIO_get_ktls_recv(SSL_get_rbio(s_ssl))) in doit_localhost()
2177 else if (BIO_get_ktls_send(SSL_get_wbio(s_ssl))) in doit_localhost()
2179 else if (BIO_get_ktls_recv(SSL_get_rbio(s_ssl))) in doit_localhost()
2191 if (verify_npn(c_ssl, s_ssl) < 0) in doit_localhost()
2198 if (verify_alpn(c_ssl, s_ssl) < 0 in doit_localhost()
2199 || verify_servername(c_ssl, s_ssl) < 0) in doit_localhost()
2230 int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, in doit_biopair() argument
2259 SSL_set_accept_state(s_ssl); in doit_biopair()
2260 SSL_set_bio(s_ssl, server, server); in doit_biopair()
2261 (void)BIO_set_ssl(s_ssl_bio, s_ssl, BIO_NOCLOSE); in doit_biopair()
2395 if (SSL_in_init(s_ssl)) in doit_biopair()
2397 SSL_state_string_long(s_ssl)); in doit_biopair()
2565 if (verify_npn(c_ssl, s_ssl) < 0) in doit_biopair()
2572 if (verify_alpn(c_ssl, s_ssl) < 0 in doit_biopair()
2573 || verify_servername(c_ssl, s_ssl) < 0) in doit_biopair()
2609 int doit(SSL *s_ssl, SSL *c_ssl, long count) in doit() argument
2671 SSL_set_accept_state(s_ssl); in doit()
2672 SSL_set_bio(s_ssl, c_to_s, s_to_c); in doit()
2678 SSL_set_max_send_fragment(s_ssl, max_frag); in doit()
2679 BIO_set_ssl(s_bio, s_ssl, BIO_NOCLOSE); in doit()
2701 if (SSL_in_init(s_ssl)) in doit()
2703 SSL_state_string_long(s_ssl)); in doit()
2851 SSL_set_max_send_fragment(s_ssl, max_frag -= 5); in doit()
2863 if (verify_npn(c_ssl, s_ssl) < 0) in doit()