summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyEstablishHandler.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-03-18 12:22:02 +0100
committerFlorent Duchon2012-03-18 16:30:37 +0100
commita54ad9edce697133a024aff096e50f7e4f389d5b (patch)
tree9b87c5f8fce3fc0127a2e36b8a809508c1a3298b /digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyEstablishHandler.h
parent8ac7f52728a8ec2a09a6eeebc3cf5d4afff9b485 (diff)
digital/beacon: import Zigbit stack (bitcloud) & avr sources
Diffstat (limited to 'digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyEstablishHandler.h')
-rw-r--r--digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyEstablishHandler.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyEstablishHandler.h b/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyEstablishHandler.h
new file mode 100644
index 00000000..975e38f4
--- /dev/null
+++ b/digital/beacon/src/Bitcloud_stack/Components/Security/TrustCentre/include/private/tcKeyEstablishHandler.h
@@ -0,0 +1,82 @@
+/**************************************************************************//**
+ \file tcKeyEstablishHandler.h
+
+ \brief Trust Centre end to end key establishment routine header file.
+
+ \author
+ Atmel Corporation: http://www.atmel.com \n
+ Support email: avr@atmel.com
+
+ Copyright (c) 2008-2011, Atmel Corporation. All rights reserved.
+ Licensed under Atmel's Limited License Agreement (BitCloudTM).
+
+ \internal
+ History:
+ 2008.01.17 - ALuzhetsky created.
+******************************************************************************/
+#ifndef _TCKEYESTABLISHHANDLERH
+#define _TCKEYESTABLISHHANDLERH
+
+#ifdef _LINK_SECURITY_
+/******************************************************************************
+ Includes section.
+******************************************************************************/
+#include <aps.h>
+#include <types.h>
+#include <tcKeyEstablish.h>
+
+/******************************************************************************
+ Definitions section.
+******************************************************************************/
+
+
+/******************************************************************************
+ Types section.
+******************************************************************************/
+/**************************************************************************//**
+ \brief TBD.
+
+ TBD
+******************************************************************************/
+typedef enum
+{
+ TC_KEY_ESTABLISH_OBJ_STATE_IDLE,
+ TC_KEY_ESTABLISH_OBJ_STATE_TRANSPORT_KEY_POSTED,
+ TC_KEY_ESTABLISH_OBJ_STATE_FIRST_TRANSPORT_KEY_EXECUTING,
+ TC_KEY_ESTABLISH_OBJ_STATE_SECOND_TRANSPORT_KEY_EXECUTING,
+} TcKeyEstablishHandlerObjState_t;
+
+/**************************************************************************//**
+ \brief TBD.
+
+ TBD
+******************************************************************************/
+typedef struct
+{
+ TC_KeyEstablishObj_t *keyEstablishObj;
+ uint8_t maxRequests;
+} TcKeyEstablishHandlerMem_t;
+
+/******************************************************************************
+ Functions prototypes section.
+******************************************************************************/
+/**************************************************************************//**
+ \brief TBD.
+
+ \param TBD.
+ \return TBD.
+******************************************************************************/
+void tcKeyEstablishTaskHandler(void);
+
+/**************************************************************************//**
+ \brief TBD.
+
+ \param TBD.
+ \return TBD.
+******************************************************************************/
+void tcResetKeyEstablishHandler(void);
+
+#endif // _LINK_SECURITY_
+
+#endif //_TCKEYESTABLISHHANDLERH
+// eof tcKeyEstablishHandler.h