STM32F4xx_HAL_Driver
1.8.3
|
Header file of CRYP HAL module. More...
Go to the source code of this file.
Data Structures | |
struct | CRYP_ConfigTypeDef |
CRYP Init Structure definition. More... | |
struct | __CRYP_HandleTypeDef |
CRYP handle Structure definition. More... | |
Typedefs | |
typedef struct __CRYP_HandleTypeDef | CRYP_HandleTypeDef |
CRYP handle Structure definition. | |
typedef void(* | pCRYP_CallbackTypeDef) (CRYP_HandleTypeDef *hcryp) |
Enumerations | |
enum | HAL_CRYP_STATETypeDef { HAL_CRYP_STATE_RESET = 0x00U , HAL_CRYP_STATE_READY = 0x01U , HAL_CRYP_STATE_BUSY = 0x02U } |
CRYP State Structure definition. More... | |
enum | HAL_CRYP_CallbackIDTypeDef { HAL_CRYP_INPUT_COMPLETE_CB_ID = 0x01U , HAL_CRYP_OUTPUT_COMPLETE_CB_ID = 0x02U , HAL_CRYP_ERROR_CB_ID = 0x03U , HAL_CRYP_MSPINIT_CB_ID = 0x04U , HAL_CRYP_MSPDEINIT_CB_ID = 0x05U } |
Functions | |
HAL_StatusTypeDef | HAL_CRYP_Init (CRYP_HandleTypeDef *hcryp) |
Initializes the CRYP according to the specified parameters in the CRYP_ConfigTypeDef and creates the associated handle. More... | |
HAL_StatusTypeDef | HAL_CRYP_DeInit (CRYP_HandleTypeDef *hcryp) |
De-Initializes the CRYP peripheral. More... | |
void | HAL_CRYP_MspInit (CRYP_HandleTypeDef *hcryp) |
Initializes the CRYP MSP. More... | |
void | HAL_CRYP_MspDeInit (CRYP_HandleTypeDef *hcryp) |
DeInitializes CRYP MSP. More... | |
HAL_StatusTypeDef | HAL_CRYP_SetConfig (CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) |
Configure the CRYP according to the specified parameters in the CRYP_ConfigTypeDef. More... | |
HAL_StatusTypeDef | HAL_CRYP_GetConfig (CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) |
Get CRYP Configuration parameters in associated handle. More... | |
HAL_StatusTypeDef | HAL_CRYP_RegisterCallback (CRYP_HandleTypeDef *hcryp, HAL_CRYP_CallbackIDTypeDef CallbackID, pCRYP_CallbackTypeDef pCallback) |
Register a User CRYP Callback To be used instead of the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_CRYP_UnRegisterCallback (CRYP_HandleTypeDef *hcryp, HAL_CRYP_CallbackIDTypeDef CallbackID) |
Unregister an CRYP Callback CRYP callback is redirected to the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_CRYP_Encrypt (CRYP_HandleTypeDef *hcryp, uint32_t *Input, uint16_t Size, uint32_t *Output, uint32_t Timeout) |
Encryption mode. More... | |
HAL_StatusTypeDef | HAL_CRYP_Decrypt (CRYP_HandleTypeDef *hcryp, uint32_t *Input, uint16_t Size, uint32_t *Output, uint32_t Timeout) |
Decryption mode. More... | |
HAL_StatusTypeDef | HAL_CRYP_Encrypt_IT (CRYP_HandleTypeDef *hcryp, uint32_t *Input, uint16_t Size, uint32_t *Output) |
Encryption in interrupt mode. More... | |
HAL_StatusTypeDef | HAL_CRYP_Decrypt_IT (CRYP_HandleTypeDef *hcryp, uint32_t *Input, uint16_t Size, uint32_t *Output) |
Decryption in itnterrupt mode. More... | |
HAL_StatusTypeDef | HAL_CRYP_Encrypt_DMA (CRYP_HandleTypeDef *hcryp, uint32_t *Input, uint16_t Size, uint32_t *Output) |
Encryption in DMA mode. More... | |
HAL_StatusTypeDef | HAL_CRYP_Decrypt_DMA (CRYP_HandleTypeDef *hcryp, uint32_t *Input, uint16_t Size, uint32_t *Output) |
Decryption in DMA mode. More... | |
void | HAL_CRYP_IRQHandler (CRYP_HandleTypeDef *hcryp) |
This function handles cryptographic interrupt request. More... | |
HAL_CRYP_STATETypeDef | HAL_CRYP_GetState (CRYP_HandleTypeDef *hcryp) |
Returns the CRYP state. More... | |
void | HAL_CRYP_InCpltCallback (CRYP_HandleTypeDef *hcryp) |
Input FIFO transfer completed callback. More... | |
void | HAL_CRYP_OutCpltCallback (CRYP_HandleTypeDef *hcryp) |
Output FIFO transfer completed callback. More... | |
void | HAL_CRYP_ErrorCallback (CRYP_HandleTypeDef *hcryp) |
CRYP error callback. More... | |
uint32_t | HAL_CRYP_GetError (CRYP_HandleTypeDef *hcryp) |
Return the CRYP error code. More... | |
Header file of CRYP HAL module.
Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32f4xx_hal_cryp.h.