Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added several PCR types and SealOpt/CertifyOpt in pcr.go to support new features in Seal() and Unseal() * change Seal() to take in a SealOpt instead of a tpm2.PCRSelection * Seal() will now output the creation data, certified PCR values and ticket info in the sealed blob to allow certification later * added CertifyOpt as a parameter of Unseal() to allow user to certify the sealed blob (whether the blob is sealed under a certain PCR state)
- Loading branch information
Showing
9 changed files
with
365 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.