fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API

- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
This commit is contained in:
harshal.patil
2023-07-04 14:33:40 +05:30
committed by Mahavir Jain
parent 0c496896ba
commit 79d07f9909
10 changed files with 301 additions and 170 deletions

View File

@@ -185,6 +185,9 @@
/*--------------------------- SHA CAPS ---------------------------------------*/
/* Due to very limited availability of the DMA channels, DMA support for the SHA peripheral is disabled */
// #define SOC_SHA_SUPPORT_DMA (1)
/* The SHA engine is able to resume hashing from a user */
#define SOC_SHA_SUPPORT_RESUME (1)