![Texas Instruments SimpleLink Ethernet MSP432E401Y Скачать руководство пользователя страница 1599](http://html1.mh-extra.com/html/texas-instruments/simplelink-ethernet-msp432e401y/simplelink-ethernet-msp432e401y_technical-reference-manual_10955781599.webp)
Enter ISR
Exit ISR
Read the status register to determine the
type of the generated interrupt
value = SHA_S_IRQSTATUS
Write the next 64-byte data
block SHA_S_DATA_i_IN[31:0]
DATA_i_IN = 0x-
Read the result
result = SHA_S_ODIGEST_A
(to H for SHA-1)
Is the interrupt caused by
context input ready event?
SHA_S_IRQSTATUS (3)
CONTEXT_READY == 1
Write the new context
SHA_S_IDIGEST_i[31:0] DATA = 0x-
SHA_S_ODIGEST_i[31:0] DATA = 0x-
SHA_S_DIGEST_COUNT[31:0] COUNT = 0x-
SHA_S_LENGTH[31:0] LENGTH = 0x-
Read the context
context1 = SHA_S_IDIGEST_i[31:0] DATA
context2 = SHA_S_DIGEST_COUNT[31:0] COUNT
conetxt3 = SHA_S_LENGTH[31:0] LENGTH
No
Yes
Yes
No
No
Yes
Is the interrupt caused by
input buffer ready event?
SHA_S_IRQSTATUS (1)
INPUT_READY == 1
Is the interrupt caused by
result ready/context available event?
SHA_S_IRQSTATUS (1)
OUTPUT_READY == 1
SHA/MD5 Functional Description
1599
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
SHA/MD5 Accelerator
Figure 25-3. SHA/MD5 Interrupt Subroutine