
Freescale Semiconductor
33-1
Chapter 33
Message Digest Hardware Accelerator (MDHA)
33.1
Introduction
This chapter describes the message digest hardware accelerator (MDHA).
NOTE
The MCF5327, MCF5328, and MCF53281 do not contain cryptography
modules. Refer to
for details on device configurations.
33.1.1
Overview
The MDHA is a hardware implementation of two of the world’s most popular cryptographic hash
functions: SHA-1 (Secure Hash Algorithm 1) and MD5 (Message Digest 5). SHA-1 and MD5 are critical
algorithms to the IPSec (IP Security) Protocol, a fast-spreading protocol for authentication and encryption
over the internet in networking equipment. The MDHA also includes circuitry to automate the process of
generating an HMAC (hashed message authentication code) as specified by RFC 2104 and EHMAC
(enhanced hashed message authentication code), using only the SHA-1 algorithm.
33.1.2
Features
The MDHA computes a single message digest (or hash or integrity check) value of all the data presented
on the input bus, using the MD5 or SHA-1 algorithms for bulk data hashing. The MDHA includes these
distinctive features:
•
MD5 one-way 128-bit hash function specified in RFC 1321.
•
SHA-1 one-way 160-bit hash function specified by the ANSI X9.30-2 and FIPS 180-1 standards.
•
HMAC support for all algorithms, as specified in RFC 2104.
•
EHMAC support for the SHA-1 algorithm.
•
EHMAC key support up to 160 bits.
•
Processes 512-bit blocks organized as 16
×
32 bit longwords.
•
Automatic message and key padding.
•
Internal 16x32 bit FIFO for temporary storage of hashing data.
With any hash algorithm, the larger message is mapped onto a smaller output space. Therefore collisions
are potential, albeit not probable. The 160-bit hash value is a sufficiently large space such that collisions
are extremely rare. The security of the hash function is based on the difficulty of locating collisions. That
is, it is computationally infeasible to construct two distinct but similar messages that produce the same
hash output.
MCF5329 Reference Manual, Rev 3
Содержание MCF5329
Страница 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 126: ...Enhanced Multiply Accumulate Unit EMAC 4 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 564: ...Liquid Crystal Display Controller LCDC 22 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 692: ...Programmable Interrupt Timers PIT0 PIT3 28 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 720: ...Queued Serial Peripheral Interface QSPI 30 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 790: ...Message Digest Hardware Accelerator MDHA 33 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 902: ...Register Memory Map Quick Reference A 26 Freescale Semiconductor MCF5329 Reference Manual Rev 3...