Defined functional components within ITA namespace
Implemented handling of functional components evidence request/response
This commit is contained in:
committed by
Andreas Steffen
parent
19fa287f6e
commit
2aa28b164e
+43
-1
@@ -40,6 +40,43 @@ typedef struct pcr_entry_t pcr_entry_t;
|
||||
#define SOLIDUS_UTF 0x2F
|
||||
#define REVERSE_SOLIDUS_UTF 0x5C
|
||||
|
||||
/**
|
||||
* PCR indices used for measurements of various functional components
|
||||
*/
|
||||
/** Commented the real PCR indices out, use just PCR16 for debugging
|
||||
#define PCR_BIOS 0
|
||||
#define PCR_PLATFORM_EXT 1
|
||||
#define PCR_MOTHERBOARD 1
|
||||
#define PCR_OPTION_ROMS 2
|
||||
#define PCR_IPL 4
|
||||
|
||||
#define PCR_TBOOT_POLICY 17
|
||||
#define PCR_TBOOT_MLE 18
|
||||
|
||||
#define PCR_TGRUB_MBR_STAGE1 4
|
||||
#define PCR_TGRUB_STAGE2_PART1 8
|
||||
#define PCR_TGRUB_STAGE2_PART2 9
|
||||
#define PCR_TGRUB_CMD_LINE_ARGS 12
|
||||
#define PCR_TGRUB_CHECKFILE 13
|
||||
#define PCR_TGRUB_LOADED_FILES 14
|
||||
*/
|
||||
|
||||
#define PCR_BIOS 16
|
||||
#define PCR_PLATFORM_EXT 16
|
||||
#define PCR_MOTHERBOARD 16
|
||||
#define PCR_OPTION_ROMS 16
|
||||
#define PCR_IPL 16
|
||||
|
||||
#define PCR_TBOOT_POLICY 16
|
||||
#define PCR_TBOOT_MLE 16
|
||||
|
||||
#define PCR_TGRUB_MBR_STAGE1 16
|
||||
#define PCR_TGRUB_STAGE2_PART1 16
|
||||
#define PCR_TGRUB_STAGE2_PART2 16
|
||||
#define PCR_TGRUB_CMD_LINE_ARGS 16
|
||||
#define PCR_TGRUB_CHECKFILE 16
|
||||
#define PCR_TGRUB_LOADED_FILES 16
|
||||
|
||||
/**
|
||||
* Length of the generated nonce used for calculation of shared secret
|
||||
*/
|
||||
@@ -63,7 +100,12 @@ typedef struct pcr_entry_t pcr_entry_t;
|
||||
/**
|
||||
* Bitmask Lenght for PCR Composite structure
|
||||
*/
|
||||
#define PCR_MASK_LEN MAX_NUM_PCR / 8
|
||||
#define PCR_MASK_LEN MAX_NUM_PCR/8
|
||||
|
||||
/**
|
||||
* Hashing algorithm used by tboot and trustedGRUB
|
||||
*/
|
||||
#define TRUSTED_HASH_ALGO PTS_MEAS_ALGO_SHA1
|
||||
|
||||
/**
|
||||
* PCR Entry structure which contains PCR number and current value
|
||||
|
||||
Reference in New Issue
Block a user