Home
last modified time | relevance | path

Searched refs:out_data (Results 1 – 25 of 35) sorted by relevance

12

/hal_espressif-3.4.0/components/wpa_supplicant/src/tls/
Dtlsv1_record.c284 u8 *out_data, size_t *out_len, u8 *alert) in tlsv1_record_receive() argument
362 out_data, in_len) < 0) { in tlsv1_record_receive()
369 "data", out_data, plen); in tlsv1_record_receive()
391 os_memmove(out_data, out_data + rl->iv_size, in tlsv1_record_receive()
403 padlen = out_data[plen - 1]; in tlsv1_record_receive()
413 if (out_data[i] != padlen) { in tlsv1_record_receive()
417 out_data + plen - padlen - in tlsv1_record_receive()
428 "removed", out_data, plen); in tlsv1_record_receive()
455 crypto_hash_update(hmac, out_data, plen); in tlsv1_record_receive()
465 os_memcmp(hash, out_data + plen, hlen) != 0 || in tlsv1_record_receive()
[all …]
Dtlsv1_server.c202 u8 *out_data, size_t out_len) in tlsv1_server_encrypt() argument
210 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_server_encrypt()
235 u8 *out_data, size_t out_len) in tlsv1_server_decrypt() argument
244 out_pos = out_data; in tlsv1_server_decrypt()
245 out_end = out_data + out_len; in tlsv1_server_decrypt()
307 return out_pos - out_data; in tlsv1_server_decrypt()
Dtlsv1_server.h27 u8 *out_data, size_t out_len);
30 u8 *out_data, size_t out_len);
Dtlsv1_client_read.c943 u8 **out_data, size_t *out_len) in tls_process_application_data() argument
962 *out_data = os_malloc(left); in tls_process_application_data()
963 if (*out_data) { in tls_process_application_data()
964 os_memcpy(*out_data, pos, left); in tls_process_application_data()
974 u8 **out_data, size_t *out_len) in tlsv1_client_process_handshake() argument
1036 if (out_data && in tlsv1_client_process_handshake()
1037 tls_process_application_data(conn, ct, buf, len, out_data, in tlsv1_client_process_handshake()
Dtlsv1_record.h69 u8 *out_data, size_t *out_len, u8 *alert);
Dtlsv1_client.h29 u8 *out_data, size_t out_len);
Dtlsv1_client_i.h82 u8 **out_data, size_t *out_len);
/hal_espressif-3.4.0/components/esp_serial_slave_link/
Dessl_spi.c101 esp_err_t essl_spi_rdbuf(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uint32_t fl… in essl_spi_rdbuf() argument
108 .rx_buffer = out_data, in essl_spi_rdbuf()
117 esp_err_t essl_spi_rdbuf_polling(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uin… in essl_spi_rdbuf_polling() argument
124 .rx_buffer = out_data, in essl_spi_rdbuf_polling()
163 esp_err_t essl_spi_rddma_seg(spi_device_handle_t spi, uint8_t *out_data, int seg_len, uint32_t flag… in essl_spi_rddma_seg() argument
169 .rx_buffer = out_data, in essl_spi_rddma_seg()
186 esp_err_t essl_spi_rddma(spi_device_handle_t spi, uint8_t *out_data, int len, int seg_len, uint32_t… in essl_spi_rddma() argument
188 if (!esp_ptr_dma_capable(out_data) || ((intptr_t)out_data % 4) != 0) { in essl_spi_rddma()
193 uint8_t* read_ptr = out_data; in essl_spi_rddma()
364 esp_err_t essl_spi_get_packet(void *arg, void *out_data, size_t size, uint32_t wait_ms) in essl_spi_get_packet() argument
[all …]
Dessl.c92 esp_err_t essl_get_packet(essl_handle_t handle, void *out_data, size_t size, size_t *out_length, ui… in essl_get_packet() argument
97 if (out_data == NULL || size == 0 || out_length == NULL) { in essl_get_packet()
136 err = handle->get_packet(handle->args, out_data, len, wait_remain_ms); in essl_get_packet()
Dessl_internal.h30 esp_err_t (*get_packet)(void *ctx, void* out_data, size_t size, uint32_t wait_ms);
/hal_espressif-3.4.0/components/esp_serial_slave_link/include/esp_serial_slave_link/
Dessl_spi.h95 esp_err_t essl_spi_get_packet(void *arg, void *out_data, size_t size, uint32_t wait_ms);
165 esp_err_t essl_spi_rdbuf(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uint32_t fl…
183 esp_err_t essl_spi_rdbuf_polling(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uin…
238 esp_err_t essl_spi_rddma(spi_device_handle_t spi, uint8_t *out_data, int len, int seg_len, uint32_t…
253 esp_err_t essl_spi_rddma_seg(spi_device_handle_t spi, uint8_t *out_data, int seg_len, uint32_t flag…
Dessl_sdio.h127 esp_err_t essl_sdio_get_packet(void *arg, void *out_data, size_t size, uint32_t wait_ms);
Dessl.h122 esp_err_t essl_get_packet(essl_handle_t handle, void *out_data, size_t size, size_t *out_length, ui…
/hal_espressif-3.4.0/components/wpa_supplicant/src/crypto/
Dtls_mbedtls.c48 struct wpabuf *out_data; member
97 if (wpabuf_resize(&data->out_data, len) < 0) in tls_mbedtls_write()
100 wpabuf_put_data(data->out_data, buf, len); in tls_mbedtls_write()
643 conn->tls_io_data.out_data = NULL; in tls_connection_handshake()
668 if (!conn->tls_io_data.out_data) { in tls_connection_handshake()
671 conn->tls_io_data.out_data = wpabuf_alloc_ext_data(dummy, 0); in tls_connection_handshake()
675 resp = conn->tls_io_data.out_data; in tls_connection_handshake()
676 conn->tls_io_data.out_data = NULL; in tls_connection_handshake()
698 conn->tls_io_data.out_data = NULL; in tls_connection_encrypt()
707 resp = conn->tls_io_data.out_data; in tls_connection_encrypt()
[all …]
/hal_espressif-3.4.0/components/wpa_supplicant/src/eap_peer/
Deap_tls_common.c437 struct wpabuf **out_data) in eap_tls_process_input() argument
467 *out_data = appl_data; in eap_tls_process_input()
489 struct wpabuf **out_data) in eap_tls_process_output() argument
530 *out_data = eap_tls_msg_alloc(eap_type, 1 + length_included * 4 + len, in eap_tls_process_output()
532 if (*out_data == NULL) { in eap_tls_process_output()
537 flags = wpabuf_put(*out_data, 1); in eap_tls_process_output()
543 wpabuf_put_be32(*out_data, wpabuf_len(data->tls_out)); in eap_tls_process_output()
545 wpabuf_put_data(*out_data, in eap_tls_process_output()
589 struct wpabuf **out_data) in eap_peer_tls_process_helper() argument
593 *out_data = NULL; in eap_peer_tls_process_helper()
[all …]
Deap_ttls.c993 struct wpabuf **out_data) in eap_ttls_encrypt_response() argument
1000 resp, out_data)) { in eap_ttls_encrypt_response()
1165 struct wpabuf **out_data) in eap_ttls_process_decrypted() argument
1218 out_data) < 0) in eap_ttls_process_decrypted()
1236 struct wpabuf **out_data) in eap_ttls_implicit_identity_request() argument
1271 out_data); in eap_ttls_implicit_identity_request()
1287 struct wpabuf **out_data) in eap_ttls_phase2_start() argument
1302 *out_data = eap_peer_tls_build_ack(identifier, EAP_TYPE_TTLS, in eap_ttls_phase2_start()
1311 out_data); in eap_ttls_phase2_start()
1318 struct wpabuf **out_data) in eap_ttls_decrypt() argument
[all …]
Deap_tls_common.h103 struct wpabuf **out_data);
123 struct wpabuf **out_data);
Deap_fast.c1125 u8 identifier, struct wpabuf **out_data) in eap_fast_encrypt_response() argument
1134 resp, out_data)) { in eap_fast_encrypt_response()
1167 struct wpabuf **out_data) in eap_fast_process_decrypted() argument
1177 identifier, out_data); in eap_fast_process_decrypted()
1182 identifier, out_data); in eap_fast_process_decrypted()
1188 identifier, out_data); in eap_fast_process_decrypted()
1271 out_data); in eap_fast_process_decrypted()
1278 struct wpabuf **out_data) in eap_fast_decrypt() argument
1301 identifier, NULL, out_data); in eap_fast_decrypt()
1321 in_decrypted, out_data); in eap_fast_decrypt()
/hal_espressif-3.4.0/tools/
Dmkdfu.py167 out_data = b''.join(self.entries)
169 out_data = pad_bytes(out_data, cpio_block_size)
173 out_data += struct.pack(DFUSUFFIX_STRUCT, *dfu_suffix)
174 out_data += struct.pack(DFUCRC_STRUCT, dfu_crc(out_data))
177 self.dest.write(out_data)
/hal_espressif-3.4.0/components/driver/test/touch_sensor_test/
Dtouch_scope.c117 unsigned char *out_data = datascope_output_buffer; in test_tp_print_to_scope() local
125 esp_rom_uart_tx_one_char(out_data[i]); in test_tp_print_to_scope()
130 return uart_write_bytes(uart_num, (const char *)out_data, out_len); in test_tp_print_to_scope()
/hal_espressif-3.4.0/components/sdmmc/
Dsdmmc_mmc.c203 esp_err_t sdmmc_mmc_send_ext_csd_data(sdmmc_card_t* card, void *out_data, size_t datalen) in sdmmc_mmc_send_ext_csd_data() argument
205 assert(esp_ptr_dma_capable(out_data)); in sdmmc_mmc_send_ext_csd_data()
207 .data = out_data, in sdmmc_mmc_send_ext_csd_data()
/hal_espressif-3.4.0/examples/peripherals/spi_master/hd_eeprom/components/eeprom/
Dspi_eeprom.h56 esp_err_t spi_eeprom_read(eeprom_handle_t handle, uint8_t addr, uint8_t* out_data);
Dspi_eeprom.c211 esp_err_t spi_eeprom_read(eeprom_context_t* ctx, uint8_t addr, uint8_t* out_data) in spi_eeprom_read() argument
222 *out_data = t.rx_data[0]; in spi_eeprom_read()
/hal_espressif-3.4.0/components/driver/include/driver/
Dspi_slave_hd.h157 void spi_slave_hd_read_buffer(spi_host_device_t host_id, int addr, uint8_t *out_data, size_t len);
/hal_espressif-3.4.0/components/hal/include/hal/
Dspi_slave_hd_hal.h233 void spi_slave_hd_hal_read_buffer(spi_slave_hd_hal_context_t *hal, int addr, uint8_t *out_data, siz…

12