Hi Igor.
I read AN12714
In chapter 3 is wrote:
"NAND flash is an MTD device, hence, DM-Crypt cannot be used with it and the hands-on do not apply for it."
So the question is: "How can I encrypt NAND on iMX6"?
answer from team below:
-----------------
Yes, dm-crypt can't directly be used on MTD device. It seems like that customer can use fscrypt[1] with UBIFS
[1]https://www.kernel.org/doc/html/latest/filesystems/fscrypt.html
-----------------
Best regards
igor
Hi Mirko
one can look at AN12714 i.MX Encrypted Storage Using CAAM Secure Keys
and other useful secure app notes on
Best regards
igor