Part Number: AM2634
Other Parts Discussed in Thread: LP-AM263
We have encountered inconsistent behaviors while testing ROT switching capabilities in the HSM.
Using the provided python script root_of_trust_switching_cert.py and passing our SMPK and BMPK private key pem files, we get the output file rot_switch_cert.cert. The cert file was passed to an SBL image that contains the example code from hsm_rot_cert_validate.c, along with an HSM firmware image header file. The ROT_validateCert HSM service is failing to hash the BMPK public key. All other checks pass, including digital signature verification of the BMPK if the BMPK hash check is forcibly skipped. The hash of the cert file also matches the expected hash that was calculated in the OTP Keywriter for BMPK. We have also confirmed that once the Key Rev is updated, all images boot successfully when signed with the BMPK.
TIFS Version: 11_00_00_01
Board: LP-AM263 Rev A
Device_Type: HS_SE
Device Revision: SR 1.1