feat(mbedtls/sha): New API for setting SHA mode

This commit is contained in:
harshal.patil
2025-06-06 14:51:44 +05:30
parent afdf1a31c8
commit fe78370ec9
32 changed files with 279 additions and 135 deletions
+10
View File
@@ -132,6 +132,16 @@ static inline void sha_ll_load(esp_sha_type sha_type)
DPORT_REG_WRITE(SHA_LOAD_REG(sha_type), 1);
}
/**
* @brief Load the mode for the SHA engine
*
* @param sha_type The SHA algorithm type
*/
static inline void sha_ll_set_mode(esp_sha_type sha_type)
{
(void) sha_type;
}
/**
* @brief Checks if the SHA engine is currently busy hashing a block
*