nsacyber / HIRS

Trusted Computing based services supporting TPM provisioning and supply chain validation concepts. #nsacyber
Other
180 stars 57 forks source link

Add SPDM Events Part 2 #792

Closed iadgovuser58 closed 4 months ago

iadgovuser58 commented 4 months ago

Closes #784

Add the last 3 of 4 new SPDM Events as described in PFP v 1.06, Table 27:

EV_EFI_SPDM_FIRMWARE_CONFIG (ID 0x800000E2) EV_EFI_SPDM_DEVICE_POLICY (ID 0x800000E3) EV_EFI_SPDM_DEVICE_AUTHORITY (ID 0x800000E4)

Note: For EV_EFI_SPDM_DEVICE_POLICY and EV_EFI_SPDM_DEVICE_AUTHORITY, they use the data structure UEFI_VARIABLE_DATA. Currently the only test pattern for SPDM uses the same unicode name "devdb" for both. The event output notes that these will need to be further processed once there are more test patterns.