[RFC 4/4] hw/nvme: connect SPDM over NVMe Security Send/Recv

2025-01-07 Thread Wilfred Mallawa via
This patch extends the existing support we have for NVMe with only DoE to also add support to SPDM over the NVMe Security Send/Recv commands. With the new definition of the `spdm-trans` argument, users can specify `spdm_trans=nvme` or `spdm_trans=doe`. This allows us to select the SPDM transport r

[RFC 3/4] hw/nvme: add NVMe Admin Security SPDM support

2025-01-07 Thread Wilfred Mallawa via
Adds the NVMe Admin Security Send/Receive command support with support for DMTFs SPDM. The transport binding for SPDM is defined in the DMTF DSP0286. Signed-off-by: Wilfred Mallawa --- hw/nvme/ctrl.c | 207 ++- hw/nvme/nvme.h | 5 ++ include/

[RFC 2/4] spdm: add spdm storage transport virtual header

2025-01-07 Thread Wilfred Mallawa via
This header contains the transport encoding for an SPDM message that uses the SPDM over Storage transport as defined by the DMTF DSP0286. Signed-off-by: Wilfred Mallawa --- include/system/spdm-socket.h | 12 1 file changed, 12 insertions(+) diff --git a/include/system/spdm-socket.h

[RFC 0/4] Add SPDM over Storage transport support for NVMe

2025-01-07 Thread Wilfred Mallawa via
This series adds support for SPDM to be used over the storage transport, as defined by the DMTF DSP0286 [1] for NVMe. That is, using the admin NVMe Security Send/Receive commands, support transport for SPDM as per DSP0286 [1]. The binding specification (DSP0286) is still currently a draft specifica

[RFC 1/4] spdm-socket: add seperate send/recv functions

2025-01-07 Thread Wilfred Mallawa via
This is to support uni-directional transports such as SPDM over Storage. As specified by the DMTF DSP0286. Signed-off-by: Wilfred Mallawa --- backends/spdm-socket.c | 25 + include/system/spdm-socket.h | 35 +++ 2 files changed, 60 in

[RFC v2 0/3] Add SPDM over Storage transport support for NVMe

2025-01-15 Thread Wilfred Mallawa via
This series adds support for SPDM to be used over the storage transport, as defined by the DMTF DSP0286 [1] for NVMe. That is, using the admin NVMe Security Send/Receive commands, support transport for SPDM as per DSP0286 [1]. The binding specification (DSP0286) is still currently a draft specifica

[RFC v2 2/3] hw/nvme: add NVMe Admin Security SPDM support

2025-01-15 Thread Wilfred Mallawa via
Adds the NVMe Admin Security Send/Receive command support with support for DMTFs SPDM. The transport binding for SPDM is defined in the DMTF DSP0286. Signed-off-by: Wilfred Mallawa --- hw/nvme/ctrl.c | 203 ++- hw/nvme/nvme.h | 5 ++ include/

[RFC v2 1/3] spdm: add spdm storage transport virtual header

2025-01-15 Thread Wilfred Mallawa via
This header contains the transport encoding for an SPDM message that uses the SPDM over Storage transport as defined by the DMTF DSP0286. Signed-off-by: Wilfred Mallawa --- include/system/spdm-socket.h | 12 1 file changed, 12 insertions(+) diff --git a/include/system/spdm-socket.h

[RFC v2 3/3] hw/nvme: connect SPDM over NVMe Security Send/Recv

2025-01-15 Thread Wilfred Mallawa via
This patch extends the existing support we have for NVMe with only DoE to also add support to SPDM over the NVMe Security Send/Recv commands. With the new definition of the `spdm-trans` argument, users can specify `spdm_trans=nvme` or `spdm_trans=doe`. This allows us to select the SPDM transport r

[PATCH] spdm-socket: add seperate send/recv functions

2025-01-15 Thread Wilfred Mallawa via
This is to support uni-directional transports such as SPDM over Storage. As specified by the DMTF DSP0286. Signed-off-by: Wilfred Mallawa --- backends/spdm-socket.c | 27 --- include/system/spdm-socket.h | 35 +++ 2 files changed, 59