Data Encryption Decryption over LittleFS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Data Encryption Decryption over LittleFS

跳至解决方案
1,047 次查看
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

标签 (3)
0 项奖励
回复
1 解答
996 次查看
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 项奖励
回复
3 回复数
1,023 次查看
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 项奖励
回复
1,013 次查看
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 项奖励
回复
997 次查看
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 项奖励
回复