Lines Matching refs:in_data
592 static int tls_pull_buf_append(struct tls_connection *conn, const struct wpabuf *in_data) in tls_pull_buf_append() argument
595 return tls_wpabuf_resize_put_data(&conn->pull_buf, wpabuf_head(in_data), wpabuf_len(in_data)); in tls_pull_buf_append()
2197 const struct wpabuf *in_data, in tls_connection_handshake() argument
2203 if (in_data && wpabuf_len(in_data)) in tls_connection_handshake()
2208 if (!tls_pull_buf_append(conn, in_data)) in tls_connection_handshake()
2315 const struct wpabuf *in_data, in tls_connection_server_handshake() argument
2319 return tls_connection_handshake(tls_ctx, conn, in_data, appl_data); in tls_connection_server_handshake()
2322 …f *tls_connection_encrypt(void *tls_ctx, struct tls_connection *conn, const struct wpabuf *in_data) in tls_connection_encrypt() argument
2324 int res = mbedtls_ssl_write(&conn->ssl, wpabuf_head_u8(in_data), wpabuf_len(in_data)); in tls_connection_encrypt()
2336 …f *tls_connection_decrypt(void *tls_ctx, struct tls_connection *conn, const struct wpabuf *in_data) in tls_connection_decrypt() argument
2342 if (!tls_pull_buf_append(conn, in_data)) in tls_connection_decrypt()
2348 out = wpabuf_alloc((wpabuf_len(in_data) + 500) * 3); in tls_connection_decrypt()
2350 out = wpabuf_alloc(wpabuf_len(in_data)); in tls_connection_decrypt()