hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
22.3 HASH Firmware driver defines
22.3.1 HASH
HASH Data Type
16-bit data. Each half word is swapped
8-bit data. All bytes are swapped
1-bit data. In the word all bits are swapped
HASH Algorithm Selection
HASH Algorithm Mode
HASH HMAC Long key
HASH_HMAC_KEYTYPE_SHORTKEY
HASH_HMAC_KEYTYPE_LONGKEY
HASH Flags definition
16 locations are free in the DIN : A new block can be entered into
the input buffer
Digest calculation complete
DMA interface is enabled (DMAE=1) or a transfer is ongoing
The hash core is Busy : processing a block of data
DIN not empty : The input buffer contains at least one word of data
HASH Interrupts definition
A new block can be entered into the input buffer (DIN)
Digest calculation complete
HASH Exported Macros
__HAL_HASH_RESET_HANDLE_STATE
Description:
Reset HASH handle state.
Parameters:
__HANDLE__: specifies the HASH
handle.
Return value: