Download EmberZNet application developer guide

Transcript
UM0923
Security
5
Security
5.1
Introduction
Security is a major concern in the ZigBee architecture. Although ZigBee uses the basic
security elements in IEEE 802.15.4 (for example, AES encryption and CCM security
modes), it expands upon this with:
●
128-bit AES encryption algorithms
●
Strong, NIST-approved security
●
Defined key types (link, network)
●
Defined key setup and maintenance
●
Keys can be hardwired into an application
●
CCM* (Unified/Simpler mode of operation)
●
Trust centers
Security that can be customized for the application.
As Figure 12 illustrates, the Security Services Provider block interacts with both the
application and network layers. Two levels of security have been defined in the ZigBee Pro
specification: Standard and High. Standard Security is a superset of the ZigBee 2006
Residential security, and is intended to be fully backward compatible with 2006 devices
operating as end devices. Both Standard and High Security use Trust Centers. MAC-level
security is not used by ZigBee.
Figure 12. ZigBee stack architecture
Application (APL) Layer
Application (APL) Layer
Application
Object 1
...
Endpoint 30
APSDE-SAP
Endpoint 1
APSDE-SAP
ZDO Public
Interfaces
Endpoint 0
APSDE-SAP
Application Support Sublayer (APS)
APS Security
Management
APS
Message Broker
Reflector
Management
NLDE-SAP
Network (NWK) Layer
NWK Security
Management
NWK
Message Broker
Routing
Management
MLDE-SAP
Network
Management
ZDO
Management
Plane
NLME-SAP
Security
Service
Provider
ZigBee
Device
Object
(ZDO)
APSME-SAP
Application
Object 30
MLME-SAP
Medium Access Control (MAC) Layer
PD-SAP
PLME-SAP
Physical (PHY) Layer
2.4 GHz Radio
Doc ID 17261 Rev 1
41/153