On 11/29/22 12:37, Daniel Golle wrote:
I thought you are on a device with actual block storage. For your case I also can't come up with anything better which works out-of-the-box for NOR flash. Supporting fscrypt in JFFS2 would be more elegant, but that's a bit more demanding than just using what is already there and works...
Well, my big concern here is performance on a small device. I haven't done much testing yet, but some operations seem quite slow; I won't really know until I get it all going. The format of the ~17MB roofs_data takes 3-4 minutes, but that's a one-time operation after sysupgrade. In my colleague's case, he used AES and was able to make use of the hardware acceleration. I imagine that fscrypt in JFFS2 would avoid a lot of overhead too. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel