|
AM273x MCU+ SDK
09.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_SET_FIREWALL (0x9000U)
75 #define HSM_MSG_SET_FIREWALL_INTR (0x9002)
77 #define HSM_KEYWRITER_SEND_CUST_KEY_CERT (0x9028)
79 #define HSM_MSG_READ_SWREV (0x9033)
81 #define HSM_MSG_WRITE_SWREV (0x9032)
83 #define HSM_MSG_GET_DKEK (0x9029)
85 #define HSM_MSG_GET_RAND (0x9001)
87 #define HSM_MSG_KEYRING_IMPORT (0x9039)
94 #define HSM_FLAG_AOP (0x11)
103 #define HSM_FLAG_NAOP (0x22)
111 #define HSM_FLAG_ACK (0xAA)
117 #define HSM_FLAG_NACK (0x55)
120 #define HSM_CLIENT_ID (0x01)
127 #define HSM_UID_SIZE (64U)
134 #define HSM_DBG_CERT_SIZE (4096U)
141 #define HSM_KEYRING_CERT_SIZE (10280U)
159 typedef enum HSM_ClientIds_
@ HSM_CLIENT_ID_2
Definition: hsmclient_msg.h:163
HSM_ClientIds_t
Definition: hsmclient_msg.h:160
uint16_t crcMsg
Definition: hsmclient_msg.h:156
uint16_t serType
Definition: hsmclient_msg.h:153
HSM client / server message format struct.
Definition: hsmclient_msg.h:149
@ HSM_CLIENT_ID_1
Definition: hsmclient_msg.h:162
@ HSM_CLIENT_ID_4
Definition: hsmclient_msg.h:165
uint8_t flags
Definition: hsmclient_msg.h:152
uint16_t crcArgs
Definition: hsmclient_msg.h:155
uint8_t destClientId
Definition: hsmclient_msg.h:150
struct sockaddr __attribute__
HSM client / server message format struct.
uint8_t srcClientId
Definition: hsmclient_msg.h:151
@ HSM_BOOT_NOTIFY_CLIENT_ID
Definition: hsmclient_msg.h:161
@ HSM_CLIENT_ID_3
Definition: hsmclient_msg.h:164
void * args
Definition: hsmclient_msg.h:154