Searched refs:chunk_len (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-latest/components/mbedtls/port/aes/dma/ |
D | esp_aes.c | 259 size_t chunk_len; in esp_aes_process_dma_ext_ram() local 265 chunk_len = MIN(AES_MAX_CHUNK_WRITE_SIZE, len); in esp_aes_process_dma_ext_ram() 268 input_buf = heap_caps_malloc(chunk_len, MALLOC_CAP_DMA); in esp_aes_process_dma_ext_ram() 278 output_buf = heap_caps_malloc(chunk_len, MALLOC_CAP_DMA); in esp_aes_process_dma_ext_ram() 290 chunk_len = MIN(AES_MAX_CHUNK_WRITE_SIZE, len); in esp_aes_process_dma_ext_ram() 294 memcpy(input_buf, input + offset, chunk_len); in esp_aes_process_dma_ext_ram() 300 if (esp_aes_process_dma(ctx, dma_input, output_buf, chunk_len, stream_out) != 0) { in esp_aes_process_dma_ext_ram() 306 memcpy(output + offset, output_buf, chunk_len); in esp_aes_process_dma_ext_ram() 308 output_buf = output + offset + chunk_len; in esp_aes_process_dma_ext_ram() 311 len -= chunk_len; in esp_aes_process_dma_ext_ram() [all …]
|
/hal_espressif-latest/tools/esptool_py/espsecure/ |
D | __init__.py | 49 def get_chunks(source, chunk_len): argument 51 return (source[i : i + chunk_len] for i in range(0, len(source), chunk_len))
|