mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-28 04:05:39 +00:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user