Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-3.6.0/components/driver/test/
Dtest_spi_sio.c74 int rlen = 9-i; variable
81 .rxlength = rlen*8,
85 .length = (tlen+rlen)*8,
99 ESP_LOG_BUFFER_HEXDUMP("slave rx", slave_t.rx_buffer, tlen+rlen, ESP_LOG_INFO);
100 ESP_LOG_BUFFER_HEXDUMP("slave tx", slave_t.tx_buffer, tlen+rlen, ESP_LOG_INFO);
101 ESP_LOG_BUFFER_HEXDUMP("master rx", master_t.rx_buffer, rlen, ESP_LOG_INFO);
104 TEST_ASSERT_EQUAL_HEX8_ARRAY(slave_t.tx_buffer + tlen, master_t.rx_buffer, rlen);
142 int rlen = 9-i; in test_sio_master_round() local
146 .rxlength = rlen*8, in test_sio_master_round()
157 ESP_LOG_BUFFER_HEXDUMP("exp tx", exp_ptr, rlen, ESP_LOG_INFO); in test_sio_master_round()
[all …]
/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_server_write.c48 size_t rlen; in tls_write_server_hello() local
143 &rlen) < 0) { in tls_write_server_hello()
149 pos = rhdr + rlen; in tls_write_server_hello()
161 size_t rlen; in tls_write_server_certificate() local
228 &rlen) < 0) { in tls_write_server_certificate()
234 pos = rhdr + rlen; in tls_write_server_certificate()
250 size_t rlen; in tls_write_server_key_exchange() local
421 &rlen) < 0) { in tls_write_server_key_exchange()
427 pos = rhdr + rlen; in tls_write_server_key_exchange()
441 size_t rlen; in tls_write_server_certificate_request() local
[all …]
Dtlsv1_record.c286 size_t i, rlen, hlen; in tlsv1_record_receive() local
303 rlen = WPA_GET_BE16(in_data + 3); in tlsv1_record_receive()
305 "length %d", ct, in_data[1], in_data[2], (int) rlen); in tlsv1_record_receive()
320 if (TLS_RECORD_HEADER_LEN + rlen > 18432) { in tlsv1_record_receive()
322 (unsigned long) (TLS_RECORD_HEADER_LEN + rlen)); 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()
338 in_data, rlen); in tlsv1_record_receive()
350 in_len = rlen; in tlsv1_record_receive()
490 return TLS_RECORD_HEADER_LEN + rlen; in tlsv1_record_receive()
Dtlsv1_client_write.c165 size_t rlen; in tls_write_client_certificate() local
224 &rlen) < 0) { in tls_write_client_certificate()
230 pos = rhdr + rlen; in tls_write_client_certificate()
407 size_t rlen; in tls_write_client_key_exchange() local
446 &rlen) < 0) { in tls_write_client_key_exchange()
452 pos = rhdr + rlen; in tls_write_client_key_exchange()
465 size_t rlen, hlen, clen; in tls_write_client_certificate_verify() local
623 &rlen) < 0) { in tls_write_client_certificate_verify()
629 pos = rhdr + rlen; in tls_write_client_certificate_verify()
642 size_t rlen; in tls_write_client_change_cipher_spec() local
[all …]
Dtlsv1_server.c204 size_t rlen; in tlsv1_server_encrypt() local
210 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_server_encrypt()
217 return rlen; in tlsv1_server_encrypt()
Dtlsv1_client.c277 size_t rlen; in tlsv1_client_encrypt() local
283 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_client_encrypt()
290 return rlen; in tlsv1_client_encrypt()
/hal_espressif-3.6.0/components/tcp_transport/
Dtransport_ws.c340 int rlen = 0; in ws_read_payload() local
351 …if (bytes_to_read != 0 && (rlen = esp_transport_read(ws->parent, buffer, bytes_to_read, timeout_ms… in ws_read_payload()
353 return rlen; in ws_read_payload()
355 ws->frame_state.bytes_remaining -= rlen; in ws_read_payload()
362 return rlen; in ws_read_payload()
374 int rlen; in ws_read_header() local
384 if ((rlen = esp_transport_read(ws->parent, data_ptr, header, timeout_ms)) <= 0) { in ws_read_header()
386 return rlen; in ws_read_header()
397 if ((rlen = esp_transport_read(ws->parent, data_ptr, header, timeout_ms)) <= 0) { in ws_read_header()
399 return rlen; in ws_read_header()
[all …]
/hal_espressif-3.6.0/components/esp_hid/src/
Dble_hidh.c101 uint16_t rlen = 0; in read_device_services() local
137 …_if, dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
152 …dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen == 7) { in read_device_services()
159 …_if, dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
163 …_if, dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
172 …_if, dev->ble.conn_id, chandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
174 dev->config.report_maps[hidindex].len = rlen; in read_device_services()
231 …_if, dev->ble.conn_id, dhandle, ESP_GATT_AUTH_REQ_NO_MITM, &rdata, &rlen) == ESP_GATT_OK && rlen) { in read_device_services()
/hal_espressif-3.6.0/components/esp_http_client/
Desp_http_client.c982 …int rlen = esp_transport_read(client->transport, res_buffer->data, client->buffer_size_rx, client-… in esp_http_client_get_data() local
983 if (rlen >= 0) { in esp_http_client_get_data()
984 http_parser_execute(client->parser, client->parser_settings, res_buffer->data, rlen); in esp_http_client_get_data()
986 return rlen; in esp_http_client_get_data()
1009 int rlen = ESP_FAIL, ridx = 0; local
1042rlen = esp_transport_read(client->transport, res_buffer->data, byte_to_read, client->timeout_ms);
1043 …_LOGD(TAG, "need_read=%d, byte_to_read=%d, rlen=%d, ridx=%d", need_read, byte_to_read, rlen, ridx);
1045 if (rlen <= 0) {
1050 if (rlen == -1 && errno == ENOTCONN && client->response->is_chunked) {
1056 … ESP_LOG_LEVEL(sev, TAG, "esp_transport_read returned:%d and errno:%d ", rlen, errno);
[all …]
/hal_espressif-3.6.0/components/wpa_supplicant/src/rsn_supp/
Dwpa.c285 size_t mic_len, hdrlen, rlen; in wpa_sm_key_request() local
311 hdrlen, &rlen, (void *) &reply); in wpa_sm_key_request()
346 error, pairwise, sm->ptk_set, (unsigned long) rlen); in wpa_sm_key_request()
348 ETH_P_EAPOL, rbuf, rlen, key_mic); in wpa_sm_key_request()
540 size_t mic_len, hdrlen, rlen; in wpa_supplicant_send_2_of_4() local
559 &rlen, (void *) &reply); in wpa_supplicant_send_2_of_4()
591 rbuf, rlen, key_mic); in wpa_supplicant_send_2_of_4()
1081 size_t mic_len, hdrlen, rlen; in wpa_supplicant_send_4_of_4() local
1091 &rlen, (void *) &reply); in wpa_supplicant_send_4_of_4()
1119 rbuf, rlen, key_mic); in wpa_supplicant_send_4_of_4()
[all …]
/hal_espressif-3.6.0/components/esp_websocket_client/
Desp_websocket_client.c539 int rlen; in esp_websocket_client_recv() local
542rlen = esp_transport_read(client->transport, client->rx_buffer, client->buffer_size, client->confi… in esp_websocket_client_recv()
543 if (rlen < 0) { in esp_websocket_client_recv()
550 if (rlen == 0 && client->last_opcode == WS_TRANSPORT_OPCODES_NONE ) { in esp_websocket_client_recv()
555 esp_websocket_client_dispatch_event(client, WEBSOCKET_EVENT_DATA, client->rx_buffer, rlen); in esp_websocket_client_recv()
557 client->payload_offset += rlen; in esp_websocket_client_recv()