I am using iMX8MQ based custom board and I want to encrypt rootfs. Is there any guide//document for this to implement in yocto to create sdcard image with encrypted rootfs?
I am using 5.4-zeus version.
Many thanks in advance.
Only the following documents are available now.
“i.MX Encrypted Storage Using CAAM Secure Keys”
Section 10.5 (Disk encryption acceleration) in “i.MX_Linux_Users_Guide.pdf”
Thanks, Yuri for sharing the details.
I have tried to follow the steps and facing an issue during the step where keys are not able to generate using the caam-keygen utility.
When I'm trying to send the command below which is giving an error.
root@mymachine:~# ./caam-keygen create fromTextkey ecb -t 0123456789abcdef
Unable to open device /dev/caam-keygen
My kernel version is 5.4.3-lts-lf-5.4.y+gf8118585ee3c.
Can you please suggest what could be the issue?