START
no
yes
no
yes
Write the data to be encrypt/decrypted
DES_S_DATA_L[31:0] DATA_L=0x-
DES_S_DATA_H[31:0] DATA_H=0x-
Write the data to be encrypt/decrypted
DES_S_DATA_L[31:0] DATA_L=0x-
DES_S_DATA_H[31:0] DATA_H=0x-
Read the encrypt/decrypted data
result_L = DES_S_DATA_L[31:0]DATA_L
result_H = DES_S_DATA_H[31:0] DATA_H
Is input buffer empty?
DES_S_CTRL[1]INPUT_READY=
0x1
Is result available?
DES_S_CTRL[0]OUTPUT_READY=
0x1
END
DES Module Programming Guide – Low Level Programming Models
860
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Data Encryption Standard Accelerator (DES)
Figure 14-5. DES Polling Mode
14.6.2.2 DES Interrupt Mode
The following lists the DES interrupt mode steps (see
1. Enable DES module interrupts.
2. Load the input buffer data LSW register.
3. Load the input buffer data HSW register.
Table 14-6. DES Interrupt Mode
Step
Register / Bit Field / Programming Model
Value
1
DES_IRQENABLE[2:0]
0x7
2
DES_DATA_L[31:0] DATA_L
-
3
DES_DATA_H[31:0] DATA_H
-