Skip to content

Ensure PcrSelectionList retains order, #2 #243

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

Merged
merged 2 commits into from
Aug 3, 2021

Conversation

ionut-arm
Copy link
Member

I've taken @puiterwijk's PR, fixed the merge conflict and added a small clippy "fix" (the lint was removed/made conditional).

puiterwijk and others added 2 commits August 2, 2021 16:06
PcrSelectionList would (possibly) reorder and merge the different
TPML_PCR_SELECTION entries.
This is not valid in the case where for example the PcrSelectionList is
the result of a pcr_read() call: in that case, the actual PCR values are
in the same order as the TPML_PRC_SELECTION entries.
This means that "subtracting" a PcrSelectionList becomes practically
impossible.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
@ionut-arm ionut-arm self-assigned this Aug 2, 2021
@hug-dev hug-dev merged commit 5845840 into parallaxsecond:main Aug 3, 2021
@ionut-arm ionut-arm deleted the fix-pcr-selection branch August 1, 2022 09:46
tgonzalezorlandoarm pushed a commit to tgonzalezorlandoarm/rust-tss-esapi that referenced this pull request Mar 14, 2024
…te_key_support

Import private key support for TPM provider
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.

3 participants