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

tcti-spi-helper: uint32_t is conversion to a void* buffer fails on big endian #2686

Closed
wants to merge 1 commit into from

Conversation

slyon
Copy link
Contributor

@slyon slyon commented Aug 22, 2023

We need to convert it back to the correct endianess.

Partly fixes: #2531

…g endian

We need to convert it back to the correct endianess.
tpm2-software#2531

Signed-off-by: Lukas Märdian <slyon@ubuntu.com>
Copy link
Member

@wxleong wxleong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuergenReppSIT
Copy link
Member

@slyon Thank you for the PR. I have added your change with the requested changes to a commit in #2716, and added you as Co-Author to this commit. So we can close the PR.

JuergenReppSIT added a commit to JuergenReppSIT/tpm2-tss that referenced this pull request Dec 4, 2023
Based on tpm2-software#2686 In the function spi_tpm_helper_read_sts_reg the result
is converted back to the correct endianess.
Addresses tpm2-software#2531

Co-authored-by: Lukas Märdian <slyon@ubuntu.com>
Signed-off-by: Juergen Repp <juergen_repp@web.de>
AndreasFuchsTPM pushed a commit that referenced this pull request Jan 10, 2024
Based on #2686 In the function spi_tpm_helper_read_sts_reg the result
is converted back to the correct endianess.
Addresses #2531

Co-authored-by: Lukas Märdian <slyon@ubuntu.com>
Signed-off-by: Juergen Repp <juergen_repp@web.de>
AndreasFuchsTPM pushed a commit that referenced this pull request Jan 30, 2024
Based on #2686 In the function spi_tpm_helper_read_sts_reg the result
is converted back to the correct endianess.
Addresses #2531

Co-authored-by: Lukas Märdian <slyon@ubuntu.com>
Signed-off-by: Juergen Repp <juergen_repp@web.de>
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.

s390x test failures
3 participants