From 57877a682e27a6992881c0c8fbf56b8a6dbbc11e Mon Sep 17 00:00:00 2001 From: Shen Mengjing Date: Thu, 21 Mar 2024 03:13:02 +0000 Subject: [PATCH] docs: Provide translation for security.rst in migration-guides --- .../migration-guides/release-5.x/5.3/security.rst | 5 ++--- .../migration-guides/release-5.x/5.3/security.rst | 14 +++++++++++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/en/migration-guides/release-5.x/5.3/security.rst b/docs/en/migration-guides/release-5.x/5.3/security.rst index fcb1143db5..d49e78bb3b 100644 --- a/docs/en/migration-guides/release-5.x/5.3/security.rst +++ b/docs/en/migration-guides/release-5.x/5.3/security.rst @@ -8,7 +8,6 @@ Security Platform security features -------------------------- - When flash encryption is enabled, encrypt only the app image that is present partition of type app, instead of encrypting the whole partition. This can help to optimize the encryption time required during the first boot. + When flash encryption is enabled, only the app images present in the app partition are encrypted, instead of encrypting the whole partition. This can help to optimize the encryption time required during the first boot. - This could be configured using the config ``CONFIG_SECURE_FLASH_ENCRYPT_ONLY_IMAGE_LEN_IN_APP_PART``, which is enabled by default from ESP-IDF v5.3 - and is disabled for all earlier releases to avoid any breaking behaviour. + This could be configured using the config ``CONFIG_SECURE_FLASH_ENCRYPT_ONLY_IMAGE_LEN_IN_APP_PART``, which is enabled by default from ESP-IDF v5.3, and is disabled for all earlier releases to avoid any breaking behaviour. diff --git a/docs/zh_CN/migration-guides/release-5.x/5.3/security.rst b/docs/zh_CN/migration-guides/release-5.x/5.3/security.rst index 2dd66a31bd..5331ca9553 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.3/security.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.3/security.rst @@ -1 +1,13 @@ -.. include:: ../../../../en/migration-guides/release-5.x/5.3/security.rst +安全性 +======= + +:link_to_translation:`en:[English]` + +.. only:: SOC_FLASH_ENC_SUPPORTED + + 平台安全特性 + ------------ + + 当启用 flash 加密时,仅加密 app 分区中存在的应用程序镜像,而不是加密整个分区。这可以帮助优化在首次启动期间所需的加密时间。 + + 这可以通过配置 ``CONFIG_SECURE_FLASH_ENCRYPT_ONLY_IMAGE_LEN_IN_APP_PART`` 来实现,默认情况下从 ESP-IDF v5.3 开始启用,而在所有早期版本中均禁用,以避免任何破坏性行为。