feat(mbedtls): Support both SHA block and DMA modes during runtime

Dynamically switch the SHA operation modes based on the buffer operating length
This commit is contained in:
harshal.patil
2025-01-24 16:26:47 +05:30
parent 2e708d1a7d
commit 7d8211bf87
28 changed files with 458 additions and 1271 deletions

View File

@@ -12,10 +12,8 @@
#include "soc/soc_caps.h"
#if SOC_SHA_SUPPORT_PARALLEL_ENG
#include "sha/sha_parallel_engine.h"
#elif SOC_SHA_SUPPORT_DMA
#include "sha/sha_dma.h"
#else
#include "sha/sha_block.h"
#include "sha/sha_core.h"
#endif
#include "esp_newlib.h"