fix(mbedtls/port): Align AES and SHA DMA buffers to 16 when SPIRAM encryption is enabled

- Targets that support GDMA and MSPI encryption module need data and addresses aligned to 16
This commit is contained in:
harshal.patil
2025-11-11 17:39:39 +05:30
parent 5d40b0d252
commit 10cefdd975
10 changed files with 100 additions and 55 deletions
@@ -519,6 +519,10 @@ config SOC_GDMA_SUPPORT_WEIGHTED_ARBITRATION
bool
default y
config SOC_GDMA_EXT_MEM_ENC_ALIGNMENT
int
default 16
config SOC_GPIO_PORT
int
default 1
@@ -203,6 +203,7 @@
#define SOC_GDMA_SUPPORT_ETM 1
#define SOC_GDMA_SUPPORT_SLEEP_RETENTION 1
#define SOC_GDMA_SUPPORT_WEIGHTED_ARBITRATION 1
#define SOC_GDMA_EXT_MEM_ENC_ALIGNMENT (16)
/*-------------------------- GPIO CAPS ---------------------------------------*/
// ESP32-C5 has 1 GPIO peripheral