subject : does FATFS and LITTLEFS supports encryption natively ?
hello,
I am using esp32 idf 5.0.7
I am curretly using spiffs to store data and generating spiffs.bin loading it in board
but no encryption is there
now I want to switch to LittleFS or FATFS,
https://docs.espressif.com/projects/esp ... tions.html
as this forum says these supoorts native encryption
but not able to figure it out
If i need to manually use encrypt and decrypt logic using mbedtls aes library
then how its saying that both LittleFS and FATFS, supoorts encryption
And manually only i need to encrypt and decrypt then why can i not do that with spiffs ?
regards.
does FATFS and LITTLEFS supports encryption natively ?
-
kesha.modhia
- Posts: 54
- Joined: Fri May 13, 2022 12:36 pm
Re: does FATFS and LITTLEFS supports encryption natively ?
Hi kesha.modhia,
the flash encryption is actually provided by integrated HW module and there is no specific work to be done at file system level. The only point is the file system of your choice must be compatible with the encryption block size (32B) - which applies only to FatFS and LittleFS, not to SPIFFS.
For more information about the flash encryption setup see https://docs.espressif.com/projects/esp ... ption.html
For example including FatFS deployment see for instance https://github.com/espressif/esp-idf/tr ... encryption (latest stable release)
Hope this helps
the flash encryption is actually provided by integrated HW module and there is no specific work to be done at file system level. The only point is the file system of your choice must be compatible with the encryption block size (32B) - which applies only to FatFS and LittleFS, not to SPIFFS.
For more information about the flash encryption setup see https://docs.espressif.com/projects/esp ... ption.html
For example including FatFS deployment see for instance https://github.com/espressif/esp-idf/tr ... encryption (latest stable release)
Hope this helps
Who is online
Users browsing this forum: Amazon [Bot], Bytespider, PetalBot and 3 guests
