 |
AM261x MCU+ SDK
10.02.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_UID (0x9021)
59 #define HSM_MSG_OPEN_DBG_FIREWALLS (0x900C)
61 #define HSM_MSG_READ_OTP_ROW (0x9022)
63 #define HSM_MSG_WRITE_OTP_ROW (0x9023)
65 #define HSM_MSG_PROT_OTP_ROW (0x9024)
67 #define HSM_MSG_GET_OTP_ROW_PROT (0x9026)
69 #define HSM_MSG_GET_OTP_ROW_COUNT (0x9027)
71 #define HSM_MSG_PROC_AUTH_BOOT (0xC120)
73 #define HSM_MSG_PROC_AUTH_BOOT_START (0xC12A)
75 #define HSM_MSG_PROC_AUTH_BOOT_UPDATE (0xC12B)
77 #define HSM_MSG_PROC_AUTH_BOOT_FINISH (0xC12C)
79 #define HSM_MSG_SET_FIREWALL (0x9000U)
81 #define HSM_MSG_SET_FIREWALL_INTR (0x9002)
83 #define HSM_KEYWRITER_SEND_CUST_KEY_CERT (0x9028)
85 #define HSM_MSG_READ_SWREV (0x9033)
87 #define HSM_MSG_WRITE_SWREV (0x9032)
89 #define HSM_MSG_GET_DKEK (0x9029)
91 #define HSM_MSG_GET_RAND (0x9001)
93 #define HSM_MSG_KEYRING_IMPORT (0x9039)
95 #define HSM_MSG_FW_UPDATE_CERT_PROCESS (0x9040)
97 #define HSM_MSG_FW_UPDATE_CODE_PROGRAM (0x9041)
99 #define HSM_MSG_FW_UPDATE_CODE_VERIFY (0x9043)
101 #define HSM_MSG_VERIFY_ROT_CERT (0x9044)
103 #define HSM_MSG_UPDATE_KEY_REV (0x9045)
105 #define HSM_MSG_CONFIGURE_OTFA (0x9056)
107 #define HSM_MSG_READ_OTFA (0x9057)
115 #define HSM_FLAG_AOP (0x11)
124 #define HSM_FLAG_NAOP (0x22)
132 #define HSM_FLAG_ACK (0xAA)
138 #define HSM_FLAG_NACK (0x55)
141 #define HSM_CLIENT_ID (0x01)
148 #define HSM_UID_SIZE (64U)
155 #define HSM_DBG_CERT_SIZE (4096U)
162 #define HSM_KEYRING_CERT_SIZE (10280U)
169 #define HSM_FIRMWARE_CHUNK_SIZE (16384U)
187 typedef enum HSM_ClientIds_
@ HSM_CLIENT_ID_2
Definition: hsmclient_msg.h:191
HSM_ClientIds_t
Definition: hsmclient_msg.h:188
uint16_t crcMsg
Definition: hsmclient_msg.h:184
uint16_t serType
Definition: hsmclient_msg.h:181
HSM client / server message format struct.
Definition: hsmclient_msg.h:177
@ HSM_CLIENT_ID_1
Definition: hsmclient_msg.h:190
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:193
uint8_t flags
Definition: hsmclient_msg.h:180
uint16_t crcArgs
Definition: hsmclient_msg.h:183
uint8_t destClientId
Definition: hsmclient_msg.h:178
uint8_t srcClientId
Definition: hsmclient_msg.h:179
@ HSM_BOOT_NOTIFY_CLIENT_ID
Definition: hsmclient_msg.h:189
@ HSM_CLIENT_ID_3
Definition: hsmclient_msg.h:192
void * args
Definition: hsmclient_msg.h:182