Hello,
I am currently working on implementing secure boot using HSE APIs to perform kernel image verification before loading. At present, U-Boot loads the kernel image without leveraging any cryptographic algorithms, relying solely on a U-Boot environment script.
I am considering including a custom U-Boot command within the environment script to invoke the HSE APIs (SMR and CR) for kernel verification. However, I am unsure about where and how to implement this in my yocto package or whether this approach is appropriate. If this method is not recommended, I would appreciate any suggestions for a better alternative.
Thank you.