Tool/software:
Hi, I'm work on am6442 HS-SE, and already run secure boot worked with TI dummy key(keys in SDK's uboot/board/ti/keys/).
And now, I'm finding out how to make am6442's secure boot run with the company's security keys.
In the company I worked, we unable to get the private key in any way.
What can we do is just give a file's hash to the security system, and then we will receive a signature in pkcs7 format. And we can get the signer's certificate(public key in it).
That's all.
But when I read the script which create the OTP Keywriter's input, keycert.h,
I found out that, the private key is needed for
1. Sign the aes256 key which used for encrypt other keys.
2. Get the public key.
3. Create a self signed x509 certificate which include "encrypted aes256 key" "encrypted digital sign of aes256 key" "encrypted public key hash" "encrypted key for encrypt boot".
I think I can make some changes in the script for "1" and "2", than the private key would be no needed, that's not a big deal.
But for 3, I can not imagine how to create the x509 without private key in my hand.
I'm not a expert about RSA key/encrypt/decrypt/certificate, but I already work on these for a little long time.
So, does it means that with the company's security rules, we have no ways to use am6442's secure boot?