change(mbedtls/ecdsa): The ECDSA module of ESP32-H2 ECO5 does not use MPI module

This commit is contained in:
harshal.patil
2025-08-13 20:50:53 +05:30
parent 0e2511d3b4
commit 2bfecc9638
6 changed files with 55 additions and 17 deletions
@@ -418,6 +418,14 @@ static inline bool ecdsa_ll_is_deterministic_mode_supported(void)
return ESP_CHIP_REV_ABOVE(efuse_hal_chip_revision(), 102);
}
/**
* @brief Check if the ECDSA peripheral uses MPI module's memory
*/
static inline bool ecdsa_ll_is_mpi_required(void)
{
return !ESP_CHIP_REV_ABOVE(efuse_hal_chip_revision(), 102);
}
#ifdef __cplusplus
}
#endif