Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm2_getmanufec: fix TPM2B_PUBLIC tss disk serialization
The TPM2B_PUBLIC struct was incorectly being dumped to disk without considering endiness and padding. Correct this by using the libmarshal routines. Changes -O to be existing EKpub vs -f as just an output for a generated EK pub. The whole -f as in in-out paramter was confusing. Signed-off-by: William Roberts <william.c.roberts@intel.com>
- Loading branch information
William Roberts
committed
Nov 28, 2017
1 parent
49e0562
commit ee0c477
Showing
4 changed files
with
57 additions
and
72 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
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