Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/wpa_supplicant/src/tls/
Dtlsv1_client_read.c24 const u8 *in_data, size_t *in_len);
26 const u8 *in_data, size_t *in_len);
28 const u8 *in_data, size_t *in_len);
32 const u8 *in_data, size_t *in_len) in tls_process_server_hello() argument
48 left = *in_len; in tls_process_server_hello()
201 *in_len = end - in_data; in tls_process_server_hello()
216 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument
233 left = *in_len; in tls_process_certificate()
257 in_len); in tls_process_certificate()
260 in_len); in tls_process_certificate()
[all …]
Dtlsv1_record.c283 const u8 *in_data, size_t in_len, in tlsv1_record_receive() argument
293 if (in_len < TLS_RECORD_HEADER_LEN) { in tlsv1_record_receive()
296 (unsigned long) in_len); in tlsv1_record_receive()
298 in_data, in_len); in tlsv1_record_receive()
328 in_len -= TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
330 if (rlen > in_len) { in tlsv1_record_receive()
333 (unsigned long) rlen, (unsigned long) in_len); in tlsv1_record_receive()
350 in_len = rlen; in tlsv1_record_receive()
352 if (*out_len < in_len) { in tlsv1_record_receive()
362 out_data, in_len) < 0) { in tlsv1_record_receive()
[all …]
Dtlsv1_client.c140 const u8 *in_data, size_t in_len, in tlsv1_client_handshake() argument
154 if (in_len) in tlsv1_client_handshake()
160 if (wpabuf_resize(&conn->partial_input, in_len) < 0) { in tlsv1_client_handshake()
167 wpabuf_put_data(conn->partial_input, in_data, in_len); in tlsv1_client_handshake()
169 in_len = wpabuf_len(conn->partial_input); in tlsv1_client_handshake()
172 if (in_data == NULL || in_len == 0) in tlsv1_client_handshake()
176 end = in_data + in_len; in tlsv1_client_handshake()
177 in_msg = os_malloc(in_len); in tlsv1_client_handshake()
183 in_msg_len = in_len; in tlsv1_client_handshake()
274 const u8 *in_data, size_t in_len, in tlsv1_client_encrypt() argument
[all …]
Dtlsv1_server_read.c25 const u8 *in_data, size_t *in_len);
28 size_t *in_len);
32 const u8 *in_data, size_t *in_len) in tls_process_client_hello() argument
50 left = *in_len; in tls_process_client_hello()
262 *in_len = end - in_data; in tls_process_client_hello()
279 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument
296 left = *in_len; in tls_process_certificate()
330 in_len); in tls_process_certificate()
471 *in_len = end - in_data; in tls_process_certificate()
690 const u8 *in_data, size_t *in_len) in tls_process_client_key_exchange() argument
[all …]
Dtlsv1_server.h24 const u8 *in_data, size_t in_len, size_t *out_len);
26 const u8 *in_data, size_t in_len,
29 const u8 *in_data, size_t in_len,
Dtlsv1_client.h24 const u8 *in_data, size_t in_len,
28 const u8 *in_data, size_t in_len,
31 const u8 *in_data, size_t in_len,
Dtlsv1_server.c108 const u8 *in_data, size_t in_len, in tlsv1_server_handshake() argument
116 if (in_data == NULL || in_len == 0) { in tlsv1_server_handshake()
122 end = in_data + in_len; in tlsv1_server_handshake()
123 in_msg = os_malloc(in_len); in tlsv1_server_handshake()
129 in_msg_len = in_len; in tlsv1_server_handshake()
201 const u8 *in_data, size_t in_len, in tlsv1_server_encrypt() argument
207 in_data, in_len); in tlsv1_server_encrypt()
210 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_server_encrypt()
234 const u8 *in_data, size_t in_len, in tlsv1_server_decrypt() argument
243 in_end = in_data + in_len; in tlsv1_server_decrypt()
Dtlsv1_record.h68 const u8 *in_data, size_t in_len,
/hal_espressif-2.7.6/components/wpa_supplicant/src/eap_peer/
Deap_tls_common.c321 size_t tls_in_len, in_len; in eap_peer_tls_reassemble_fragment() local
324 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment()
326 if (tls_in_len + in_len == 0) { in eap_peer_tls_reassemble_fragment()
332 (unsigned long) in_len); in eap_peer_tls_reassemble_fragment()
337 if (tls_in_len + in_len > 65536) { in eap_peer_tls_reassemble_fragment()
348 if (in_len > data->tls_in_left) { in eap_peer_tls_reassemble_fragment()
356 if (wpabuf_resize(&data->tls_in, in_len) < 0) { in eap_peer_tls_reassemble_fragment()
364 data->tls_in_left -= in_len; in eap_peer_tls_reassemble_fragment()
427 const u8 *in_data, size_t in_len, in eap_tls_process_input() argument
435 wpabuf_set(&buf, in_data, in_len); in eap_tls_process_input()
[all …]
Deap_tls_common.h102 u8 id, const u8 *in_data, size_t in_len,
Deap_ttls.c1391 const u8 *in_data, size_t in_len, in eap_ttls_process_handshake() argument
1398 in_data, in_len, out_data); in eap_ttls_process_handshake()
1432 wpabuf_set(&msg, in_data, in_len); in eap_ttls_process_handshake()
/hal_espressif-2.7.6/components/mbedtls/port/dynamic/
Desp_mbedtls_dynamic_impl.c56 ssl->in_msglen = (ssl->in_len[0] << 8) | ssl->in_len[1]; in esp_mbedtls_parse_record_header()
125 ssl->in_len = NULL; in init_rx_buffer()
134 ssl->in_len = ssl->in_buf + 11; in init_rx_buffer()
351 ssl->in_len = msg_head + 3; in esp_mbedtls_add_rx_buffer()