Skip to content

Add libspdm_parse_measurement_transaction_data function#3595

Open
pboyd04 wants to merge 1 commit intoDMTF:mainfrom
pboyd04:ParseMeasurements
Open

Add libspdm_parse_measurement_transaction_data function#3595
pboyd04 wants to merge 1 commit intoDMTF:mainfrom
pboyd04:ParseMeasurements

Conversation

@pboyd04
Copy link
Copy Markdown

@pboyd04 pboyd04 commented Apr 10, 2026

Fixes #3566

Signed-off-by: Patrick Boyd <Patrick_Boyd@Dell.com>
@pboyd04 pboyd04 force-pushed the ParseMeasurements branch from 225b9c4 to 889b731 Compare April 10, 2026 18:57
@@ -0,0 +1,470 @@
/**
* Copyright Notice:
* Copyright 2021-2026 DMTF. All rights reserved.
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.

2021-2026 -> 2026

#include "internal/libspdm_requester_lib.h"

/* Forward declaration - resolved at link time from the integrator's malloc implementation. */
extern void *allocate_pool(size_t size);
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.

Core libspdm libraries do not dynamically allocate memory. If memory is needed then it is provided by the API caller. See, for example, libspdm_get_certificate().

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.

Need a method to decode the SPDM transaction log output from the SPDMGetSignedMeasurements Action in Redfish.

2 participants