From b7063ea743298592a5676c39ebf798a17cb92768 Mon Sep 17 00:00:00 2001 From: iadgovuser58 <124906646+iadgovuser58@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:28:20 -0400 Subject: [PATCH] update comments --- .../java/hirs/utils/tpm/eventlog/TpmPcrEvent.java | 1 - .../tpm/eventlog/events/EvEfiSpdmDevicePolicy.java | 14 -------------- .../hirs/utils/tpm/eventlog/uefi/UefiVariable.java | 6 ++++-- 3 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/EvEfiSpdmDevicePolicy.java diff --git a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java index 9c91113d..ca4a851e 100644 --- a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java +++ b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java @@ -5,7 +5,6 @@ import hirs.utils.tpm.eventlog.events.EvCompactHash; import hirs.utils.tpm.eventlog.events.EvConstants; import hirs.utils.tpm.eventlog.events.EvEfiGptPartition; import hirs.utils.tpm.eventlog.events.EvEfiHandoffTable; -import hirs.utils.tpm.eventlog.events.EvEfiSpdmDevicePolicy; import hirs.utils.tpm.eventlog.events.EvEfiSpdmDeviceSecurityEvent; import hirs.utils.tpm.eventlog.events.EvEfiSpecIdEvent; import hirs.utils.tpm.eventlog.events.EvEventTag; diff --git a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/EvEfiSpdmDevicePolicy.java b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/EvEfiSpdmDevicePolicy.java deleted file mode 100644 index 7f6eb4b9..00000000 --- a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/EvEfiSpdmDevicePolicy.java +++ /dev/null @@ -1,14 +0,0 @@ -package hirs.utils.tpm.eventlog.events; - -public class EvEfiSpdmDevicePolicy { - - - /** - * EvEfiSpdmDevicePolicy constructor. - * - * @param eventData byte array holding the event to process. - */ - public EvEfiSpdmDevicePolicy(final byte[] eventData) { - } - -} diff --git a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/uefi/UefiVariable.java b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/uefi/UefiVariable.java index 73ee33a1..a4195499 100644 --- a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/uefi/UefiVariable.java +++ b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/uefi/UefiVariable.java @@ -128,8 +128,10 @@ public class UefiVariable { case "dbx": processSigList(uefiVariableData); break; - case "devdb": // SPDM_DEVICE_POLICY and SPDM_DEVICE_AUTHORITY - break; // PFP v1.06 Rev 52, Sec 3.3.4.8 (update when test patterns exist) + case "devdb": // Update when test patterns exist + break; // PFP v1.06 Rev 52, Sec 3.3.4.8 + // EV_EFI_SPDM_DEVICE_POLICY: EFI_SIGNATURE_LIST + // EV_EFI_SPDM_DEVICE_AUTHORITY: EFI_SIGNATURE_DATA case "Boot00": bootv = new UefiBootVariable(uefiVariableData); break;