STM32F439xx HAL User Manual
|
Functions | |
HAL_StatusTypeDef | HAL_HASHEx_SHA224_Start (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint8_t *pOutBuffer, uint32_t Timeout) |
Initializes the HASH peripheral in SHA224 mode then processes pInBuffer. | |
HAL_StatusTypeDef | HAL_HASHEx_SHA256_Start (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint8_t *pOutBuffer, uint32_t Timeout) |
Initializes the HASH peripheral in SHA256 mode then processes pInBuffer. | |
HAL_StatusTypeDef | HAL_HASHEx_SHA224_Accumulate (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size) |
Initializes the HASH peripheral in SHA224 mode then processes pInBuffer. | |
HAL_StatusTypeDef | HAL_HASHEx_SHA256_Accumulate (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size) |
Initializes the HASH peripheral in SHA256 mode then processes pInBuffer. |
HAL_StatusTypeDef HAL_HASHEx_SHA224_Accumulate | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size | ||
) |
Initializes the HASH peripheral in SHA224 mode then processes pInBuffer.
The digest is available in pOutBuffer
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. |
HAL | status |
Definition at line 494 of file stm32f4xx_hal_hash_ex.c.
References __HAL_HASH_SET_NBVALIDBITS, HAL_HASH_PHASE_PROCESS, HAL_HASH_PHASE_READY, HAL_HASH_STATE_BUSY, HAL_HASH_STATE_READY, HASH_ALGOSELECTION_SHA224, HASHEx_WriteData(), HASH_HandleTypeDef::Phase, and HASH_HandleTypeDef::State.
HAL_StatusTypeDef HAL_HASHEx_SHA224_Start | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint8_t * | pOutBuffer, | ||
uint32_t | Timeout | ||
) |
Initializes the HASH peripheral in SHA224 mode then processes pInBuffer.
The digest is available in pOutBuffer
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. |
pOutBuffer | Pointer to the computed digest. Its size must be 28 bytes. |
Timeout | Specify Timeout value |
HAL | status |
Definition at line 343 of file stm32f4xx_hal_hash_ex.c.
References __HAL_HASH_SET_NBVALIDBITS, __HAL_HASH_START_DIGEST, HAL_GetTick(), HAL_HASH_PHASE_PROCESS, HAL_HASH_PHASE_READY, HAL_HASH_STATE_BUSY, HAL_HASH_STATE_READY, HAL_HASH_STATE_TIMEOUT, HASH_ALGOSELECTION_SHA224, HASH_FLAG_BUSY, HASHEx_GetDigest(), HASHEx_WriteData(), HASH_HandleTypeDef::Phase, and HASH_HandleTypeDef::State.
HAL_StatusTypeDef HAL_HASHEx_SHA256_Accumulate | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size | ||
) |
Initializes the HASH peripheral in SHA256 mode then processes pInBuffer.
The digest is available in pOutBuffer.
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. |
HAL | status |
Definition at line 540 of file stm32f4xx_hal_hash_ex.c.
References __HAL_HASH_SET_NBVALIDBITS, HAL_HASH_PHASE_PROCESS, HAL_HASH_PHASE_READY, HAL_HASH_STATE_BUSY, HAL_HASH_STATE_READY, HASH_ALGOSELECTION_SHA256, HASHEx_WriteData(), HASH_HandleTypeDef::Phase, and HASH_HandleTypeDef::State.
HAL_StatusTypeDef HAL_HASHEx_SHA256_Start | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint8_t * | pOutBuffer, | ||
uint32_t | Timeout | ||
) |
Initializes the HASH peripheral in SHA256 mode then processes pInBuffer.
The digest is available in pOutBuffer.
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. |
pOutBuffer | Pointer to the computed digest. Its size must be 32 bytes. |
Timeout | Specify Timeout value |
HAL | status |
Definition at line 419 of file stm32f4xx_hal_hash_ex.c.
References __HAL_HASH_SET_NBVALIDBITS, __HAL_HASH_START_DIGEST, HAL_GetTick(), HAL_HASH_PHASE_PROCESS, HAL_HASH_PHASE_READY, HAL_HASH_STATE_BUSY, HAL_HASH_STATE_READY, HAL_HASH_STATE_TIMEOUT, HASH_ALGOSELECTION_SHA256, HASH_FLAG_BUSY, HASHEx_GetDigest(), HASHEx_WriteData(), HASH_HandleTypeDef::Phase, and HASH_HandleTypeDef::State.