Skip to content

industry_standard/spdm: Add SLOT_MANAGEMENT definitions - #3670

Open
jyao1 wants to merge 1 commit into
DMTF:mainfrom
jyao1:slot_management_definitions
Open

industry_standard/spdm: Add SLOT_MANAGEMENT definitions#3670
jyao1 wants to merge 1 commit into
DMTF:mainfrom
jyao1:slot_management_definitions

Conversation

@jyao1

@jyao1 jyao1 commented Jun 30, 2026

Copy link
Copy Markdown
Member

Add the SPDM 1.4 SLOT_MANAGEMENT / SLOT_MANAGEMENT_RESP request and response structures, the SubCode value defines, the SLOT_MGMT_CAP extended capability flag, the SPDM_MAX_BANK_COUNT define (BankID is 0 to 239), and the SubCode-dependent structures for all defined SubCodes: SupportedSubCodes, SlotAddress, BankInfo/BankElement, BankDetails/SlotElement, GetCertificateChain, ManageBank, ManageSlot, GetCSR, CSR, and SetCertificate.

Assisted-by: Claude Code:claude-opus-4-8

Add the SPDM 1.4 SLOT_MANAGEMENT / SLOT_MANAGEMENT_RESP request and
response structures, the SubCode value defines, the SLOT_MGMT_CAP
extended capability flag, the SPDM_MAX_BANK_COUNT define (BankID is 0 to
239), and the SubCode-dependent structures for all defined SubCodes:
SupportedSubCodes, SlotAddress, BankInfo/BankElement,
BankDetails/SlotElement, GetCertificateChain, ManageBank, ManageSlot,
GetCSR, CSR, and SetCertificate.

Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Assisted-by: Claude Code:claude-opus-4-8
@jyao1
jyao1 requested a review from steven-bellock as a code owner June 30, 2026 05:25
spdm_slot_management_slot_address_struct_t slot_address;
uint32_t cert_length;
uint8_t cert_attributes;
uint8_t key_pair_id;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What version of the spec has this? https://www.dmtf.org/sites/default/files/standards/documents/DSP0274_1.4.0.pdf pg. 250 doesn't show key_pair_id

uint8_t operation;
uint8_t reserved[3];
uint32_t select_asym_algo;
/* uint8_t select_pqc_asym_algo_len;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be commented out?

uint32_t asym_algo_capabilities;
uint32_t current_asym_algo;
uint32_t available_asym_algo;
/* uint8_t pqc_asym_algo_cap_len;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment here about commenting out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants