Datasheet

DescriptionResetTypeNameBit/Field
HMAC Key Processing Enable
This bit enables HMAC key processing on the 512-bit HMAC key loaded
into the SHA_IDIGEST_A through SHA_IDIGEST_H registers and the
SHA_ODIGEST_A through SHA_ODIGEST_H register block. Once
HMAC key processing is finished, this bit is automatically cleared and
the resulting Inner and Outer digest is available in the SHA_IDIGEST_x
and SHA_ODIGEST_x respectively.
After key processing is complete, regular hash processing begins until
the block length is exhausted.
DescriptionValue
No operation0
Enable HMAC key processing. This bit is automatically cleared
once HMAC key processing is finished.
1
0x00RWHMAC_KEY_PROC5
Performs the padding, the Hash/HMAC will be 'closed' at the end of the
block, as per MD5/SHA-1/SHA-2 specification (that is, appropriate
padding is added), or no padding is done, allowing the hash to be
continued later. However, if the Hash/HMAC is not closed, then the
Block Length must be a multiple of 64 bytes to ensure correct operation.
Auto cleared internally when hash closed.
DescriptionValue
No padding, hash computation can be continued.0
Last packet will be padded.1
0RWCLOSE_HASH4
The initial digest register will be overwritten with the algorithm constants
for the selected algorithm when hashing and the initial digest count
register will be reset to 0. This will start a normal hash operation. When
continuing an existing hash or when performing an HMAC operation,
this register must be set to 0 and the intermediate/inner digest or HMAC
key and digest count need to be written to the context input registers
prior to writing SHA_MODE. Auto cleared internally after first block
processed.
DescriptionValue
Use precalculated digest (from another operation)0
Use constants of the selected algorithm1
0RWALGO_CONSTANT3
Hash Algorithm
DescriptionValue
MD50x0
reserved0x1
SHA-10x2
reserved0x3
SHA-2240x4
reserved0x5
SHA-2560x6
reserved0x7
0x0RWALGO2:0
December 13, 20131088
Texas Instruments-Advance Information
SHA/MD5 Accelerator