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

Pass spdm_context to HAL functions #2494

Open
steven-bellock opened this issue Dec 26, 2023 · 0 comments
Open

Pass spdm_context to HAL functions #2494

steven-bellock opened this issue Dec 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@steven-bellock
Copy link
Contributor

From #2487.

Integrators may instantiate multiple endpoints using the libraries in libspdm/library. However many of the Integrator-implemented functions in https://github.com/DMTF/libspdm/tree/main/include/hal/library assume a single instance. For example when libspdm_generate_measurement_summary_hash is called the function cannot discern between the multiple instances. To alleviate this the spdm_context should be passed to these functions. LIBSPDM_DATA_APP_CONTEXT_DATA can probably be used to identify the context. If not then #1951 can be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant