feat(mbedtls/esp_crypto_shared_gdma): support AXI-DMA in the crypto shared gdma layer

- In case of AXI-DMA, the DMA descriptors need to be 8 bytes aligned
lldesc_t do not satify this condition thus we need to replace it with
dma_descriptor_t (align(4) and align(8)) in esp_crypto_shared_gdma.

- Added new shared gdma start API that supports the dma_descriptor_t
DMA descriptor.

- Added some generic dma descriptor macros and helper functions

- replace lldesc_t with dma_descriptor_t
This commit is contained in:
harshal.patil
2023-10-12 14:51:04 +05:30
parent 2c570ed53b
commit 83dd60307f
13 changed files with 309 additions and 123 deletions

View File

@@ -112,8 +112,6 @@ static void tskRunAES256Test(void *pvParameters)
}
#include "esp_crypto_shared_gdma.h"
#define TASK_STACK_SIZE (20*1024)
TEST_CASE("mbedtls AES/SHA multithreading", "[mbedtls]")