2025-03-27 11:40 PM
Hi everyone,
I am working on an STM32F412RB-based project where I need to secure data stored on an SD card while maintaining fast accessibility. However, I have very limited flash memory available (only 40 KB free), so I need a lightweight encryption method that does not consume too many resources.
MCU: STM32F412RB
SD Card Interface: SDIO
File System: FATFS
Encryption: None implemented yet
Remaining Flash Memory: 40 KB
What are some efficient lightweight encryption methods for securing SD card data on STM32 with minimal resource usage?
Does the STM32F412RB have any hardware-accelerated encryption support that I can utilize?
Would a simple XOR-based encryption be sufficient for basic security, or is there a better lightweight alternative?
Are there any recommended STM32 libraries for secure but fast data storage on SD cards?
I would appreciate any insights or experiences regarding this. Thank you!