Greetings,
I am working on implementing an encrypted root filesystem on my SoC with the i.MX8MP. So far, I have created a ramdisk image and have CAAM functionality integrated with initramfs.
Now, I want to use the CAAM engine to handle encryption and decryption tasks. However, I am uncertain about how to ensure that CAAM generates the same key pair at each boot. I have already burned my SRK fuses and enabled secure boot, so I assumed CAAM could generate a unique key pair specific to my i.MX8MP. However, I lack understanding of how to implement this.
I have reviewed the relevant documentation, but I need further guidance on a deterministic key generation approach using CAAM.
Any tips or references would be greatly appreciated.
Hi,
As your device is in secure boot, so would suggest you to refer to the section <10.5.3.3 Usage> of LINUX_USERS_GUIDE
You will see the step - 13. Import the key from blob and add it to key retention service
Regards
Harvey