09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Hash processor (HASH) <strong>RM0090</strong><br />

22.3 HASH functional description<br />

Figure 1 shows the block diagram of the hash processor.<br />

Figure 218. Block diagram for STM32F40x and STM32F41x<br />

Control and status<br />

registers<br />

Interrupt registers<br />

HASH_IMR<br />

HASH_SR<br />

Control register<br />

HASH_CR<br />

Start register<br />

HASH_ST R<br />

Context swapping<br />

HASH_CSR0..50<br />

Message digest<br />

HASH_H0...H4<br />

32-bit AHB2 bus<br />

context<br />

digest<br />

Data<br />

register<br />

595/1416 Doc ID 018909 Rev 3<br />

HASH_DIN<br />

16 × 32-bit<br />

IN FIFO<br />

swa ppin g<br />

IN buffer<br />

SHA-1 / MD5<br />

Hash / HMAC<br />

processor core<br />

write into HASH_DIN<br />

or write DCAL bit to 1<br />

or 1 complete block<br />

transferred by the DMA<br />

IN FIFO full<br />

or DCAL written to 1<br />

ai16081

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!