mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-14 16:59:53 +00:00
updated comments in ..HeaderBase to be more clear
This commit is contained in:
parent
0a61703ca8
commit
452f9ba850
@ -15,33 +15,40 @@ import java.nio.charset.StandardCharsets;
|
||||
* which implies the data is a DEVICE_SECURITY_EVENT_DATA or ..DATA2.
|
||||
*
|
||||
* HEADERS defined by PFP v1.06 Rev 52.
|
||||
* The ** indicates fields that are common to both ..HEADER and ..HEADER2.
|
||||
* Certain fields are common to both ..HEADER and ..HEADER2, and are noted below the structures.
|
||||
* <p>
|
||||
* typedef struct tdDEVICE_SECURITY_EVENT_DATA_HEADER {
|
||||
* UINT8 ** Signature[16];
|
||||
* UINT16 ** Version;
|
||||
* UINT8 Signature[16];
|
||||
* UINT16 Version;
|
||||
* UINT16 Length;
|
||||
* UINT32 SpdmHashAlg;
|
||||
* UINT32 ** DeviceType;
|
||||
* UINT32 DeviceType;
|
||||
* SPDM_MEASUREMENT_BLOCK SpdmMeasurementBlock;
|
||||
* UINT64 ** DevicePathLength;
|
||||
* UNIT8 ** DevicePath[DevicePathLength]
|
||||
* UINT64 DevicePathLength;
|
||||
* UNIT8 DevicePath[DevicePathLength]
|
||||
* } DEVICE_SECURITY_EVENT_DATA_HEADER;
|
||||
* <p>
|
||||
* typedef struct tdDEVICE_SECURITY_EVENT_DATA_HEADER2 { - NOT IMPLEMENTED YET
|
||||
* UINT8 ** Signature[16];
|
||||
* UINT16 ** Version;
|
||||
* UINT8 Signature[16];
|
||||
* UINT16 Version;
|
||||
* UINT8 AuthState;
|
||||
* UINT8 Reserved;
|
||||
* UINT32 Length;
|
||||
* UINT32 ** DeviceType;
|
||||
* UINT32 DeviceType;
|
||||
* UINT32 SubHeaderType;
|
||||
* UINT32 SubHeaderLength;
|
||||
* UINT32 SubHeaderUID;
|
||||
* UINT64 ** DevicePathLength;
|
||||
* UNIT8 ** DevicePath[DevicePathLength]
|
||||
* UINT64 DevicePathLength;
|
||||
* UNIT8 DevicePath[DevicePathLength]
|
||||
* } DEVICE_SECURITY_EVENT_DATA_HEADER2;
|
||||
* <p>
|
||||
* Fields common to both ..HEADER and ..HEADER2:
|
||||
* Signature
|
||||
* Version
|
||||
* DeviceType
|
||||
* DevicePathLength
|
||||
* DevicePath
|
||||
* <p>
|
||||
*/
|
||||
public abstract class DeviceSecurityEventDataHeaderBase {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user