|
AM263Px MCU+ SDK
10.01.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)
106 #define HSM_FLAG_AOP (0x11)
115 #define HSM_FLAG_NAOP (0x22)
123 #define HSM_FLAG_ACK (0xAA)
129 #define HSM_FLAG_NACK (0x55)
132 #define HSM_CLIENT_ID (0x01)
139 #define HSM_UID_SIZE (64U)
146 #define HSM_DBG_CERT_SIZE (4096U)
153 #define HSM_KEYRING_CERT_SIZE (10280U)
160 #define HSM_FIRMWARE_CHUNK_SIZE (16384U)
178 typedef enum HSM_ClientIds_
@ HSM_CLIENT_ID_2
Definition: hsmclient_msg.h:182
HSM_ClientIds_t
Definition: hsmclient_msg.h:179
uint16_t crcMsg
Definition: hsmclient_msg.h:175
uint16_t serType
Definition: hsmclient_msg.h:172
HSM client / server message format struct.
Definition: hsmclient_msg.h:168
@ HSM_CLIENT_ID_1
Definition: hsmclient_msg.h:181
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:184
uint8_t flags
Definition: hsmclient_msg.h:171
uint16_t crcArgs
Definition: hsmclient_msg.h:174
uint8_t destClientId
Definition: hsmclient_msg.h:169
uint8_t srcClientId
Definition: hsmclient_msg.h:170
@ HSM_BOOT_NOTIFY_CLIENT_ID
Definition: hsmclient_msg.h:180
@ HSM_CLIENT_ID_3
Definition: hsmclient_msg.h:183
void * args
Definition: hsmclient_msg.h:173