I am trying to using encrypts for encrypted storage on imx8m mini.
I am using kernel 5.4.24.
when I try to mount, I get the below error
below are the shell variables that are used in the above command
Please suggest.
Hi john_wick
for encrypted storage usage one can look at AN12714
i.MX Encrypted Storage Using CAAM Secure Keys
Best regards
igor
Hi igor,
Thanks for your response. I have tried that. But it didn't work for me.
I was referring to AN12714 Rev0. I get the below error while trying to generate keys.
I have attached list of my kernel modules for reference. I did search for this error, but in the forum, lot of people suggested to upgrade 5.4.47 kernel for this to work. Please confirm.
https://community.nxp.com/t5/i-MX-Processors/dm-crypt-Error-on-iMX-6UL-EVK/td-p/1039634
https://community.nxp.com/t5/i-MX-Processors/CAAM-Black-Blob-Implementation-on-i-MX6/m-p/1197342
Also, for the actual question I posted regarding ecryptfs error, the problem was the kernel module for ecryptfs was not set.
After setting, CONFIG_ECRYPT_FS=y, it started working as expected.
However, Igor, I would like to know the solution for the below error regarding dm-setup process as mentioned in AN12714.
Thanks in Advance