Datasheet
Figure 14-5. DES Polling Mode
START
Write the data to be encrypted/decrypted
DES_S_DATA_L[31:0] DATA_L = 0x-
DES_S_DATA_H[31:0] DATA_H = 0x-
Is input buffer empty?
DES_S_CTRL[1] INPUT_READY ==
0x1
Write the data to be encrypted/decrypted
DES_S_DATA_L[31:0] DATA_L = 0x-
DES_S_DATA_H[31:0] DATA_H = 0x-
Is result available?
DES_S_CTRL[0] OUTPUT_READY
== 0x1
Read the encrypted/decrypted data
result_L = DES_S_DATA_L[31:0] DATA_L
result_H = DES_S_DATA_H[31:0] DATA_H
END
no
yes
no
yes
14.5.2.2 DES Interrupt Mode
Table 14-6 on page 1022 lists the DES interrupt mode steps.
Table 14-6. DES Interrupt Mode
ValueRegister/Bit Field/Programming ModelStep
0x7DES_IRQENABLE[2:0]Enable DES module interrupts.
-DES_DATA_L[31:0] DATA_LLoad the input buffer data LSW register.
-DES_DATA_H[31:0] DATA_HLoad the input buffer data HSW register.
14.5.2.3 DES Interrupt DMA Mode
Table 14-7 on page 1022 lists the DES DMA mode steps.
Table 14-7. DES DMA Mode
ValueRegister/Bit Field/Programming ModelStep
0x7DES_SYSCONFIG[7:5]Enable DES module DMA requests.
-DES_DATA_L[31:0] DATA_LLoad the input buffer data LSW register.
June 18, 20141022
Texas Instruments-Production Data
Data Encryption Standard Accelerator (DES)