mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
feat(examples/security): Extend flash_encryption example with fatfs encryption
Updated the flash_encryption example to demonstrate the usage of fatfs encryption. Updated existing test case to ensure accurate and reliable testing. Documentation of storage section extended by security relarted summary. Closes https://github.com/espressif/esp-idf/issues/11551 Closes https://github.com/espressif/esp-idf/issues/13668
This commit is contained in:
@@ -53,6 +53,12 @@ def _test_flash_encryption(dut: Dut) -> None:
|
||||
plain_hex_str,
|
||||
'with esp_flash_read',
|
||||
expected_str,
|
||||
'FAT partition "fat_not_encr" is not encrypted.',
|
||||
'Read partition using esp_flash_read until test string is found',
|
||||
'Test string was found at offset',
|
||||
'FAT partition "fat_encrypted" is encrypted.',
|
||||
'Read partition using esp_flash_read at expected offset',
|
||||
'Data does not match test string',
|
||||
# The status of NVS encryption for the "nvs" partition
|
||||
'NVS partition "nvs" is encrypted.',
|
||||
# The status of NVS encryption for the "custom_nvs" partition
|
||||
|
Reference in New Issue
Block a user