From 10b7ff90e63bf5ec25d24e91f9e84e927c778145 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 18 Aug 2011 17:22:37 +0200 Subject: [PATCH] cosmetics --- src/libimcv/tcg/tcg_pts_attr_aik.c | 9 ++++----- src/libimcv/tcg/tcg_pts_attr_get_aik.c | 4 +--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/libimcv/tcg/tcg_pts_attr_aik.c b/src/libimcv/tcg/tcg_pts_attr_aik.c index b1d464f..7b00ac4 100644 --- a/src/libimcv/tcg/tcg_pts_attr_aik.c +++ b/src/libimcv/tcg/tcg_pts_attr_aik.c @@ -23,17 +23,16 @@ typedef struct private_tcg_pts_attr_aik_t private_tcg_pts_attr_aik_t; /** - * Attestation Identity Key (see section 3.13 of PTS Protocol: Binding to TNC IF-M Specification) + * Attestation Identity Key + * see section 3.13 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 - * * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - * | Flags | Attestation Identity Key (Variable Lenght) ~ + * | Flags | Attestation Identity Key (Variable Length) ~ * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - * | Attestation Identity Key (Variable Lenght) ~ + * | Attestation Identity Key (Variable Length) ~ * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - * */ #define PTS_AIK_SIZE 4 diff --git a/src/libimcv/tcg/tcg_pts_attr_get_aik.c b/src/libimcv/tcg/tcg_pts_attr_get_aik.c index 9bb6852..384b83a 100644 --- a/src/libimcv/tcg/tcg_pts_attr_get_aik.c +++ b/src/libimcv/tcg/tcg_pts_attr_get_aik.c @@ -28,15 +28,13 @@ typedef struct private_tcg_pts_attr_get_aik_t private_tcg_pts_attr_get_aik_t; * * 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 - * * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | Reserved | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - * */ #define PTS_GET_AIK_SIZE 4 -#define PTS_GET_AIK_RESERVED 0x00 +#define PTS_GET_AIK_RESERVED 0x00000000 /** * Private data of an tcg_pts_attr_get_aik_t object. -- 2.7.4