Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion include/industry_standard/spdm.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#pragma pack(1)

/* 4 means SPDM spec 1.0, 1.1, 1.2, 1.3, 1.4 */
/* Encompasses SPDM specification versions 1.0, 1.1, 1.2, 1.3, 1.4 */
#define SPDM_MAX_VERSION_COUNT 5
#define SPDM_MAX_SLOT_COUNT 8
#define SPDM_MAX_OPAQUE_DATA_SIZE 1024
Expand Down Expand Up @@ -62,6 +62,9 @@
#define SPDM_KEY_PAIR_INFO 0x7C
#define SPDM_SET_KEY_PAIR_INFO_ACK 0x7D

/* SPDM response code (1.4) */
#define SPDM_SLOT_MANAGEMENT_RESP 0x08

/* SPDM request code (1.0) */
#define SPDM_GET_DIGESTS 0x81
#define SPDM_GET_CERTIFICATE 0x82
Expand Down Expand Up @@ -99,6 +102,9 @@
#define SPDM_GET_KEY_PAIR_INFO 0xFC
#define SPDM_SET_KEY_PAIR_INFO 0xFD

/* SPDM request code (1.4) */
#define SPDM_SLOT_MANAGEMENT 0x88

/* SPDM message header*/
typedef struct {
uint8_t spdm_version;
Expand Down
Loading