diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libpts/pts/pts_funct_comp_name.h | 26 | ||||
-rw-r--r-- | src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c | 5 | ||||
-rw-r--r-- | src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h | 2 |
3 files changed, 15 insertions, 18 deletions
diff --git a/src/libpts/pts/pts_funct_comp_name.h b/src/libpts/pts/pts_funct_comp_name.h index db63c7100..81c153a0b 100644 --- a/src/libpts/pts/pts_funct_comp_name.h +++ b/src/libpts/pts/pts_funct_comp_name.h @@ -35,21 +35,21 @@ enum pts_funct_comp_type_t { /** Unknown */ PTS_FUNC_COMP_TYPE_UNKNOWN = 0x0, /** Trusted Platform */ - PTS_FUNC_COMP_TYPE_TRUSTED = 0x1, + PTS_FUNC_COMP_TYPE_TRUSTED = 0x1, /** Operating System */ PTS_FUNC_COMP_TYPE_OS = 0x2, /** Graphical User Interface */ - PTS_FUNC_COMP_TYPE_GUI = 0x3, + PTS_FUNC_COMP_TYPE_GUI = 0x3, /** Application */ PTS_FUNC_COMP_TYPE_APP = 0x4, /** Networking */ - PTS_FUNC_COMP_TYPE_NET = 0x5, + PTS_FUNC_COMP_TYPE_NET = 0x5, /** Library */ - PTS_FUNC_COMP_TYPE_LIB = 0x6, + PTS_FUNC_COMP_TYPE_LIB = 0x6, /** TNC Defined Component */ - PTS_FUNC_COMP_TYPE_TNC = 0x7, + PTS_FUNC_COMP_TYPE_TNC = 0x7, /** All matching Components */ - PTS_FUNC_COMP_TYPE_ALL = 0xF, + PTS_FUNC_COMP_TYPE_ALL = 0xF, }; /** @@ -59,17 +59,17 @@ enum pts_funct_comp_name_t { /** Ignore */ PTS_FUNC_COMP_NAME_IGNORE = 0x0000, /** CRTM */ - PTS_FUNC_COMP_NAME_CRTM = 0x0001, + PTS_FUNC_COMP_NAME_CRTM = 0x0001, /** BIOS */ - PTS_FUNC_COMP_NAME_BIOS = 0x0002, + PTS_FUNC_COMP_NAME_BIOS = 0x0002, /** Platform Extensions */ PTS_FUNC_COMP_NAME_PLATFORM_EXT = 0x0003, /** Motherboard firmware */ PTS_FUNC_COMP_NAME_BOARD = 0x0004, /** Initial Program Loader */ - PTS_FUNC_COMP_NAME_INIT_LOADER = 0x0005, + PTS_FUNC_COMP_NAME_INIT_LOADER = 0x0005, /** Option ROMs */ - PTS_FUNC_COMP_NAME_OPT_ROMS = 0x0006, + PTS_FUNC_COMP_NAME_OPT_ROMS = 0x0006, }; /** @@ -77,11 +77,11 @@ enum pts_funct_comp_name_t { */ enum pts_ita_funct_comp_type_t { /** Unknown */ - PTS_ITA_FUNC_COMP_TYPE_UNKNOWN = 0x0, + PTS_ITA_FUNC_COMP_TYPE_UNKNOWN = 0x0, /** Trusted Platform */ - PTS_ITA_FUNC_COMP_TYPE_TRUSTED = 0x1, + PTS_ITA_FUNC_COMP_TYPE_TRUSTED = 0x1, /** All matching Components */ - PTS_ITA_FUNC_COMP_TYPE_ALL = 0xF, + PTS_ITA_FUNC_COMP_TYPE_ALL = 0xF, }; /** diff --git a/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c b/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c index f1249d64a..0d9796f59 100644 --- a/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c +++ b/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.c @@ -28,7 +28,6 @@ typedef struct private_tcg_pts_attr_req_funct_comp_evid_t private_tcg_pts_attr_r * * 1 2 3 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - * * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | Flags | Sub-component Depth (for Component #1) | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ @@ -47,11 +46,11 @@ typedef struct private_tcg_pts_attr_req_funct_comp_evid_t private_tcg_pts_attr_r */ /** - * Component Functional Name Structure (see section 5.1 of PTS Protocol: Binding to TNC IF-M Specification) + * Component Functional Name Structure + * (see section 5.1 of PTS Protocol: Binding to TNC IF-M Specification) * * 1 2 3 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - * * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | Component Functional Name Vendor ID |Fam| Qualifier | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ diff --git a/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h b/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h index 668906a3d..1f830cf0f 100644 --- a/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h +++ b/src/libpts/tcg/tcg_pts_attr_req_funct_comp_evid.h @@ -28,7 +28,6 @@ typedef struct tcg_pts_attr_req_funct_comp_evid_t tcg_pts_attr_req_funct_comp_ev #include "pts/pts_funct_comp_evid_req.h" #include "pa_tnc/pa_tnc_attr.h" - /** * Class implementing the TCG PTS Request Functional Component Evidence attribute * @@ -48,7 +47,6 @@ struct tcg_pts_attr_req_funct_comp_evid_t { pts_funct_comp_evid_req_t* (*get_requests)( tcg_pts_attr_req_funct_comp_evid_t *this); - }; /** |