Lines Matching refs:bio_s_out
87 static BIO *bio_s_out = NULL; variable
138 BIO_printf(bio_s_out, "psk_server_cb\n"); in psk_server_cb()
155 BIO_printf(bio_s_out, "identity_len=%d identity=%s\n", in psk_server_cb()
160 BIO_printf(bio_s_out, "PSK warning: client identity not what we expected" in psk_server_cb()
164 BIO_printf(bio_s_out, "PSK client identity found\n"); in psk_server_cb()
186 BIO_printf(bio_s_out, "fetched PSK len=%ld\n", key_len); in psk_server_cb()
192 (void)BIO_flush(bio_s_out); in psk_server_cb()
681 BIO_printf(bio_s_out, "ALPN protocols advertised by the client: "); in alpn_cb()
684 BIO_write(bio_s_out, ", ", 2); in alpn_cb()
685 BIO_write(bio_s_out, &in[i + 1], in[i]); in alpn_cb()
688 BIO_write(bio_s_out, "\n", 1); in alpn_cb()
698 BIO_printf(bio_s_out, "ALPN protocols selected: "); in alpn_cb()
699 BIO_write(bio_s_out, *out, *outlen); in alpn_cb()
700 BIO_write(bio_s_out, "\n", 1); in alpn_cb()
1106 bio_s_out = NULL; in s_server_main()
1891 if (bio_s_out == NULL) { in s_server_main()
1893 bio_s_out = BIO_new(BIO_s_null()); in s_server_main()
1902 bio_s_out = dup_bio_out(FORMAT_TEXT); in s_server_main()
1906 if (bio_s_out == NULL) in s_server_main()
2057 BIO_printf(bio_s_out, "Setting secondary ctx parameters\n"); in s_server_main()
2122 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2124 BIO_printf(bio_s_out, "Using default temp DH parameters\n"); in s_server_main()
2126 (void)BIO_flush(bio_s_out); in s_server_main()
2157 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2158 (void)BIO_flush(bio_s_out); in s_server_main()
2206 BIO_printf(bio_s_out, "PSK key given, setting server callback\n"); in s_server_main()
2212 BIO_printf(bio_s_out, "PSK warning: there is NO identity hint in TLSv1.3\n"); in s_server_main()
2269 tlsextcbp.biodebug = bio_s_out; in s_server_main()
2308 BIO_printf(bio_s_out, "Compressing certificates\n"); in s_server_main()
2310 BIO_printf(bio_s_out, "Error compressing certs on ctx\n"); in s_server_main()
2312 BIO_printf(bio_s_out, "Error compressing certs on ctx2\n"); in s_server_main()
2316 BIO_printf(bio_s_out, "Error setting server certificate types\n"); in s_server_main()
2321 BIO_printf(bio_s_out, "Error setting server certificate types\n"); in s_server_main()
2337 BIO_printf(bio_s_out, "Listening for TFO\n"); in s_server_main()
2339 server_cb, context, naccept, bio_s_out, tfo); in s_server_main()
2340 print_stats(bio_s_out, ctx); in s_server_main()
2373 BIO_free(bio_s_out); in s_server_main()
2374 bio_s_out = NULL; in s_server_main()
2427 BIO_set_callback_arg(bio, (char *)bio_s_out); in count_reads_callback()
2472 SSL_set_tlsext_debug_arg(con, bio_s_out); in sv_body()
2571 SSL_set_msg_callback_arg(con, bio_s_msg ? bio_s_msg : bio_s_out); in sv_body()
2576 SSL_set_tlsext_debug_arg(con, bio_s_out); in sv_body()
2603 BIO_printf(bio_s_out, "Early data received:\n"); in sv_body()
2607 (void)BIO_flush(bio_s_out); in sv_body()
2612 BIO_printf(bio_s_out, "No early data received\n"); in sv_body()
2614 BIO_printf(bio_s_out, "Early data was rejected\n"); in sv_body()
2616 BIO_printf(bio_s_out, "\nEnd of early data\n"); in sv_body()
2706 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2707 (void)BIO_flush(bio_s_out); in sv_body()
2714 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2715 (void)BIO_flush(bio_s_out); in sv_body()
2764 print_stats(bio_s_out, SSL_get_SSL_CTX(con)); in sv_body()
2783 BIO_printf(bio_s_out, "LOOKUP renego during write\n"); in sv_body()
2785 lookup_srp_user(&srp_callback_parm, bio_s_out); in sv_body()
2794 BIO_printf(bio_s_out, "Write BLOCK (Async)\n"); in sv_body()
2795 (void)BIO_flush(bio_s_out); in sv_body()
2801 BIO_printf(bio_s_out, "Write BLOCK\n"); in sv_body()
2802 (void)BIO_flush(bio_s_out); in sv_body()
2810 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2811 (void)BIO_flush(bio_s_out); in sv_body()
2817 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2818 (void)BIO_flush(bio_s_out); in sv_body()
2869 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in sv_body()
2871 lookup_srp_user(&srp_callback_parm, bio_s_out); in sv_body()
2882 (void)BIO_flush(bio_s_out); in sv_body()
2887 BIO_printf(bio_s_out, "Read BLOCK (Async)\n"); in sv_body()
2888 (void)BIO_flush(bio_s_out); in sv_body()
2893 BIO_printf(bio_s_out, "Read BLOCK\n"); in sv_body()
2894 (void)BIO_flush(bio_s_out); in sv_body()
2902 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2903 (void)BIO_flush(bio_s_out); in sv_body()
2908 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2909 (void)BIO_flush(bio_s_out); in sv_body()
2918 BIO_printf(bio_s_out, "shutting down SSL\n"); in sv_body()
2922 BIO_printf(bio_s_out, "CONNECTION CLOSED\n"); in sv_body()
3012 BIO_printf(bio_s_out, "LOOKUP during accept %s\n", in init_ssl_connection()
3015 lookup_srp_user(&srp_callback_parm, bio_s_out); in init_ssl_connection()
3028 BIO_printf(bio_s_out, "DELAY\n"); in init_ssl_connection()
3063 PEM_write_bio_SSL_SESSION(bio_s_out, SSL_get_session(con)); in print_connection_info()
3067 BIO_printf(bio_s_out, "Client certificate\n"); in print_connection_info()
3068 PEM_write_bio_X509(bio_s_out, peer); in print_connection_info()
3069 dump_cert_text(bio_s_out, peer); in print_connection_info()
3074 BIO_printf(bio_s_out, "Server-to-client raw public key negotiated\n"); in print_connection_info()
3076 BIO_printf(bio_s_out, "Client-to-server raw public key negotiated\n"); in print_connection_info()
3081 BIO_printf(bio_s_out, "Client raw public key\n"); in print_connection_info()
3082 EVP_PKEY_print_public(bio_s_out, client_rpk, 2, NULL); in print_connection_info()
3087 BIO_printf(bio_s_out, "Shared ciphers:%s\n", buf); in print_connection_info()
3089 ssl_print_sigalgs(bio_s_out, con); in print_connection_info()
3091 ssl_print_point_formats(bio_s_out, con); in print_connection_info()
3092 ssl_print_groups(bio_s_out, con, 0); in print_connection_info()
3094 print_ca_names(bio_s_out, con); in print_connection_info()
3095 BIO_printf(bio_s_out, "CIPHER is %s\n", (str != NULL) ? str : "(NONE)"); in print_connection_info()
3100 BIO_printf(bio_s_out, "NEXTPROTO is "); in print_connection_info()
3101 BIO_write(bio_s_out, next_proto_neg, next_proto_neg_len); in print_connection_info()
3102 BIO_printf(bio_s_out, "\n"); in print_connection_info()
3111 BIO_printf(bio_s_out, "SRTP Extension negotiated, profile=%s\n", in print_connection_info()
3116 BIO_printf(bio_s_out, "Reused session-id\n"); in print_connection_info()
3118 ssl_print_secure_renegotiation_notes(bio_s_out, con); in print_connection_info()
3121 BIO_printf(bio_s_out, "Renegotiation is DISABLED\n"); in print_connection_info()
3124 BIO_printf(bio_s_out, "Keying material exporter:\n"); in print_connection_info()
3125 BIO_printf(bio_s_out, " Label: '%s'\n", keymatexportlabel); in print_connection_info()
3126 BIO_printf(bio_s_out, " Length: %i bytes\n", keymatexportlen); in print_connection_info()
3133 BIO_printf(bio_s_out, " Error\n"); in print_connection_info()
3135 BIO_printf(bio_s_out, " Keying material: "); in print_connection_info()
3137 BIO_printf(bio_s_out, "%02X", exportedkeymat[i]); in print_connection_info()
3138 BIO_printf(bio_s_out, "\n"); in print_connection_info()
3149 (void)BIO_flush(bio_s_out); in print_connection_info()
3201 SSL_set_tlsext_debug_arg(con, bio_s_out); in www_body()
3252 BIO_set_callback_arg(SSL_get_rbio(con), (char *)bio_s_out); in www_body()
3261 SSL_set_msg_callback_arg(con, bio_s_msg ? bio_s_msg : bio_s_out); in www_body()
3299 BIO_printf(bio_s_out, "read R BLOCK\n"); in www_body()
3303 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in www_body()
3305 lookup_srp_user(&srp_callback_parm, bio_s_out); in www_body()
3331 BIO_printf(bio_s_out, "SSL_renegotiate -> %d\n", i); in www_body()
3335 BIO_printf(bio_s_out, "SSL_do_handshake() Retval %d\n", in www_body()
3345 BIO_printf(bio_s_out, in www_body()
3602 BIO_printf(bio_s_out, "rwrite W BLOCK\n"); in www_body()
3664 SSL_set_tlsext_debug_arg(con, bio_s_out); in rev_body()
3698 BIO_set_callback_arg(SSL_get_rbio(con), (char *)bio_s_out); in rev_body()
3707 SSL_set_msg_callback_arg(con, bio_s_msg ? bio_s_msg : bio_s_out); in rev_body()
3722 BIO_printf(bio_s_out, "LOOKUP renego during accept\n"); in rev_body()
3724 lookup_srp_user(&srp_callback_parm, bio_s_out); in rev_body()
3741 BIO_printf(bio_s_out, "read R BLOCK\n"); in rev_body()
3745 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in rev_body()
3747 lookup_srp_user(&srp_callback_parm, bio_s_out); in rev_body()