forked from tpm2-software/tpm2-tss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAPI: Eventlog add H-CRTM and different locality support.
* For H-CRTM events pcr0 has to be initialized with 4. * A different locality can be set in an event with a startup locality signature. To enable the implementation of a corresponding unit test the function ifapi_check_profile_pcr_selection was splitted into two functions. The new function ifapi_calculate_pcrs is used in the unit test to check whether the expected pcr0 is computed from the event list computed from the binary H-CRTM firmware file. The pcr extension during parsing the firmware was removed. The computed pcr values were not used. The computation of the pcrs based on the replay of the eventlog is caried out by the new function ifapi_calculate_pcrs. Fixes tpm2-software#2672. Signed-off-by: Juergen Repp <[email protected]>
- Loading branch information
1 parent
c484575
commit f59d451
Showing
10 changed files
with
1,351 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
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.