MCTP transport layer for SPDM protocol communication.
This crate implements the SpdmTransport trait from spdm-lib using MCTP as the underlying transport mechanism. It bridges the SPDM protocol layer with the MCTP messaging infrastructure.
Used by SPDM requesters (clients) that initiate attestation operations:
let transport = MctpSpdmTransport::new_requester(mctp_client, remote_eid);
Used by SPDM responders (servers) that handle attestation requests:
let transport = MctpSpdmTransport::new_responder(mctp_client);
Initialize: init_sequence() establishes MCTP handles
Communication:
send_request() → receive_response()receive_request() → send_response()Cleanup: Automatically releases MCTP handles on drop
openprot-mctp-api — MCTP client trait and typesspdm-lib — SPDM protocol library with transport traitThis crate is used by both:
openprot-spdm-requester — SPDM client implementationopenprot-spdm-responder — SPDM server implementation