Lines Matching full:dma
73 * * Must be in DMA capable memory, so stack is not a safe place to put them
74 * * To avoid having to malloc/free them for every DMA operation
120 /* Enable SHA and DMA hardware */ in esp_sha_acquire_hardware()
131 /* Disable SHA and DMA hardware */ in esp_sha_release_hardware()
184 /* Hash the input block by block, using non-DMA mode */
212 /* Performs SHA on multiple blocks at a time using DMA
213 splits up into smaller operations for inputs that exceed a single DMA list
222 ESP_LOGE(TAG, "SHA DMA buf_len cannot exceed max size for a single block"); in esp_sha_dma()
226 /* DMA cannot access memory in flash, hash block by block instead of using DMA */ in esp_sha_dma()
241 /* Copy to internal buf if buf is in non DMA capable memory */ in esp_sha_dma()
256 /* Number of DMA operations based on maximum chunk size in single operation */ in esp_sha_dma()
259 /* For zero input length, we must allow at-least 1 DMA operation to see in esp_sha_dma()
265 Thus we only do a single DMA input list + dma buf list, in esp_sha_dma()
302 /* DMA descriptor for Memory to DMA-SHA transfer */ in esp_sha_dma_process()
321 /* Link DMA lists */ in esp_sha_dma_process()
328 ESP_LOGE(TAG, "esp_sha_dma_start failed, no DMA channel available"); in esp_sha_dma_process()