Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
13.2.3
AES Operating Modes
13.2.3.1
Supported Modes of Operation
ECB Feedback Mode
Figure 13-2 on page 991 shows the basic ECB feedback mode of operation, where the input data is
passed directly to the basic cryptographic core and the output is passed directly to the output buffer.
For decryption, the cryptographic core operates in reverse: the decryption data path is used for data
processing, whereas encryption uses the encryption data path.
Figure 13-2. AES - ECB Feedback Mode
Input buffer
(plain text)
AES core
(encrypt)
Output buffer
(cipher text)
Key register
128
128
256
Data_in
Data_out
Key in
Encryption
Input buffer
(cipher text)
AES core
(decrypt)
Output buffer
(plain text)
Key register
128
128
256
Data_in
Data_out
Key in
Decryption
CBC Feedback Mode
Figure 13-3 on page 992 shows the CBC feedback mode of operation, where the input data is XORed
with the IV before it is passed to the basic cryptographic core. The output of the cryptographic core
passes directly to the output buffer and becomes the next IV.
The operation is reversed for decryption, resulting in an XOR at the output of the cryptographic core.
The input cipher text of the current operation is the IV for the next operation.
991
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller