[LS1046a] secure boot: Is it possible to sign the boot image through our HSM?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

[LS1046a] secure boot: Is it possible to sign the boot image through our HSM?

493 次查看
carloswei
Contributor II

Hello,

I have read the chapter (Code Signing Tool) of the https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-932D50F3-D90D-4ED0-B...

The boot image shall be signed by the integrated CST. In my use case, our RSA private key stores in company's HSM (that cannot export the private key, only sign APIs can be called). Is it possible to sign the boot image through our HSM?

I have went through the source code of the CST, I can modify the CST sign function by myself. However, I noticed that the private key is Mandatory for header creation, you can refer to the user guide https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-FEB09C78-938E-401A-8...

So, Is there any method to avoid assigning the private key in the step of header creation?

 

0 项奖励
回复
1 回复

454 次查看
carloswei
Contributor II

I think that I have found the --img_hash in CST that don't need to provide private key for CST.

 

https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-701632F2-6D8F-4975-A...

0 项奖励
回复