EasyManuals Logo

Maxim Integrated MAX32665 User Manual

Maxim Integrated MAX32665
457 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #436 background imageLoading...
Page #436 background image
MAX32665-MAX32668 User Guide
Maxim Integrated Page 436 of 457
Table 23-3. Hash Functions
ALGORITHM
DIGEST LENGTH
EFFECTIVE STRENGTH
(NIST SP800-57)
BLOCK SIZE
SHA-1
160 bits
63 bits
512 bits
SHA-224
224 bits
112 bits
512 bits
SHA-256
256 bits
128 bits
512 bits
SHA-384
384 bits
192 bits
1024 bits
SHA-512
512 bits
256 bits
1024 bits
Figure 23-4. Block Cipher Diagram
AHB BUS
READ FIFO
SOURCE: DMA
CRYPTO_CTRL.rdsrc = 0b01
HASH ENGINE
CRYPTOGRAP HIC
DMA
CONTROLLER
HASH FUNCTION ACCELERATOR
HASH DONE
CRYPTO_CTRL.hsh _done = 1
INITIAL
HASH
CONSTANTS
INITIAL
VECTOR
DMA DONE
CRYPTO_CTRL.dma_done = 1
WRITE FIFO
SOURCE: None
CRYPTO_CTRL.rdsrc = 0b00
HASH_DIGEST_[15:0]
Data is processed in 512-bit or 1024-bit blocks. After every 16 or 32 words are written to the hash block, several cycles are
needed to complete the hash of that block. The number of cycles needed to compute the hash is dependent upon the
number of rounds in the algorithm. The first 16 rounds are calculated as the 16 or 32 words are written to the hash block.
The remaining rounds are calculated at a rate of one clock cycle per round.
The integrated DMA can fetch data for the hash accelerator. Calculation of the hash can occur in parallel with the block
cipher as long as only one of the operations uses the DMA.
Setting the HASH_CTRL.init bit will seed the hash accelerator with the secure hash constants required by security validation
requirement . Contact Maxim for specific information about the seeding process and its comparability with the latest
security requirements for NIST FIPS and other certifications.
23.3.1 Last Message Block Padding
Once all data is written to the cryptographic data register, the final message block must be padded according to the FIPS
Publication 180 standard. The standard requires that the bit length be appended to the end of the message. The length of
the message in binary representation is contained in the HASH Message Size Registers HASH MSG_SZ_0. Prior to hashing
the last message data, set HASH_CTRL.last along with the HASH_MSG_SZ registers. The HASH_MSG_SZ value is
automatically padded to the last message block.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Maxim Integrated MAX32665 and is the answer not in the manual?

Maxim Integrated MAX32665 Specifications

General IconGeneral
BrandMaxim Integrated
ModelMAX32665
CategoryMotherboard
LanguageEnglish