mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-21 05:53:27 +00:00
minor comment updates
This commit is contained in:
parent
166391c4d4
commit
435ce61a5a
@ -80,10 +80,11 @@ public class TCGEventLogTest {
|
||||
String pcr3 = evlog.getExpectedPCRValue(3);
|
||||
assertThat(pcr3, equalTo(pcrFromLog[3]));
|
||||
|
||||
// Test 3 check the Algorithm Identifiers used in the log
|
||||
// Test 3 check the Algorithm String Identifier used in the log
|
||||
String algStr = evlog.getEventLogHashAlgorithm();
|
||||
assertThat(algStr, equalTo("TPM_ALG_SHA256"));
|
||||
|
||||
// Test 4 check the Algorithm # Identifier used in the log
|
||||
int id = evlog.getEventLogHashAlgorithmID();
|
||||
assertThat(id, equalTo(TcgTpmtHa.TPM_ALG_SHA256));
|
||||
|
||||
@ -123,10 +124,11 @@ public class TCGEventLogTest {
|
||||
String pcr0 = evlog.getExpectedPCRValue(0);
|
||||
assertThat(pcr0, equalTo(pcrFromLog[0]));
|
||||
|
||||
// Test 3 check the Algorithm Identifiers used in the log
|
||||
// Test 3 check the Algorithm String Identifier used in the log
|
||||
String algStr = evlog.getEventLogHashAlgorithm();
|
||||
assertThat(algStr, equalTo("TPM_ALG_SHA1"));
|
||||
|
||||
// Test 4 check the Algorithm # Identifier used in the log
|
||||
int id = evlog.getEventLogHashAlgorithmID();
|
||||
assertThat(id, equalTo(TcgTpmtHa.TPM_ALG_SHA1));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user