cancel
Showing results for 
Search instead for 
Did you mean: 

Lightweight Encryption Methods for SD Card on STM32F412RB

Sujith
Associate III

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.

Current Setup:

  • MCU: STM32F412RB

  • SD Card Interface: SDIO

  • File System: FATFS

  • Encryption: None implemented yet

  • Remaining Flash Memory: 40 KB

Questions:

  1. What are some efficient lightweight encryption methods for securing SD card data on STM32 with minimal resource usage?

  2. Does the STM32F412RB have any hardware-accelerated encryption support that I can utilize?

  3. Would a simple XOR-based encryption be sufficient for basic security, or is there a better lightweight alternative?

  4. Are there any recommended STM32 libraries for secure but fast data storage on SD cards?

  5. Is there any available code or a GitHub link that I can refer to?

I would appreciate any insights or experiences regarding this. Thank you!

0 REPLIES 0