Skip to content

Conversation

nicholasbishop
Copy link
Member

@nicholasbishop nicholasbishop commented Jan 12, 2023

Companion PR to #631. This adds support in the V2 interface for logging to the event log and extending PCRs, getting/setting active banks, and sending raw commands to the TPM. The QEMU test has been updated to cover these features as well.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

The V1 event log format (which is also supported by TPMv2) always uses SHA-1
hashes. The V2 event log (which can only be used with TPMv2) provides a
crypto-agile format, meaning it can store a variety of different hashes
(e.g. SHA-256, SHA-512, etc).
@nicholasbishop nicholasbishop merged commit e4537e6 into rust-osdev:main Jan 14, 2023
@nicholasbishop nicholasbishop deleted the bishop-tcg12 branch January 14, 2023 17:38
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