Lines Matching refs:ssl
688 static int ssl_print_signature(BIO *bio, int indent, const SSL *ssl, in ssl_print_signature() argument
693 if (SSL_USE_SIGALGS(ssl)) { in ssl_print_signature()
948 static int ssl_print_client_hello(BIO *bio, const SSL *ssl, int indent, in ssl_print_client_hello() argument
960 if (SSL_IS_DTLS(ssl)) { in ssl_print_client_hello()
1051 static int ssl_get_keyex(const char **pname, const SSL *ssl) in ssl_get_keyex() argument
1053 unsigned long alg_k = ssl->s3.tmp.new_cipher->algorithm_mkey; in ssl_get_keyex()
1099 static int ssl_print_client_keyex(BIO *bio, int indent, const SSL *ssl, in ssl_print_client_keyex() argument
1103 int id = ssl_get_keyex(&algname, ssl); in ssl_print_client_keyex()
1116 if (TLS1_get_version(ssl) == SSL3_VERSION) { in ssl_print_client_keyex()
1151 static int ssl_print_server_keyex(BIO *bio, int indent, const SSL *ssl, in ssl_print_server_keyex() argument
1155 int id = ssl_get_keyex(&algname, ssl); in ssl_print_server_keyex()
1215 ssl_print_signature(bio, indent, ssl, &msg, &msglen); in ssl_print_server_keyex()
1254 static int ssl_print_certificates(BIO *bio, const SSL *ssl, int server, in ssl_print_certificates() argument
1260 if (SSL_IS_TLS13(ssl) in ssl_print_certificates()
1275 if (SSL_IS_TLS13(ssl) in ssl_print_certificates()
1284 static int ssl_print_cert_request(BIO *bio, int indent, const SSL *ssl, in ssl_print_cert_request() argument
1290 if (SSL_IS_TLS13(ssl)) { in ssl_print_cert_request()
1311 if (SSL_USE_SIGALGS(ssl)) { in ssl_print_cert_request()
1365 if (SSL_IS_TLS13(ssl)) { in ssl_print_cert_request()
1373 static int ssl_print_ticket(BIO *bio, int indent, const SSL *ssl, in ssl_print_ticket() argument
1393 if (SSL_IS_TLS13(ssl)) { in ssl_print_ticket()
1413 if (SSL_IS_TLS13(ssl) in ssl_print_ticket()
1422 static int ssl_print_handshake(BIO *bio, const SSL *ssl, int server, in ssl_print_handshake() argument
1438 if (SSL_IS_DTLS(ssl)) { in ssl_print_handshake()
1454 if (!ssl_print_client_hello(bio, ssl, indent + 2, msg, msglen)) in ssl_print_handshake()
1469 if (!ssl_print_server_keyex(bio, indent + 2, ssl, msg, msglen)) in ssl_print_handshake()
1474 if (!ssl_print_client_keyex(bio, indent + 2, ssl, msg, msglen)) in ssl_print_handshake()
1479 if (!ssl_print_certificates(bio, ssl, server, indent + 2, msg, msglen)) in ssl_print_handshake()
1484 if (!ssl_print_signature(bio, indent + 2, ssl, &msg, &msglen)) in ssl_print_handshake()
1489 if (!ssl_print_cert_request(bio, indent + 2, ssl, msg, msglen)) in ssl_print_handshake()
1503 if (!ssl_print_ticket(bio, indent + 2, ssl, msg, msglen)) in ssl_print_handshake()
1532 const void *buf, size_t msglen, SSL *ssl, void *arg) in SSL_trace() argument
1543 if (msglen < (size_t)(SSL_IS_DTLS(ssl) ? in SSL_trace()
1553 if (SSL_IS_DTLS(ssl)) { in SSL_trace()
1573 if (!ssl_print_handshake(bio, ssl, ssl->server ? write_p : !write_p, in SSL_trace()