Home
last modified time | relevance | path

Searched refs:pull_buf_offset (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dtls_nss.c44 u8 *push_buf, *pull_buf, *pull_buf_offset; member
92 if (end - conn->pull_buf_offset < amount) in nss_io_recv()
93 amount = end - conn->pull_buf_offset; in nss_io_recv()
94 os_memcpy(buf, conn->pull_buf_offset, amount); in nss_io_recv()
95 conn->pull_buf_offset += amount; in nss_io_recv()
96 if (conn->pull_buf_offset == end) { in nss_io_recv()
99 conn->pull_buf = conn->pull_buf_offset = NULL; in nss_io_recv()
104 (unsigned long) (end - conn->pull_buf_offset)); in nss_io_recv()
484 conn->pull_buf_offset = conn->pull_buf; in tls_connection_handshake()
560 conn->pull_buf_offset = conn->pull_buf; in tls_connection_decrypt()
Dtls_gnutls.c117 const u8 *pull_buf_offset; member
252 if ((size_t) (end - conn->pull_buf_offset) < len) in tls_pull_func()
253 len = end - conn->pull_buf_offset; in tls_pull_func()
254 os_memcpy(buf, conn->pull_buf_offset, len); in tls_pull_func()
255 conn->pull_buf_offset += len; in tls_pull_func()
256 if (conn->pull_buf_offset == end) { in tls_pull_func()
260 conn->pull_buf_offset = NULL; in tls_pull_func()
264 (unsigned long) (end - conn->pull_buf_offset)); in tls_pull_func()
1027 conn->pull_buf_offset = wpabuf_head(conn->pull_buf); in tls_connection_handshake()
1161 conn->pull_buf_offset = wpabuf_head(conn->pull_buf); in tls_connection_decrypt()
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dtls_gnutls.c115 u8 *push_buf, *pull_buf, *pull_buf_offset; member
251 if ((size_t) (end - conn->pull_buf_offset) < len) in tls_pull_func()
252 len = end - conn->pull_buf_offset; in tls_pull_func()
253 os_memcpy(buf, conn->pull_buf_offset, len); in tls_pull_func()
254 conn->pull_buf_offset += len; in tls_pull_func()
255 if (conn->pull_buf_offset == end) { in tls_pull_func()
258 conn->pull_buf = conn->pull_buf_offset = NULL; in tls_pull_func()
263 (unsigned long) (end - conn->pull_buf_offset)); in tls_pull_func()
1005 conn->pull_buf_offset = conn->pull_buf; in tls_connection_handshake()
1150 conn->pull_buf_offset = conn->pull_buf; in tls_connection_decrypt()
/external/wpa_supplicant/
Dtls_gnutls.c111 u8 *push_buf, *pull_buf, *pull_buf_offset; member
247 if ((size_t) (end - conn->pull_buf_offset) < len) in tls_pull_func()
248 len = end - conn->pull_buf_offset; in tls_pull_func()
249 os_memcpy(buf, conn->pull_buf_offset, len); in tls_pull_func()
250 conn->pull_buf_offset += len; in tls_pull_func()
251 if (conn->pull_buf_offset == end) { in tls_pull_func()
254 conn->pull_buf = conn->pull_buf_offset = NULL; in tls_pull_func()
258 __func__, end - conn->pull_buf_offset); in tls_pull_func()
954 conn->pull_buf_offset = conn->pull_buf; in tls_connection_handshake()
1084 conn->pull_buf_offset = conn->pull_buf; in tls_connection_decrypt()