English
Language : 

CC2520_11 Datasheet, PDF (96/133 Pages) Texas Instruments – 2.4 GHZ IEEE 802.15.4/ZIGBEE RF TRANSCEIVER
CC2520 DATASHEET
2.4 GHZ IEEE 802.15.4/ZIGBEE® RF TRANSCEIVER
SWRS068 – DECEMBER 2007
Memory before
A+C-1
C bytes plaintext
A
16K+15
16 bytes key
16K
16N+15
16 bytes counter
16N
CTR/UCTR(P,K,C,N,A,E)
blocks of
16 bytes
Repeat until C bytes
have been consumed
AES
encryption
Increment 2 least
significant bytes
Memory after
E+C-1
C bytes ciphertext
E
A+C-1
C bytes plaintext
A
16K+15
16 bytes key
16K
16N+15
16 bytes counter
16N
A+C-1
C bytes plaintext
A
16K+15
16 bytes key
16K
CBC-MAC(P,K,C,A,E,M)
blocks of
16 bytes
Repeat until C bytes have
been consumed
i+1
i=0 else
i
truncate last
iteration
AES
encryption
i = block index
E+[NaN,3,7,15]
[0,4,8,16] bytes MIC
E
A+C-1
C bytes plaintext
A
16K+15
16 bytes key
16K
A+F+C-1
C bytes plaintext
A+F
A+F-1
F bytes plaintext
A
16N+15
16 bytes counter
16N
16K+15
16 bytes key
16K
CCM(P,K,C,N,A,E,F,M)
CBC-MAC
MIC
CTR
index=0
index>0
CTR
Figure 37: Advanced security instructions
E+C+[NaN,3,7,15]
[0,4,8,16] bytes encrypted MIC
E+C
E+C-1
C bytes ciphertext
E
A+F+C-1
C bytes plaintext
A+F
A+F-1
F bytes plaintext
A
16N+15
16 bytes counter
16N
16K+15
16 bytes key
16K
26.6 CTR / UCTR
The CTR instruction will perform counter mode encryption on a configurable number C of plaintext bytes. It
outputs C ciphertext bytes. The 2 least significant bytes of the counter are incremented after each 16 byte
block of plaintext has been processed.
96
WWW.TI.COM