SHA/MD5 Functional Description
1598
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
SHA/MD5 Accelerator
25.1.7.1.3.3 SHA/MD5 DMA Mode
The following procedure is used to configure the SHA/MD5 module to work in the DMA-based mode.
Table 25-11. DMA Mode
Step
Register / Bit Field / Programming
Model
Value
Enable the DMA request to the CDMA controller.
SHA_SYSCONFIG[3] DMA_EN
0x1
Load the message length; this is the trigger to start processing.
SHA_LENGTH[31:0] LENGTH
-
25.1.7.1.4 SHA/MD5 Event Servicing
25.1.7.1.4.1 Interrupt Servicing
This section describes the interrupt event servicing of the module.
shows the interrupt
subroutine. The following registers are used in the SHA/MD5 interrupt routine:
•
SHA_IRQSTATUS
•
SHA_DATA_n_IN
•
SHA_ODIGEST_A
•
SHA_DIGEST_COUNT
•
SHA_LENGTH
•
SHA_IDIGEST_A