STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
HAL_StatusTypeDef | HASH_Start (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint8_t *pOutBuffer, uint32_t Timeout, uint32_t Algorithm) |
Initialize the HASH peripheral, next process pInBuffer then read the computed digest. More... | |
HAL_StatusTypeDef | HASH_Accumulate (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint32_t Algorithm) |
If not already done, initialize the HASH peripheral then processes pInBuffer. More... | |
HAL_StatusTypeDef | HASH_Accumulate_IT (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint32_t Algorithm) |
If not already done, initialize the HASH peripheral then processes pInBuffer in interruption mode. More... | |
HAL_StatusTypeDef | HASH_Start_IT (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint8_t *pOutBuffer, uint32_t Algorithm) |
Initialize the HASH peripheral, next process pInBuffer then read the computed digest in interruption mode. More... | |
HAL_StatusTypeDef | HASH_Start_DMA (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint32_t Algorithm) |
Initialize the HASH peripheral then initiate a DMA transfer to feed the input buffer to the Peripheral. More... | |
HAL_StatusTypeDef | HASH_Finish (HASH_HandleTypeDef *hhash, uint8_t *pOutBuffer, uint32_t Timeout) |
Return the computed digest. More... | |
HAL_StatusTypeDef | HMAC_Start (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint8_t *pOutBuffer, uint32_t Timeout, uint32_t Algorithm) |
Initialize the HASH peripheral in HMAC mode, next process pInBuffer then read the computed digest. More... | |
HAL_StatusTypeDef | HMAC_Start_IT (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint8_t *pOutBuffer, uint32_t Algorithm) |
Initialize the HASH peripheral in HMAC mode, next process pInBuffer then read the computed digest in interruption mode. More... | |
HAL_StatusTypeDef | HMAC_Start_DMA (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint32_t Algorithm) |
Initialize the HASH peripheral in HMAC mode then initiate the required DMA transfers to feed the key and the input buffer to the Peripheral. More... | |
HAL_StatusTypeDef HASH_Accumulate | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint32_t | Algorithm | ||
) |
If not already done, initialize the HASH peripheral then processes pInBuffer.
hhash | HASH handle. |
pInBuffer | pointer to the input buffer (buffer to be hashed). |
Size | length of the input buffer in bytes, must be a multiple of 4. |
Algorithm | HASH algorithm. |
HAL | status |
Definition at line 2644 of file stm32f4xx_hal_hash.c.
HAL_StatusTypeDef HASH_Accumulate_IT | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint32_t | Algorithm | ||
) |
If not already done, initialize the HASH peripheral then processes pInBuffer in interruption mode.
hhash | HASH handle. |
pInBuffer | pointer to the input buffer (buffer to be hashed). |
Size | length of the input buffer in bytes, must be a multiple of 4. |
Algorithm | HASH algorithm. |
HAL | status |
Definition at line 2747 of file stm32f4xx_hal_hash.c.
HAL_StatusTypeDef HASH_Finish | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pOutBuffer, | ||
uint32_t | Timeout | ||
) |
Return the computed digest.
hhash | HASH handle. |
pOutBuffer | pointer to the computed digest. |
Timeout | Timeout value. |
HAL | status |
Definition at line 3143 of file stm32f4xx_hal_hash.c.
HAL_StatusTypeDef HASH_Start | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint8_t * | pOutBuffer, | ||
uint32_t | Timeout, | ||
uint32_t | Algorithm | ||
) |
Initialize the HASH peripheral, next process pInBuffer then read the computed digest.
hhash | HASH handle. |
pInBuffer | pointer to the input buffer (buffer to be hashed). |
Size | length of the input buffer in bytes. |
pOutBuffer | pointer to the computed digest. |
Timeout | Timeout value. |
Algorithm | HASH algorithm. |
HAL | status |
Definition at line 2507 of file stm32f4xx_hal_hash.c.
HAL_StatusTypeDef HASH_Start_DMA | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint32_t | Algorithm | ||
) |
Initialize the HASH peripheral then initiate a DMA transfer to feed the input buffer to the Peripheral.
hhash | HASH handle. |
pInBuffer | pointer to the input buffer (buffer to be hashed). |
Size | length of the input buffer in bytes. |
Algorithm | HASH algorithm. |
HAL | status |
Definition at line 3027 of file stm32f4xx_hal_hash.c.
HAL_StatusTypeDef HASH_Start_IT | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint8_t * | pOutBuffer, | ||
uint32_t | Algorithm | ||
) |
Initialize the HASH peripheral, next process pInBuffer then read the computed digest in interruption mode.
hhash | HASH handle. |
pInBuffer | pointer to the input buffer (buffer to be hashed). |
Size | length of the input buffer in bytes. |
pOutBuffer | pointer to the computed digest. |
Algorithm | HASH algorithm. |
HAL | status |
Definition at line 2869 of file stm32f4xx_hal_hash.c.
HAL_StatusTypeDef HMAC_Start | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint8_t * | pOutBuffer, | ||
uint32_t | Timeout, | ||
uint32_t | Algorithm | ||
) |
Initialize the HASH peripheral in HMAC mode, next process pInBuffer then read the computed digest.
hhash | HASH handle. |
pInBuffer | pointer to the input buffer (buffer to be hashed). |
Size | length of the input buffer in bytes. |
pOutBuffer | pointer to the computed digest. |
Timeout | Timeout value. |
Algorithm | HASH algorithm. |
HAL | status |
Definition at line 3204 of file stm32f4xx_hal_hash.c.
HAL_StatusTypeDef HMAC_Start_DMA | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint32_t | Algorithm | ||
) |
Initialize the HASH peripheral in HMAC mode then initiate the required DMA transfers to feed the key and the input buffer to the Peripheral.
hhash | HASH handle. |
pInBuffer | pointer to the input buffer (buffer to be hashed). |
Size | length of the input buffer in bytes. |
Algorithm | HASH algorithm. |
HAL | status |
Definition at line 3393 of file stm32f4xx_hal_hash.c.
HAL_StatusTypeDef HMAC_Start_IT | ( | HASH_HandleTypeDef * | hhash, |
uint8_t * | pInBuffer, | ||
uint32_t | Size, | ||
uint8_t * | pOutBuffer, | ||
uint32_t | Algorithm | ||
) |
Initialize the HASH peripheral in HMAC mode, next process pInBuffer then read the computed digest in interruption mode.
hhash | HASH handle. |
pInBuffer | pointer to the input buffer (buffer to be hashed). |
Size | length of the input buffer in bytes. |
pOutBuffer | pointer to the computed digest. |
Algorithm | HASH algorithm. |
HAL | status |
Definition at line 3282 of file stm32f4xx_hal_hash.c.