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

libspdm: spdm: Fixup info buffer pointer for hkdf_expand #92

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

alistair23
Copy link
Collaborator

@alistair23 alistair23 commented Jul 25, 2024

We were incorrectly passing the wrong address of info to libspdm_hkdf_expand(). We ended up passing a reference to info and casting it to the correct type.

Let's fix this up and just directly pass the pointer we were passed in the function arguments back to the libspdm libspdm_hkdf_expand() function.

We were incorrectly passing the wrong address of info to
libspdm_hkdf_expand(), let's fix this up and just directly pass the
pointer we were passed back to libspdm.

Signed-off-by: Alistair Francis <[email protected]>
@alistair23 alistair23 merged commit 16be485 into master Jul 29, 2024
2 checks passed
@alistair23 alistair23 deleted the alistair/info branch July 29, 2024 04:01
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