Add TKM_CTX_CC (Certificate chain context id)

This commit is contained in:
Adrian-Ken Rueegsegger
2013-03-19 15:23:48 +01:00
committed by Tobias Brunner
parent 0f0165c81f
commit 464eb54ba4
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ bool tkm_init()
return FALSE;
}
const tkm_limits_t limits = {nc, dh, isa, ae, esa};
const tkm_limits_t limits = {nc, dh, cc, isa, ae, esa};
INIT(this,
.public = {
+1
View File
@@ -25,6 +25,7 @@
ENUM_BEGIN(tkm_context_kind_names, TKM_CTX_NONCE, TKM_CTX_ESA,
"NONCE_CONTEXT",
"DH_CONTEXT",
"CC_CONTEXT"
"ISA_CONTEXT",
"AE_CONTEXT",
"ESA_CONTEXT");
+2
View File
@@ -30,6 +30,8 @@ enum tkm_context_kind_t {
TKM_CTX_NONCE,
/** Diffie-Hellman context */
TKM_CTX_DH,
/** Certificate chain context */
TKM_CTX_CC,
/** IKE SA context */
TKM_CTX_ISA,
/** Authenticated Endpoint context */
+1 -1
View File
@@ -18,7 +18,7 @@
#include "tkm_id_manager.h"
static const tkm_limits_t limits = {125, 100, 30, 200, 42};
static const tkm_limits_t limits = {125, 100, 55, 30, 200, 42};
START_TEST(test_id_mgr_creation)
{