fix(bootloader_support): enable XTS-AES pseudo rounds for ESP32-P4

Burn XTS_DPA_PSEUDO_LEVEL efuse on P4 (rev >= 3.0) as done for other targets.
This commit is contained in:
nilesh.kale
2026-07-16 15:05:49 +05:30
parent 7ef8b58873
commit 446c4fb6c3
2 changed files with 12 additions and 1 deletions

View File

@@ -1166,6 +1166,8 @@ menu "Security features"
default y if SECURE_FLASH_ENCRYPTION_MODE_RELEASE
default n
depends on SECURE_FLASH_ENC_ENABLED && SOC_FLASH_ENCRYPTION_XTS_AES_SUPPORT_PSEUDO_ROUND
# ESP32-P4 revisions < v3.0 do not support the XTS-AES pseudo rounds function
depends on !ESP32P4_SELECTS_REV_LESS_V3
help
If set (default), the bootloader will permanently enable the XTS-AES peripheral's pseudo rounds function.
Note: Enabling this config would burn an efuse.