Lines Matching refs:in_data
466 const struct wpabuf *in_data, in tls_connection_handshake() argument
469 return tls_connection_handshake2(tls_ctx, conn, in_data, appl_data, in tls_connection_handshake()
476 const struct wpabuf *in_data, in tls_connection_handshake2() argument
490 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2()
491 in_data ? wpabuf_len(in_data) : 0, in tls_connection_handshake2()
520 const struct wpabuf *in_data, in tls_connection_server_handshake() argument
534 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data), in tls_connection_server_handshake()
535 wpabuf_len(in_data), &res_len); in tls_connection_server_handshake()
555 const struct wpabuf *in_data) in tls_connection_encrypt() argument
561 buf = wpabuf_alloc(wpabuf_len(in_data) + 300); in tls_connection_encrypt()
564 res = tlsv1_client_encrypt(conn->client, wpabuf_head(in_data), in tls_connection_encrypt()
565 wpabuf_len(in_data), in tls_connection_encrypt()
580 buf = wpabuf_alloc(wpabuf_len(in_data) + 300); in tls_connection_encrypt()
583 res = tlsv1_server_encrypt(conn->server, wpabuf_head(in_data), in tls_connection_encrypt()
584 wpabuf_len(in_data), in tls_connection_encrypt()
601 const struct wpabuf *in_data) in tls_connection_decrypt() argument
603 return tls_connection_decrypt2(tls_ctx, conn, in_data, NULL); in tls_connection_decrypt()
609 const struct wpabuf *in_data, in tls_connection_decrypt2() argument
617 return tlsv1_client_decrypt(conn->client, wpabuf_head(in_data), in tls_connection_decrypt2()
618 wpabuf_len(in_data), in tls_connection_decrypt2()
626 buf = wpabuf_alloc((wpabuf_len(in_data) + 500) * 3); in tls_connection_decrypt2()
629 res = tlsv1_server_decrypt(conn->server, wpabuf_head(in_data), in tls_connection_decrypt2()
630 wpabuf_len(in_data), in tls_connection_decrypt2()