diff options
author | Sansar Choinyambuu <schoinya@hsr.ch> | 2011-09-30 14:57:29 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-11-28 17:30:17 +0100 |
commit | 0bfdae3b9004e628c3975caeebc35fe107fb14a4 (patch) | |
tree | 4a053943ce8162bcea5feb01b15ccaffdbd41ca3 /src | |
parent | 09f34eb4d090677e107650f3b2405c83aef9b8c2 (diff) | |
download | strongswan-0bfdae3b9004e628c3975caeebc35fe107fb14a4.tar.bz2 strongswan-0bfdae3b9004e628c3975caeebc35fe107fb14a4.tar.xz |
Implemented hasndling of Request Functional Component Evidence and creation of Simple Component Evidences
Diffstat (limited to 'src')
-rw-r--r-- | src/libimcv/plugins/imc_attestation/imc_attestation.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libimcv/plugins/imc_attestation/imc_attestation.c b/src/libimcv/plugins/imc_attestation/imc_attestation.c index 4d7d80076..0109c2945 100644 --- a/src/libimcv/plugins/imc_attestation/imc_attestation.c +++ b/src/libimcv/plugins/imc_attestation/imc_attestation.c @@ -13,6 +13,8 @@ * for more details. */ +#define _GNU_SOURCE + #include "imc_attestation_state.h" #include "imc_attestation_process.h" @@ -43,6 +45,7 @@ static const char imc_name[] = "Attestation"; #define IMC_VENDOR_ID PEN_TCG #define IMC_SUBTYPE PA_SUBTYPE_TCG_PTS +#define EXTEND_PCR 16 static imc_agent_t *imc_attestation; @@ -74,6 +77,12 @@ static pts_dh_group_t supported_dh_groups = 0; static char *responder_nonce = NULL; /** + * List of buffered Simple Component Evidences + * To be sent on reception of Generate Attestation Evidence attribute + */ +static linked_list_t *evidences = NULL; + +/** * see section 3.7.1 of TCG TNC IF-IMC Specification 1.2 */ TNC_Result TNC_IMC_Initialize(TNC_IMCID imc_id, |