Which file system with encryption on NAND flash?

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

Which file system with encryption on NAND flash?

2,907 次查看
ChristophG_Baum
Contributor III

Hello all,


the system I'm working on, is to be equipped with NAND flash as "mass" storage. The file system needs to be encrypted. So I plan to use the on-board block level encryption in Linux. But regarding wear levelling I'm unsure if I just can hook e.g. /dev/mtd1 to the crypto-device mapper and then use JFFS2 on top of that.

Are there any suggestions?

Regards,

Christoph Baumann

标记 (2)
1 回复

1,156 次查看
ChristophG_Baum
Contributor III

For the records: My solution for now is to use UBIFS on the NAND device for unencrypted data and an image file which is connected via losetup and cryptsetup with the device mapper. This results in an encrypted block device which can be formatted with any FS (I used ext4).