This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM263P4:映像验证

Guru**** 2688465 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1580571/am263p4-image-validation

器件型号:AM263P4


在 TIFS 软件的 HSM_ROT_CERT_validate.c 内部、会调用 HsmClient_procAuthBoot 函数来验证映像。 代码中函数调用上方的注释指出、如果 x509 证书中指定了映像解密、则会在验证期间进行解密。  

 

x509 证书中的哪个位置指定在验证期间是否应解密映像。 另外、是否需要指定传递到验证功能的映像是否已解密、或者是否应在验证过程中解密加密的映像?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    在 x509 证书中、有一个称为【加密】的扩展、其 OID 为 1.3.6.1.4.1.294.1.4 = ASN1:SEQUENCE:encryption

    如果要身份验证的映像经过加密、则证书会使用此扩展将其调用、

     HsmClient_procAuthBoot 是一种对映像进行身份验证并验证证书(如果证书中有 ENC,也可以解密证书)的服务。

    相应的处理程序实现可以在 {$TIFS}\source\modules\hsmserver\HSM_proc_auth_boot.c 中的 API HsmServer_procAuthHandler() 中找到

    谢谢。此致、

    Nikhil Dasan