Lines Matching refs:pull_buf
56 struct wpabuf *pull_buf; member
159 if (conn->pull_buf == NULL) { in tls_pull_func()
164 end = wpabuf_head_u8(conn->pull_buf) + wpabuf_len(conn->pull_buf); in tls_pull_func()
171 wpabuf_free(conn->pull_buf); in tls_pull_func()
172 conn->pull_buf = NULL; in tls_pull_func()
285 wpabuf_free(conn->pull_buf); in tls_connection_deinit()
1425 ad = wpabuf_alloc((wpabuf_len(conn->pull_buf) + 500) * 3); in gnutls_get_appl_data()
1460 if (conn->pull_buf) { in tls_connection_handshake()
1463 (unsigned long) wpabuf_len(conn->pull_buf)); in tls_connection_handshake()
1464 wpabuf_free(conn->pull_buf); in tls_connection_handshake()
1466 conn->pull_buf = wpabuf_dup(in_data); in tls_connection_handshake()
1467 if (conn->pull_buf == NULL) in tls_connection_handshake()
1469 conn->pull_buf_offset = wpabuf_head(conn->pull_buf); in tls_connection_handshake()
1558 if (conn->pull_buf && appl_data) in tls_connection_handshake()
1605 if (conn->pull_buf) { in tls_connection_decrypt()
1608 (unsigned long) wpabuf_len(conn->pull_buf)); in tls_connection_decrypt()
1609 wpabuf_free(conn->pull_buf); in tls_connection_decrypt()
1611 conn->pull_buf = wpabuf_dup(in_data); in tls_connection_decrypt()
1612 if (conn->pull_buf == NULL) in tls_connection_decrypt()
1614 conn->pull_buf_offset = wpabuf_head(conn->pull_buf); in tls_connection_decrypt()