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

제품 코드
DK-TM4C129X
다운로드
페이지 2182
Figure 13-3. AES - CBC 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
IV register
128
128
Input buffer
(cipher text)
AES core
(decrypt)
Output buffer
(plain text)
Key register
128
128
256
data_in
data_out
Key in
Decryption
IV register
128
128
Temporary
register
128
128
128
CTR and ICM Feedback Modes
Figure 13-4 on page 992 shows the counter feedback (CTR/ICM) mode of operation. This operation
encrypts the IV. The output of the cryptographic core (encrypted IV) is XORed with the data, thus
creating the output result.
The IV is built out of two components: a fixed part and a counter part. The counter part is incremented
with each block. The counter width is selectable per context and can be 16, 32, 64, 96, or 128 bits
wide. In this mode, encryption and decryption use the same operation.
Figure 13-4. AES Encryption With CTR/ICM Mode
Input buffer
(plain/cipher text)
AES core
(encrypt)
Output buffer
(cipher/plain text)
Key register
128
128
256
data_in
data_out
Key in
Encryption/Decryption
Temporary register
128
128
IV register
IV register
(counter)
127
32n
32n-1
0
+
1
32n
128-32n
128
32n
December 13, 2013
992
Texas Instruments-Advance Information
Advance Encryption Standard Accelerator (AES)