Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/wpa_supplicant/src/ap/
Dieee802_1x.c36 u16 datalen; in ieee802_1x_receive() local
53 datalen = be_to_host16(hdr->length); in ieee802_1x_receive()
55 hdr->version, hdr->type, datalen); in ieee802_1x_receive()
57 if (len - sizeof(*hdr) < datalen) { in ieee802_1x_receive()
61 if (len - sizeof(*hdr) > datalen) { in ieee802_1x_receive()
64 (unsigned long) len - sizeof(*hdr) - datalen); in ieee802_1x_receive()
68 if (datalen >= sizeof(struct ieee802_1x_eapol_key) && in ieee802_1x_receive()
73 sizeof(*hdr) + datalen); in ieee802_1x_receive()
/hal_espressif-3.5.0/components/wpa_supplicant/src/common/
Dieee802_11_common.h18 u8 datalen; member
28 (int) sizeof(*_elem) + _elem->datalen; \
29 _elem = (const struct element *) (_elem->data + _elem->datalen))
31 #define for_each_element_id(element, _id, data, datalen) \ argument
32 for_each_element(element, data, datalen) \
Dieee802_11_common.c45 if (elem->datalen >= 4 && in get_vendor_ie()
Dbss.c492 if (elem->datalen >= 4 && in wpa_bss_get_vendor_ie()
/hal_espressif-3.5.0/components/esp-tls/
Desp_tls.h329 …ssize_t (*read)(struct esp_tls *tls, char *data, size_t datalen); /*!< Callback function…
332 …ssize_t (*write)(struct esp_tls *tls, const char *data, size_t datalen); /*!< Callback function…
474 static inline ssize_t esp_tls_conn_write(esp_tls_t *tls, const void *data, size_t datalen) in esp_tls_conn_write() argument
476 return tls->write(tls, (char *)data, datalen); in esp_tls_conn_write()
494 static inline ssize_t esp_tls_conn_read(esp_tls_t *tls, void *data, size_t datalen) in esp_tls_conn_read() argument
496 return tls->read(tls, (char *)data, datalen); in esp_tls_conn_read()
Desp_tls_mbedtls.c199 ssize_t esp_mbedtls_read(esp_tls_t *tls, char *data, size_t datalen) in esp_mbedtls_read() argument
202 ssize_t ret = mbedtls_ssl_read(&tls->ssl, (unsigned char *)data, datalen); in esp_mbedtls_read()
216 ssize_t esp_mbedtls_write(esp_tls_t *tls, const char *data, size_t datalen) in esp_mbedtls_write() argument
219 size_t write_len = datalen; in esp_mbedtls_write()
220 while (written < datalen) { in esp_mbedtls_write()
224 if (datalen > MBEDTLS_SSL_OUT_CONTENT_LEN) { in esp_mbedtls_write()
225 …ESP_LOGD(TAG, "Fragmenting data of excessive size :%d, offset: %d, size %d", datalen, written, wri… in esp_mbedtls_write()
243 write_len = datalen - written; in esp_mbedtls_write()
Desp_tls.c82 static ssize_t tcp_read(esp_tls_t *tls, char *data, size_t datalen) in tcp_read() argument
84 return recv(tls->sockfd, data, datalen, 0); in tcp_read()
87 static ssize_t tcp_write(esp_tls_t *tls, const char *data, size_t datalen) in tcp_write() argument
89 return send(tls->sockfd, data, datalen, 0); in tcp_write()
Desp_tls_wolfssl.c389 ssize_t esp_wolfssl_read(esp_tls_t *tls, char *data, size_t datalen) in esp_wolfssl_read() argument
391 ssize_t ret = wolfSSL_read( (WOLFSSL *)tls->priv_ssl, (unsigned char *)data, datalen); in esp_wolfssl_read()
409 ssize_t esp_wolfssl_write(esp_tls_t *tls, const char *data, size_t datalen) in esp_wolfssl_write() argument
411 ssize_t ret = wolfSSL_write( (WOLFSSL *)tls->priv_ssl, (unsigned char *) data, datalen); in esp_wolfssl_write()
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Dhmac_prng.c78 static void update(TCHmacPrng_t prng, const uint8_t *data, unsigned int datalen, const uint8_t *add… in update() argument
91 if (data && datalen) { in update()
92 (void)tc_hmac_update(&prng->h, data, datalen); in update()
108 if (data == 0 || datalen == 0) { in update()
119 (void)tc_hmac_update(&prng->h, data, datalen); in update()
Dsha256.c65 int tc_sha256_update(TCSha256State_t s, const uint8_t *data, size_t datalen) in tc_sha256_update() argument
71 } else if (datalen == 0) { in tc_sha256_update()
75 while (datalen-- > 0) { in tc_sha256_update()
/hal_espressif-3.5.0/components/sdmmc/
Dsdmmc_cmd.c22 … slot, cmd->opcode, cmd->arg, cmd->flags, cmd->data, cmd->blklen, cmd->datalen, cmd->timeout_ms); in sdmmc_send_cmd()
205 .datalen = sizeof(buf) in sdmmc_send_cmd_send_cid()
263 .datalen = is_spi ? sizeof(spi_buf) : 0, in sdmmc_send_cmd_send_csd()
296 size_t datalen = 8; in sdmmc_send_cmd_send_scr() local
297 uint32_t* buf = (uint32_t*) heap_caps_malloc(datalen, MALLOC_CAP_DMA); in sdmmc_send_cmd_send_scr()
303 .datalen = datalen, in sdmmc_send_cmd_send_scr()
304 .blklen = datalen, in sdmmc_send_cmd_send_scr()
397 .datalen = block_count * block_size, in sdmmc_write_sectors_dma()
472 .datalen = block_count * block_size in sdmmc_read_sectors_dma()
Dsdmmc_io.c262 uint32_t reg, int arg, void *datap, size_t datalen) in sdmmc_io_rw_extended() argument
271 .datalen = datalen, in sdmmc_io_rw_extended()
277 if (cmd.datalen % cmd.blklen != 0) { in sdmmc_io_rw_extended()
280 count = cmd.datalen / cmd.blklen; in sdmmc_io_rw_extended()
282 if (datalen > max_byte_transfer_size) { in sdmmc_io_rw_extended()
286 if (datalen == max_byte_transfer_size) { in sdmmc_io_rw_extended()
289 count = datalen; in sdmmc_io_rw_extended()
291 cmd.blklen = datalen; in sdmmc_io_rw_extended()
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
208 .datalen = datalen, in sdmmc_mmc_send_ext_csd_data()
209 .blklen = datalen, in sdmmc_mmc_send_ext_csd_data()
Dsdmmc_common.h93 esp_err_t sdmmc_mmc_send_ext_csd_data(sdmmc_card_t* card, void *out_data, size_t datalen);
Dsdmmc_sd.c146 .datalen = sizeof(sdmmc_switch_func_rsp_t), in sdmmc_send_cmd_switch_func()
/hal_espressif-3.5.0/components/driver/
Dsdmmc_transaction.c121 if (cmdinfo->datalen >= 4 && cmdinfo->datalen % 4 != 0) { in sdmmc_host_do_transaction()
123 __func__, cmdinfo->datalen); in sdmmc_host_do_transaction()
139 s_cur_transfer.size_remaining = cmdinfo->datalen; in sdmmc_host_do_transaction()
141 …s_cur_transfer.desc_remaining = (cmdinfo->datalen + SDMMC_DMA_MAX_BUF_LEN - 1) / SDMMC_DMA_MAX_BUF… in sdmmc_host_do_transaction()
145 sdmmc_host_dma_prepare(&s_dma_desc[0], cmdinfo->blklen, cmdinfo->datalen); in sdmmc_host_do_transaction()
276 return cmd->datalen > 0 && in cmd_needs_auto_stop()
313 assert(cmd->datalen % cmd->blklen == 0); in make_hw_cmd()
Dsdspi_transaction.c113 if (cmdinfo->datalen > SDSPI_MAX_DATA_LEN) { in sdspi_host_do_transaction()
149 cmdinfo->data, cmdinfo->datalen, flags); in sdspi_host_do_transaction()
/hal_espressif-3.5.0/components/esp-tls/private_include/
Desp_tls_wolfssl.h23 ssize_t esp_wolfssl_read(esp_tls_t *tls, char *data, size_t datalen);
28 ssize_t esp_wolfssl_write(esp_tls_t *tls, const char *data, size_t datalen);
Desp_tls_mbedtls.h13 ssize_t esp_mbedtls_read(esp_tls_t *tls, char *data, size_t datalen);
18 ssize_t esp_mbedtls_write(esp_tls_t *tls, const char *data, size_t datalen);
/hal_espressif-3.5.0/examples/peripherals/i2s/i2s_basic/
DREADME.md41 I2S: DMA Malloc info, datalen=blocksize=480, dma_buf_count=6
45 I2S: DMA Malloc info, datalen=blocksize=480, dma_buf_count=6
49 I2S: DMA Malloc info, datalen=blocksize=240, dma_buf_count=6
/hal_espressif-3.5.0/components/nvs_flash/nvs_partition_generator/
Dnvs_partition_gen.py337 def write_single_page_entry(self, entry_struct, data, datalen, data_entry_count, nvs_obj): argument
339 struct.pack_into('<H', entry_struct, 24, datalen)
361 datalen = len(data)
363 if datalen > Page.PAGE_PARAMS['max_old_blob_size']:
366 % (datalen, Page.PAGE_PARAMS['max_old_blob_size'], key))
370 % (datalen, Page.PAGE_PARAMS['max_old_blob_size'], key))
373 rounded_size = (datalen + 31) & ~31
411datalen,total_entry_count, encoding, nvs_obj)
413 self.write_single_page_entry(entry_struct, data, datalen, data_entry_count, nvs_obj)
/hal_espressif-3.5.0/examples/peripherals/i2s/i2s_es8311/
DREADME.md97 I (348) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=6
98 I (348) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=6
109 I (312) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=6
110 I (312) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=6
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Dsha256.h105 int tc_sha256_update (TCSha256State_t s, const uint8_t *data, size_t datalen);
/hal_espressif-3.5.0/components/driver/include/driver/
Dsdmmc_types.h92 size_t datalen; /*!< length of data buffer */ member
/hal_espressif-3.5.0/examples/peripherals/i2s/i2s_audio_recorder_sdcard/
DREADME.md78 I (371) I2S: DMA Malloc info, datalen=blocksize=2048, dma_buf_count=64