Logo
Developing with ZBOSS for Zigbee
SE Key Establishment Cluster

Data Structures

struct  zb_zcl_kec_attrs_s
 Key Establishment cluster attributes. More...
 

Macros

#define ZB_ZCL_ATTR_KEY_ESTABLISHMENT_SUITE_ID   0x0000U
 Key Establishment cluster's attributes IDs. More...
 
#define ZB_ZCL_KEY_ESTABLISHMENT_CLUSTER_REVISION_DEFAULT   ((zb_uint16_t)0x0002u)
 Default value for Key Establishment cluster revision global attribute.
 
#define ZB_KEC_SUPPORTED_CRYPTO_ATTR   (KEC_CS1 | KEC_CS2)
 Attribute value const (supported CryptoSuites)
 
#define ZB_ZCL_DECLARE_KEC_ATTR_LIST(attr_list, attrs)   ZB_ZCL_DECLARE_KEC_ATTRIB_LIST(attr_list, &attrs.kec_suite)
 Declare attribute list for Key Establishment cluster. More...
 

Typedefs

typedef zb_uint8_t zb_kec_key_suite_t
 Type for KeyEstablishmentSuite attribute values. More...
 
typedef struct zb_zcl_kec_attrs_s zb_zcl_kec_attrs_t
 Key Establishment cluster attributes.
 

KeyEstablishmentSuite attribute values

Table Values of the KeyEstablishmentSuite Attribute (Table C-4)

#define KEC_CS1   (1U << 0)
 
#define KEC_CS2   (1U << 1)
 

Detailed Description

This cluster provides attributes and commands to perform mutual authentication and establish keys between two Zigbee devices. Figure C-3 depicts a diagram of a successful key establishment negotiation.

Macro Definition Documentation

§ KEC_CS1

#define KEC_CS1   (1U << 0)

Certificate-based Key Establishment Cryptographic Suite 1 (Crypto Suite 1)

§ KEC_CS2

#define KEC_CS2   (1U << 1)

Certificate-based Key Establishment Cryptographic Suite 2 (Crypto Suite 2)

§ ZB_ZCL_ATTR_KEY_ESTABLISHMENT_SUITE_ID

#define ZB_ZCL_ATTR_KEY_ESTABLISHMENT_SUITE_ID   0x0000U

Key Establishment cluster's attributes IDs.

The Information attribute set contains the attributes summarized in table below

Key Establishment Attribute Sets
Identifier Name Type Range Access Default
0x0000 KeyEstablishmentSuite 16-bit Enumeration 0x0000-0xFFFF Readonly 0x0000
See also
SE spec, C.3.1.2.2.1KeyEstablishmentSuite attribute

§ ZB_ZCL_DECLARE_KEC_ATTR_LIST

#define ZB_ZCL_DECLARE_KEC_ATTR_LIST (   attr_list,
  attrs 
)    ZB_ZCL_DECLARE_KEC_ATTRIB_LIST(attr_list, &attrs.kec_suite)

Declare attribute list for Key Establishment cluster.

Parameters
[in]attr_list- attribute list variable name
[in]attrs- pointer to zb_zcl_kec_attrs_s structure

Typedef Documentation

§ zb_kec_key_suite_t

Type for KeyEstablishmentSuite attribute values.

Deprecated:
holds one of kec_key_suite. Kept only for backward compatibility as kec_key_suite were declared previously as enum. Can be removed in future releases.