Started implementing handling of DH Nonce attributes

This commit is contained in:
Sansar Choinyambuu
2011-11-28 15:48:38 +01:00
committed by Andreas Steffen
parent 8a55b83319
commit d83bcc310d
4 changed files with 38 additions and 2 deletions
@@ -62,6 +62,11 @@ static pts_dh_group_t supported_dh_groups = PTS_DH_GROUP_NONE;
*/
static linked_list_t *evidences = NULL;
/**
* Supported PTS Diffie Hellman Groups
*/
static pts_dh_group_t supported_dh_groups = 0;
/**
* see section 3.7.1 of TCG TNC IF-IMC Specification 1.2
*/
@@ -80,6 +85,10 @@ TNC_Result TNC_IMC_Initialize(TNC_IMCID imc_id,
{
return TNC_RESULT_FATAL;
}
if (!pts_probe_dh_groups(&supported_dh_groups))
{
return TNC_RESULT_FATAL;
}
imc_attestation = imc_agent_create(imc_name, IMC_VENDOR_ID, IMC_SUBTYPE,
imc_id, actual_version);
if (!imc_attestation)