EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 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 #276 background imageLoading...
Page #276 background image
HAL HASH Generic Driver
UM1940
276/1371
DocID028236 Rev 2
Function description
Returns the computed digest in MD5 mode.
Parameters
hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
pOutBuffer: Pointer to the computed digest. Its size must be
16 bytes.
Timeout: Timeout value
Return values
HAL: status
HAL_HMAC_SHA1_Start_DMA
Function name
HAL_StatusTypeDef HAL_HMAC_SHA1_Start_DMA
(HASH_HandleTypeDef * hhash, uint8_t * pInBuffer, uint32_t
Size)
Function description
Initializes the HASH peripheral in HMAC SHA1 mode then enables
DMA to control data transfer.
Parameters
hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
pInBuffer: Pointer to the input buffer (buffer to be hashed).
Size: Length of the input buffer in bytes. If the Size is not
multiple of 64 bytes, the padding is managed by hardware.
Return values
HAL: status
HAL_HMAC_MD5_Start_DMA
Function name
HAL_StatusTypeDef HAL_HMAC_MD5_Start_DMA
(HASH_HandleTypeDef * hhash, uint8_t * pInBuffer, uint32_t
Size)
Function description
Initializes the HASH peripheral in HMAC MD5 mode then enables
DMA to control data transfer.
Parameters
hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
pInBuffer: Pointer to the input buffer (buffer to be hashed).
Size: Length of the input buffer in bytes. If the Size is not
multiple of 64 bytes, the padding is managed by hardware.
Return values
HAL: status
HAL_HASH_IRQHandler
Function name
void HAL_HASH_IRQHandler (HASH_HandleTypeDef * hhash)
Function description
This function handles HASH interrupt request.
Parameters
hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
Return values
None:
HAL_HASH_GetState
Function name
HAL_HASH_StateTypeDef HAL_HASH_GetState
(HASH_HandleTypeDef * hhash)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals