 |
AM263Px MCU+ SDK
11.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_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)
109 #define HSM_MSG_PROC_AUTH_BOOT_SEC_CFG (0x9058)
117 #define HSM_FLAG_AOP (0x11)
126 #define HSM_FLAG_NAOP (0x22)
134 #define HSM_FLAG_ACK (0xAA)
140 #define HSM_FLAG_NACK (0x55)
143 #define HSM_CLIENT_ID (0x01)
150 #define HSM_UID_SIZE (64U)
157 #define HSM_DBG_CERT_SIZE (4096U)
164 #define HSM_KEYRING_CERT_SIZE (10280U)
171 #define HSM_FIRMWARE_CHUNK_SIZE (16384U)
178 #define CERT_TYPE_SECCFG_CPU1 (0x3U)
185 #define CERT_TYPE_SECCFG_CPU2 (0x5U)
192 #define CERT_TYPE_SECCFG_CPU3 (0x6U)
210 typedef enum HSM_ClientIds_
@ HSM_CLIENT_ID_2
Definition: hsmclient_msg.h:214
HSM_ClientIds_t
Definition: hsmclient_msg.h:211
uint16_t crcMsg
Definition: hsmclient_msg.h:207
uint16_t serType
Definition: hsmclient_msg.h:204
HSM client / server message format struct.
Definition: hsmclient_msg.h:200
@ HSM_CLIENT_ID_1
Definition: hsmclient_msg.h:213
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:216
uint8_t flags
Definition: hsmclient_msg.h:203
uint16_t crcArgs
Definition: hsmclient_msg.h:206
uint8_t destClientId
Definition: hsmclient_msg.h:201
uint8_t srcClientId
Definition: hsmclient_msg.h:202
@ HSM_BOOT_NOTIFY_CLIENT_ID
Definition: hsmclient_msg.h:212
@ HSM_CLIENT_ID_3
Definition: hsmclient_msg.h:215
void * args
Definition: hsmclient_msg.h:205