-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm2_nv(read|write): use a default buffer size if TPM reports 0.
On a NUC5i7RYH, the TPM reports it's max NV buffer size as 0, which means we can neither read nor write. In this case, default to 512 as that is generally considered a safe size. Signed-off-by: William Roberts <william.c.roberts@intel.com>
- Loading branch information
Duncan Palmer
authored and
William Roberts
committed
Apr 27, 2018
1 parent
988e1e9
commit b0c6f5b
Showing
3 changed files
with
11 additions
and
0 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