mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-28 07:04:15 +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.
|
* which implies the data is a DEVICE_SECURITY_EVENT_DATA or ..DATA2.
|
||||||
*
|
*
|
||||||
* HEADERS defined by PFP v1.06 Rev 52.
|
* 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>
|
* <p>
|
||||||
* typedef struct tdDEVICE_SECURITY_EVENT_DATA_HEADER {
|
* typedef struct tdDEVICE_SECURITY_EVENT_DATA_HEADER {
|
||||||
* UINT8 ** Signature[16];
|
* UINT8 Signature[16];
|
||||||
* UINT16 ** Version;
|
* UINT16 Version;
|
||||||
* UINT16 Length;
|
* UINT16 Length;
|
||||||
* UINT32 SpdmHashAlg;
|
* UINT32 SpdmHashAlg;
|
||||||
* UINT32 ** DeviceType;
|
* UINT32 DeviceType;
|
||||||
* SPDM_MEASUREMENT_BLOCK SpdmMeasurementBlock;
|
* SPDM_MEASUREMENT_BLOCK SpdmMeasurementBlock;
|
||||||
* UINT64 ** DevicePathLength;
|
* UINT64 DevicePathLength;
|
||||||
* UNIT8 ** DevicePath[DevicePathLength]
|
* UNIT8 DevicePath[DevicePathLength]
|
||||||
* } DEVICE_SECURITY_EVENT_DATA_HEADER;
|
* } DEVICE_SECURITY_EVENT_DATA_HEADER;
|
||||||
* <p>
|
* <p>
|
||||||
* typedef struct tdDEVICE_SECURITY_EVENT_DATA_HEADER2 { - NOT IMPLEMENTED YET
|
* typedef struct tdDEVICE_SECURITY_EVENT_DATA_HEADER2 { - NOT IMPLEMENTED YET
|
||||||
* UINT8 ** Signature[16];
|
* UINT8 Signature[16];
|
||||||
* UINT16 ** Version;
|
* UINT16 Version;
|
||||||
* UINT8 AuthState;
|
* UINT8 AuthState;
|
||||||
* UINT8 Reserved;
|
* UINT8 Reserved;
|
||||||
* UINT32 Length;
|
* UINT32 Length;
|
||||||
* UINT32 ** DeviceType;
|
* UINT32 DeviceType;
|
||||||
* UINT32 SubHeaderType;
|
* UINT32 SubHeaderType;
|
||||||
* UINT32 SubHeaderLength;
|
* UINT32 SubHeaderLength;
|
||||||
* UINT32 SubHeaderUID;
|
* UINT32 SubHeaderUID;
|
||||||
* UINT64 ** DevicePathLength;
|
* UINT64 DevicePathLength;
|
||||||
* UNIT8 ** DevicePath[DevicePathLength]
|
* UNIT8 DevicePath[DevicePathLength]
|
||||||
* } DEVICE_SECURITY_EVENT_DATA_HEADER2;
|
* } DEVICE_SECURITY_EVENT_DATA_HEADER2;
|
||||||
* <p>
|
* <p>
|
||||||
|
* Fields common to both ..HEADER and ..HEADER2:
|
||||||
|
* Signature
|
||||||
|
* Version
|
||||||
|
* DeviceType
|
||||||
|
* DevicePathLength
|
||||||
|
* DevicePath
|
||||||
|
* <p>
|
||||||
*/
|
*/
|
||||||
public abstract class DeviceSecurityEventDataHeaderBase {
|
public abstract class DeviceSecurityEventDataHeaderBase {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user