feat: enable DPA protection for c5

This commit enabled DPA protection for ESP32C5.
This reflect updating documentation for C5.
This commit is contained in:
nilesh.kale 2024-06-27 10:41:38 +05:30
parent f09f92eb54
commit 1eaa8288a2
2 changed files with 5 additions and 1 deletions

View File

@ -839,6 +839,10 @@ config SOC_FLASH_ENCRYPTION_XTS_AES_128
bool
default y
config SOC_CRYPTO_DPA_PROTECTION_SUPPORTED
bool
default y
config SOC_UART_NUM
int
default 3

View File

@ -482,7 +482,7 @@
#define SOC_FLASH_ENCRYPTION_XTS_AES_128 1
/*------------------------ Anti DPA (Security) CAPS --------------------------*/
// #define SOC_CRYPTO_DPA_PROTECTION_SUPPORTED 1
#define SOC_CRYPTO_DPA_PROTECTION_SUPPORTED 1
/*-------------------------- UART CAPS ---------------------------------------*/
// ESP32-C5 has 3 UARTs (2 HP UART, and 1 LP UART)