Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X Datenbogen

Produktcode
DK-TM4C129X
Seite von 2182
Figure 14-2. DES - ECB Feedback Mode
Input buffer
(plain text)
DES core
(encrypt)
Output buffer
(cipher text)
Key register
64
64
192
Data_in
Data_out
Key in
Encryption
Input buffer
(cipher text)
DES core
(decrypt)
Output buffer
(plain text)
Key register
64
64
192
Data_in
Data_out
Key in
Decryption
14.4.1.1
CBC Feedback Mode
Figure 14-3 on page 1042 shows the CBC feedback mode of operation, where the input data is XORed
with the initialization vector (IV) before it is passed to the basic crypto core. The output of the crypto
core is passed directly to the output buffer. For decryption the operation is reversed, resulting in an
XOR at the output of the crypto core.
Figure 14-3. DES3DES - CBC Feedback Mode
Input buffer
(plain text)
DES core
(encrypt)
Output buffer
(cipher text)
Key register
64
64
192
data_in
data_out
Key in
Encryption
IV register
64
64
Input buffer
(cipher text)
AES core
(decrypt)
Output buffer
(plain text)
Key register
64
64
192
data_in
data_out
Key in
Decryption
IV register
64
64
Temporary
register
64
64
64
14.4.1.2
CFB Feedback Mode
Figure 14-4 on page 1043 shows the CFB mode of operation for encryption and decryption. The input
for the crypto core is the IV; the result is XORed with the data. The result is fed back via the IV
register, as the next input for the crypto core. The decrypt operation is reversed, but the crypto core
is still performing an encryption.
December 13, 2013
1042
Texas Instruments-Advance Information
Data Encryption Standard Accelerator (DES)