欢迎访问ic37.com |
会员登录 免费注册
发布采购

CC2430F32RTC 参数 Datasheet PDF下载

CC2430F32RTC图片预览
型号: CC2430F32RTC
PDF下载: 下载PDF文件 查看货源
内容描述: 真正的系统级芯片解决方案的2.4 GHz IEEE 802.15.4 / ZigBee的 [A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee]
分类和应用: 电信集成电路
文件页数/大小: 212 页 / 1862 K
品牌: TAOS [ TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS ]
 浏览型号CC2430F32RTC的Datasheet PDF文件第133页浏览型号CC2430F32RTC的Datasheet PDF文件第134页浏览型号CC2430F32RTC的Datasheet PDF文件第135页浏览型号CC2430F32RTC的Datasheet PDF文件第136页浏览型号CC2430F32RTC的Datasheet PDF文件第138页浏览型号CC2430F32RTC的Datasheet PDF文件第139页浏览型号CC2430F32RTC的Datasheet PDF文件第140页浏览型号CC2430F32RTC的Datasheet PDF文件第141页  
CC2430  
Peripherals : AES Coprocessor  
be changed to CBC. The last block is then  
downloaded and the block uploaded will be the  
MAC value.  
CCM is a combination of CBC-MAC and CTR.  
Parts of the CCM must therefore be done in  
software. The following section gives a short  
explanation of the necessary steps to be done.  
13.12.5.1  
CBC-MAC  
When performing CBC-MAC encryption, data  
is downloaded to the coprocessor in CBC-  
MAC mode one block at a time, except for the  
last block. Before the last block is loaded, the  
mode is changed to CBC. The last block is  
downloaded and the block uploaded is the  
message MAC.  
CBC-MAC decryption is similar to encryption.  
The message MAC uploaded must be  
compared with the MAC to be verified.  
13.12.5.2  
CCM mode  
To encrypt a message under CCM mode, the  
following sequence can be conducted (key is  
already loaded):  
(1) The software loads the IV with zeros.  
(2) The software creates the block B0. The  
layout of block B0 is shown in Figure 28.  
Message Authentication Phase  
This phase takes place during steps 1-6  
shown in the following.  
Name  
B0  
Designation  
First block for authentication in CCM mode  
0
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15  
Byte  
Name  
Flag  
NONCE  
L_M  
Figure 28: Message Authentication Phase Block 0  
There is no restriction on the NONCE value.  
L_M is the message length in bytes.  
The content of the Authentication Flag byte is  
described in Figure 29.  
For 802.15.4 the NONCE is 13 bytes and L_M  
is 2 bytes.  
L is set to 6 in this example. So, L-1 is set to 5.  
M and A_Data can be set to any value.  
Name  
FLAG/B0  
7
Designation  
Authentication Flag Field for CCM mode  
6
5
4
3
2
1
0
1
Bit  
Name  
Value  
Reserved  
A_Data  
(M-2)/2  
L-1  
0
0
x
x
x
x
1
Figure 29: Authentication Flag Byte  
(3) If some Additional Authentication Data  
(denoted a below) is needed (that is A_Data  
=1), the software creates the A_Data length  
field, called L(a) by :  
AUTH-DATA = L(a) + Authentication Data +  
(zero padding)  
(4) The last block of the message is padded  
with zeros until full (that is if its length is not a  
multiple of 128 bits).  
(3a) If l(a)=0, (that is A_Data =0), then L(a)  
is the empty string. Note that l(a) is the  
length of a in octets.  
(5) The software concatenates the block B0,  
the Additional Authentication Blocks if any, and  
the message;  
(3b) If 0 < l(a) < 216 - 28 , then L(a) is the 2-  
octets encoding of l(a).  
Input message = B0 + AUTH-DATA +  
Message + (zero padding of message)  
The Additional Authentication Data is  
appended to the A_Data length field L(a). The  
Additional Authentication Blocks is padded  
with zeros until the last Additional  
Authentication Block is full. There is no  
restriction on the length of a.  
(6) Once the input message authentication by  
CBC-MAC is finished, the software leaves the  
uploaded buffer contents unchanged (M=16),  
or keeps only the buffer’s higher M bytes  
CC2430 Data Sheet (rev. 2.1) SWRS036F  
Page 137 of 211  
 
 
 复制成功!