mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5
This commit is contained in:
@@ -325,6 +325,20 @@ menu "Hardware Settings"
|
||||
|
||||
endmenu
|
||||
|
||||
config ESP_CRYPTO_FORCE_ECC_CONSTANT_TIME_POINT_MUL
|
||||
bool "Forcefully enable ECC constant time point multiplication operations"
|
||||
depends on SOC_ECC_CONSTANT_TIME_POINT_MUL
|
||||
default N
|
||||
help
|
||||
If enabled, the app startup code will burn the ECC_FORCE_CONST_TIME efuse bit to force the
|
||||
ECC peripheral to always perform constant time point multiplication operations,
|
||||
irrespective of the ECC_MULT_SECURITY_MODE status bit that is present in the ECC_MULT_CONF_REG
|
||||
register. By default, ESP-IDF configures the ECC peripheral to perform constant time point
|
||||
multiplication operations, so enabling this config would provide security enhancement only in
|
||||
the cases when trusted boot is not enabled and the attacker tries carrying out non-constant
|
||||
time point multiplication operations by changing the default ESP-IDF configurations.
|
||||
Performing constant time operations protect the ECC multiplication operations from timing attacks.
|
||||
|
||||
orsource "./port/$IDF_TARGET/Kconfig.dcdc"
|
||||
|
||||
orsource "./port/$IDF_TARGET/Kconfig.ldo"
|
||||
|
||||
Reference in New Issue
Block a user