Lines Matching refs:out
82 struct wpabuf *in, *out, *appl; in https_server() local
117 out = tls_connection_server_handshake(tls, conn, in, &appl); in https_server()
120 if (!out) { in https_server()
127 (int) wpabuf_len(out)); in https_server()
128 if (send(s, wpabuf_head(out), wpabuf_len(out), 0) < 0) { in https_server()
132 wpabuf_free(out); in https_server()
133 out = NULL; in https_server()
141 wpabuf_free(out); in https_server()
142 out = NULL; in https_server()
155 out = tls_connection_decrypt2(tls, conn, in, &need_more_data); in https_server()
162 if (!out) in https_server()
165 wpabuf_head(out), wpabuf_len(out)); in https_server()
166 wpabuf_free(out); in https_server()
167 out = NULL; in https_server()
180 out = tls_connection_encrypt(tls, conn, in); in https_server()
183 wpa_hexdump_buf(MSG_DEBUG, "Encrypted response", out); in https_server()
184 if (!out) in https_server()
188 (int) wpabuf_len(out)); in https_server()
189 if (send(s, wpabuf_head(out), wpabuf_len(out), 0) < 0) { in https_server()
193 wpabuf_free(out); in https_server()
194 out = NULL; in https_server()
198 wpabuf_free(out); in https_server()