docs: Provide translation for security.rst in migration-guides

This commit is contained in:
Shen Mengjing 2024-03-21 03:13:02 +00:00 committed by shenmengjing
parent b47c9e9c21
commit 57877a682e
2 changed files with 15 additions and 4 deletions

View File

@ -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.

View File

@ -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 开始启用,而在所有早期版本中均禁用,以避免任何破坏性行为。