Data Encryption Decryption over LittleFS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Data Encryption Decryption over LittleFS

Jump to solution
1,047 Views
kotalamit
Contributor III

Hi,

In our application based on IMXRT1170, we plan to have LittleFS over the Flash Memory. Since we plan to have user data being saved to be encrypted and decrypted as a routine feature, want to check if using the Inline Encryption Engine be an appropriate utility?  Any other insights/suggestion will also be helpful.

 

Regards,

Amit Kotal

Labels (3)
0 Kudos
Reply
1 Solution
996 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @kotalamit ,

Yes, this is because flash programming use IP command, it doesn't use AHB bus. IEE can't help. You have to use IEE region 0 or other peripherals or software to encrypt the plaint text first, then do like the demo.

 

Regards,

Jing

View solution in original post

0 Kudos
Reply
3 Replies
1,023 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @kotalamit ,

I think it is possible. You can refer to the iee_apc_cm7 project in the SDK demo folder.

 

Regards,

Jing

0 Kudos
Reply
1,013 Views
kotalamit
Contributor III

Hi @jingpan 

Thanks for the reply. With reference to the example, you mentioned; in that there is only decryption of the data stored in flash. No encryption for the flash data storage.

Additionally, in reference manual section 7.10 it is mentioned as decrypting only over Flex SPI.

 

Regards,

Amit K

0 Kudos
Reply
997 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @kotalamit ,

Yes, this is because flash programming use IP command, it doesn't use AHB bus. IEE can't help. You have to use IEE region 0 or other peripherals or software to encrypt the plaint text first, then do like the demo.

 

Regards,

Jing

0 Kudos
Reply