mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-14 14:36:51 +00:00
Merge branch 'master' into issue-245
This commit is contained in:
commit
70986caf5c
@ -105,7 +105,7 @@ public class TCGEventLogProcessor {
|
||||
TpmWhiteListBaseline baseline = new TpmWhiteListBaseline(name);
|
||||
TPMMeasurementRecord record;
|
||||
String pcrValue;
|
||||
for (int i = 0; i < PCR_COUNT; i++) {
|
||||
for (int i = 0; i < TpmPcrEvent.PCR_COUNT; i++) {
|
||||
if (algorithm.compareToIgnoreCase("TPM_ALG_SHA1") == 0) { // Log Was SHA1 Format
|
||||
pcrValue = tcgLog.getExpectedPCRValue(i);
|
||||
byte[] hexValue = HexUtils.hexStringToByteArray(pcrValue);
|
||||
|
@ -45,7 +45,6 @@ public class TcgTpmtHa {
|
||||
public static final int TPM_ALG_NULL_LENGTH = 0;
|
||||
/** buffer to hold the structure. */
|
||||
private byte[] buffer = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user