Home
last modified time | relevance | path

Searched refs:in_len (Results 1 – 12 of 12) sorted by relevance

/hostap-3.7.0/src/tls/
Dtlsv1_client_read.c23 const u8 *in_data, size_t *in_len);
25 const u8 *in_data, size_t *in_len);
27 const u8 *in_data, size_t *in_len);
79 const u8 *in_data, size_t *in_len) in tls_process_server_hello() argument
95 left = *in_len; in tls_process_server_hello()
265 *in_len = end - in_data; in tls_process_server_hello()
355 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument
372 left = *in_len; in tls_process_certificate()
396 in_len); in tls_process_certificate()
399 in_len); in tls_process_certificate()
[all …]
Dtlsv1_record.c279 const u8 *in_data, size_t in_len, in tlsv1_record_receive() argument
289 if (in_len < TLS_RECORD_HEADER_LEN) { in tlsv1_record_receive()
292 (unsigned long) in_len); in tlsv1_record_receive()
294 in_data, in_len); in tlsv1_record_receive()
324 in_len -= TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
326 if (rlen > in_len) { in tlsv1_record_receive()
329 (unsigned long) rlen, (unsigned long) in_len); in tlsv1_record_receive()
346 in_len = rlen; in tlsv1_record_receive()
348 if (*out_len < in_len) { in tlsv1_record_receive()
358 out_data, in_len) < 0) { in tlsv1_record_receive()
[all …]
Dtlsv1_client.c164 const u8 *in_data, size_t in_len, in tlsv1_client_handshake() argument
178 if (in_len) in tlsv1_client_handshake()
184 if (wpabuf_resize(&conn->partial_input, in_len) < 0) { in tlsv1_client_handshake()
191 wpabuf_put_data(conn->partial_input, in_data, in_len); in tlsv1_client_handshake()
193 in_len = wpabuf_len(conn->partial_input); in tlsv1_client_handshake()
196 if (in_data == NULL || in_len == 0) in tlsv1_client_handshake()
200 end = in_data + in_len; in tlsv1_client_handshake()
201 in_msg = os_malloc(in_len); in tlsv1_client_handshake()
207 in_msg_len = in_len; in tlsv1_client_handshake()
298 const u8 *in_data, size_t in_len, in tlsv1_client_encrypt() argument
[all …]
Dtlsv1_server_read.c24 const u8 *in_data, size_t *in_len);
27 size_t *in_len);
122 const u8 *in_data, size_t *in_len) in tls_process_client_hello() argument
140 left = *in_len; in tls_process_client_hello()
381 *in_len = end - in_data; in tls_process_client_hello()
397 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument
414 left = *in_len; in tls_process_certificate()
446 in_len); in tls_process_certificate()
590 *in_len = end - in_data; in tls_process_certificate()
808 const u8 *in_data, size_t *in_len) in tls_process_client_key_exchange() argument
[all …]
Dtlsv1_server.c133 const u8 *in_data, size_t in_len, in tlsv1_server_handshake() argument
141 if (in_data == NULL || in_len == 0) { in tlsv1_server_handshake()
147 end = in_data + in_len; in tlsv1_server_handshake()
148 in_msg = os_malloc(in_len); in tlsv1_server_handshake()
154 in_msg_len = in_len; in tlsv1_server_handshake()
228 const u8 *in_data, size_t in_len, in tlsv1_server_encrypt() argument
234 in_data, in_len); in tlsv1_server_encrypt()
237 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_server_encrypt()
261 const u8 *in_data, size_t in_len, in tlsv1_server_decrypt() argument
270 in_end = in_data + in_len; in tlsv1_server_decrypt()
Dtlsv1_server.h25 const u8 *in_data, size_t in_len, size_t *out_len);
27 const u8 *in_data, size_t in_len,
30 const u8 *in_data, size_t in_len,
Dtlsv1_client.h25 const u8 *in_data, size_t in_len,
29 const u8 *in_data, size_t in_len,
32 const u8 *in_data, size_t in_len,
Dtlsv1_record.h68 const u8 *in_data, size_t in_len,
/hostap-3.7.0/src/eap_peer/
Deap_tls_common.c469 size_t tls_in_len, in_len; in eap_peer_tls_reassemble_fragment() local
472 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment()
474 if (tls_in_len + in_len == 0) { in eap_peer_tls_reassemble_fragment()
480 (unsigned long) in_len); in eap_peer_tls_reassemble_fragment()
485 if (tls_in_len + in_len > 65536) { in eap_peer_tls_reassemble_fragment()
496 if (in_len > data->tls_in_left) { in eap_peer_tls_reassemble_fragment()
504 if (wpabuf_resize(&data->tls_in, in_len) < 0) { in eap_peer_tls_reassemble_fragment()
512 data->tls_in_left -= in_len; in eap_peer_tls_reassemble_fragment()
/hostap-3.7.0/src/eap_server/
Deap_server_fast.c976 u8 *in_data, size_t in_len) in eap_fast_process_phase2_response() argument
996 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { in eap_fast_process_phase2_response()
997 left = in_len - sizeof(*hdr); in eap_fast_process_phase2_response()
1029 wpabuf_set(&buf, in_data, in_len); in eap_fast_process_phase2_response()
1110 u8 *in_data, size_t in_len) in eap_fast_process_phase2_eap() argument
1116 if (in_len < (int) sizeof(*hdr)) { in eap_fast_process_phase2_eap()
1118 "EAP frame (len=%lu)", (unsigned long) in_len); in eap_fast_process_phase2_eap()
1123 if (len > in_len) { in eap_fast_process_phase2_eap()
1126 (unsigned long) in_len, (unsigned long) len); in eap_fast_process_phase2_eap()
Deap_server_teap.c1041 u8 *in_data, size_t in_len, in eap_teap_process_phase2_response() argument
1063 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { in eap_teap_process_phase2_response()
1064 left = in_len - sizeof(*hdr); in eap_teap_process_phase2_response()
1097 wpabuf_set(&buf, in_data, in_len); in eap_teap_process_phase2_response()
1189 u8 *in_data, size_t in_len, in eap_teap_process_phase2_eap() argument
1196 if (in_len < (int) sizeof(*hdr)) { in eap_teap_process_phase2_eap()
1199 (unsigned long) in_len); in eap_teap_process_phase2_eap()
1204 if (len > in_len) { in eap_teap_process_phase2_eap()
1207 (unsigned long) in_len, (unsigned long) len); in eap_teap_process_phase2_eap()
1231 u8 *in_data, size_t in_len, in eap_teap_process_basic_auth_resp() argument
[all …]
Deap_server_ttls.c851 u8 *in_data, size_t in_len) in eap_ttls_process_phase2_eap_response() argument
871 if (in_len > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { in eap_ttls_process_phase2_eap_response()
872 left = in_len - sizeof(*hdr); in eap_ttls_process_phase2_eap_response()
899 wpabuf_set(&buf, in_data, in_len); in eap_ttls_process_phase2_eap_response()