Software APIs
Data Fields
sigverify_otp_keys Struct Reference

SRAM representation of the OTP ROT_CREATOR_AUTH_CODESIGN partition. More...

#include <sw/device/silicon_creator/rom/sigverify_otp_keys.h>

Data Fields

sigverify_rom_ecdsa_p256_key_t ecdsa [kSigVerifyOtpKeysEcdsaCount]
 ECDSA P-256 keys.
 
sigverify_rom_spx_key_t spx [kSigVerifyOtpKeysSpxCount]
 SPX keys.
 
hmac_digest_t integrity_measurement
 HMAC digest of the ECDSA and SPX keys.
 

Detailed Description

SRAM representation of the OTP ROT_CREATOR_AUTH_CODESIGN partition.

The data is loaded into SRAM via sigverify_otp_keys_init() and its integrity is verified by sigverify_otp_keys_check() before use.

Static assertions are used inside the implementation to ensure that the size of the data structure matches the size of the OTP partition.

Definition at line 36 of file sigverify_otp_keys.h.

Field Documentation

◆ ecdsa

sigverify_rom_ecdsa_p256_key_t sigverify_otp_keys::ecdsa[kSigVerifyOtpKeysEcdsaCount]

ECDSA P-256 keys.

Definition at line 40 of file sigverify_otp_keys.h.

◆ integrity_measurement

hmac_digest_t sigverify_otp_keys::integrity_measurement

HMAC digest of the ECDSA and SPX keys.

Definition at line 48 of file sigverify_otp_keys.h.

◆ spx

sigverify_rom_spx_key_t sigverify_otp_keys::spx[kSigVerifyOtpKeysSpxCount]

SPX keys.

Definition at line 44 of file sigverify_otp_keys.h.