From 435ce61a5a6d5422321848f86263e296c52a7bc5 Mon Sep 17 00:00:00 2001 From: iadgovuser58 <124906646+iadgovuser58@users.noreply.github.com> Date: Thu, 13 Jul 2023 18:16:37 -0400 Subject: [PATCH] minor comment updates --- .../hirs/utils/tpm/eventlog/TCGEventLogTest.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/HIRS_Utils/src/test/java/hirs/utils/tpm/eventlog/TCGEventLogTest.java b/HIRS_Utils/src/test/java/hirs/utils/tpm/eventlog/TCGEventLogTest.java index 78f5564e..a4725f8b 100644 --- a/HIRS_Utils/src/test/java/hirs/utils/tpm/eventlog/TCGEventLogTest.java +++ b/HIRS_Utils/src/test/java/hirs/utils/tpm/eventlog/TCGEventLogTest.java @@ -79,11 +79,12 @@ public class TCGEventLogTest { // Test 2 get an individual PCR 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));