mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-24 19:12:38 +00:00
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
Removed the old dynamically allocated GDMA channel approach. It proved too unreliable as we couldn't not ensure consumers of the mbedtls would properly free the channels after use. Replaced by a single shared GDMA channel for AES and SHA, which won't be released unless user specifically calls API for releasing it.
This commit is contained in:
@@ -263,8 +263,9 @@
|
||||
#define SOC_DMA_HIGH 0x3FD00000
|
||||
|
||||
// Region of memory accessible via DMA in external memory. See esp_ptr_dma_ext_capable().
|
||||
#define SOC_DMA_EXT_LOW 0x3C000000
|
||||
#define SOC_DMA_EXT_HIGH 0x3DFFFFFF
|
||||
#define SOC_DMA_EXT_LOW SOC_EXTRAM_DATA_LOW
|
||||
#define SOC_DMA_EXT_HIGH SOC_EXTRAM_DATA_HIGH
|
||||
|
||||
|
||||
// Region of memory that is byte-accessible. See esp_ptr_byte_accessible().
|
||||
#define SOC_BYTE_ACCESSIBLE_LOW 0x3FC88000
|
||||
|
||||
Reference in New Issue
Block a user