 |
AM261x MCU+ SDK
26.00.00
|
|
Go to the documentation of this file.
33 #ifndef HSM_CLIENT_MSG_H_
34 #define HSM_CLIENT_MSG_H_
53 #define HSM_MSG_GET_VERSION (0x0002)
55 #define HSM_MSG_BOOT_NOTIFY (0x000A)
57 #define HSM_MSG_GET_DEVICE_CONFIG (0x000B)
59 #define HSM_MSG_GET_UID (0x9021)
61 #define HSM_MSG_OPEN_DBG_FIREWALLS (0x900C)
63 #define HSM_MSG_READ_OTP_ROW (0x9022)
65 #define HSM_MSG_WRITE_OTP_ROW (0x9023)
67 #define HSM_MSG_PROT_OTP_ROW (0x9024)
69 #define HSM_MSG_GET_OTP_ROW_PROT (0x9026)
71 #define HSM_MSG_GET_OTP_ROW_COUNT (0x9027)
73 #define HSM_MSG_PROC_AUTH_BOOT (0xC120)
75 #define HSM_MSG_PROC_AUTH_BOOT_START (0xC12A)
77 #define HSM_MSG_PROC_AUTH_BOOT_UPDATE (0xC12B)
79 #define HSM_MSG_PROC_AUTH_BOOT_FINISH (0xC12C)
81 #define HSM_MSG_SET_FIREWALL (0x9000U)
83 #define HSM_MSG_SET_FIREWALL_INTR (0x9002)
85 #define HSM_KEYWRITER_SEND_CUST_KEY_CERT (0x9028)
87 #define HSM_MSG_READ_SWREV (0x9033)
89 #define HSM_MSG_WRITE_SWREV (0x9032)
91 #define HSM_MSG_GET_DKEK (0x9029)
93 #define HSM_MSG_GET_RAND (0x9001)
95 #define HSM_MSG_KEYRING_IMPORT (0x9039)
97 #define HSM_MSG_FW_UPDATE_CERT_PROCESS (0x9040)
99 #define HSM_MSG_FW_UPDATE_CODE_PROGRAM (0x9041)
101 #define HSM_MSG_FW_UPDATE_CODE_VERIFY (0x9043)
103 #define HSM_MSG_VERIFY_ROT_CERT (0x9044)
105 #define HSM_MSG_UPDATE_KEY_REV (0x9045)
107 #define HSM_MSG_CONFIGURE_OTFA (0x9056)
109 #define HSM_MSG_READ_OTFA (0x9057)
111 #define HSM_MSG_PROC_AUTH_BOOT_SEC_CFG (0x9058)
113 #define HSM_MSG_FLASH_BANK_COPY (0x9059)
115 #define HSM_MSG_FW_UPDATE_SECCFG (0x905AU)
117 #define HSM_MSG_BANK_SWAP (0x905BU)
119 #define HSM_MSG_CRYPTO_SERVICE (0xA001U)
128 #define HSM_FLAG_AOP (0x11)
137 #define HSM_FLAG_NAOP (0x22)
145 #define HSM_FLAG_ACK (0xAA)
151 #define HSM_FLAG_NACK (0x55)
154 #define HSM_CLIENT_ID (0x01)
161 #define HSM_UID_SIZE (64U)
168 #define HSM_DBG_CERT_SIZE (4096U)
175 #define HSM_KEYRING_CERT_SIZE (10280U)
182 #define HSM_FIRMWARE_CHUNK_SIZE (16384U)
189 #define CERT_TYPE_SECCFG_CPU1 (0x3U)
196 #define CERT_TYPE_SECCFG_CPU2 (0x5U)
203 #define CERT_TYPE_SECCFG_CPU3 (0x6U)
213 #define C29_CPU1_FLASH_BANK (0x1U)
223 #define C29_CPU3_FLASH_BANK (0x3U)
232 #define HSM_CPU_FLASH_BANK (0x0U)
239 #define LFU_BANK_SWAP_READY (0x5AU)
257 typedef enum HSM_ClientIds_
@ HSM_CLIENT_ID_2
Definition: hsmclient_msg.h:261
HSM_ClientIds_t
Definition: hsmclient_msg.h:258
uint16_t crcMsg
Definition: hsmclient_msg.h:254
uint16_t serType
Definition: hsmclient_msg.h:251
HSM client / server message format struct.
Definition: hsmclient_msg.h:247
@ HSM_CLIENT_ID_1
Definition: hsmclient_msg.h:260
struct lld_sockaddr __attribute__
This is the SecureBoot Stream type which holds the data for a specific bootloader to HSM call....
@ HSM_CLIENT_ID_4
Definition: hsmclient_msg.h:263
uint8_t flags
Definition: hsmclient_msg.h:250
uint16_t crcArgs
Definition: hsmclient_msg.h:253
uint8_t destClientId
Definition: hsmclient_msg.h:248
uint8_t srcClientId
Definition: hsmclient_msg.h:249
@ HSM_BOOT_NOTIFY_CLIENT_ID
Definition: hsmclient_msg.h:259
@ HSM_CLIENT_ID_3
Definition: hsmclient_msg.h:262
void * args
Definition: hsmclient_msg.h:252