Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spdm: limited implementation of SPDM1.3 GET_CSR support #42

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

twilfredo
Copy link
Collaborator

@twilfredo twilfredo commented Jan 31, 2024

This implements the libspdm_gen_csr_ex() fn to allow us
to continue to support a GET_CSR in libspdm SPDM >= 1.3. This is limited
in the sense that we don't support CsrTrackingTags yet.

That is, a responder will immediately process the request and return the
CSR without needing a reset, as such, a requester must not request to
seek a CsrTrackingTag. Assertions are in place to catch such a case.

Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
This implements the `libspdm_gen_csr_ex()` fn to allow us
to continue to support a `GET_CSR` in libspdm 1.3. This is limited
in the sense that we don't support CsrTrackingTags yet.

That is, a responder will immediately process the request and return the
CSR without needing a reset, as such, a requester must not request to
seek a CsrTrackingTag. Assertions are in place to catch such a case.

Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
@twilfredo
Copy link
Collaborator Author

ping!

@alistair23 alistair23 merged commit 636eb1d into master Feb 2, 2024
@alistair23 alistair23 deleted the wilfred/fixup-spdm1.3-csr branch February 2, 2024 00:04
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