STM32F439xx HAL User Manual
Functions
Initialization and de-initialization functions
CRYP Exported Functions

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_CRYP_Init (CRYP_HandleTypeDef *hcryp)
 Initializes the CRYP according to the specified parameters in the CRYP_InitTypeDef and creates the associated handle.
HAL_StatusTypeDef HAL_CRYP_DeInit (CRYP_HandleTypeDef *hcryp)
 DeInitializes the CRYP peripheral.
__weak void HAL_CRYP_MspInit (CRYP_HandleTypeDef *hcryp)
 Initializes the CRYP MSP.
__weak void HAL_CRYP_MspDeInit (CRYP_HandleTypeDef *hcryp)
 DeInitializes CRYP MSP.

Detailed Description

Initialization and Configuration functions.

  ==============================================================================
              ##### Initialization and de-initialization functions #####
  ==============================================================================
    [..]  This section provides functions allowing to:
      (+) Initialize the CRYP according to the specified parameters 
          in the CRYP_InitTypeDef and creates the associated handle
      (+) DeInitialize the CRYP peripheral
      (+) Initialize the CRYP MSP
      (+) DeInitialize CRYP MSP 
 

Function Documentation

HAL_StatusTypeDef HAL_CRYP_DeInit ( CRYP_HandleTypeDef hcryp)

DeInitializes the CRYP peripheral.

Parameters:
hcryppointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module
Return values:
HALstatus

Definition at line 654 of file stm32f4xx_hal_cryp.c.

References __HAL_CRYP_DISABLE, CRYP_HandleTypeDef::CrypInCount, CRYP_HandleTypeDef::CrypOutCount, HAL_CRYP_MspDeInit(), HAL_CRYP_PHASE_READY, HAL_CRYP_STATE_BUSY, HAL_CRYP_STATE_RESET, CRYP_HandleTypeDef::Phase, and CRYP_HandleTypeDef::State.

HAL_StatusTypeDef HAL_CRYP_Init ( CRYP_HandleTypeDef hcryp)

Initializes the CRYP according to the specified parameters in the CRYP_InitTypeDef and creates the associated handle.

Parameters:
hcryppointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module
Return values:
HALstatus

Definition at line 608 of file stm32f4xx_hal_cryp.c.

References assert_param, CRYP_HandleTypeDef::CrypInCount, CRYP_HandleTypeDef::CrypOutCount, CRYP_InitTypeDef::DataType, HAL_CRYP_MspInit(), HAL_CRYP_PHASE_READY, HAL_CRYP_STATE_BUSY, HAL_CRYP_STATE_READY, HAL_CRYP_STATE_RESET, CRYP_HandleTypeDef::Init, IS_CRYP_DATATYPE, IS_CRYP_KEYSIZE, CRYP_InitTypeDef::KeySize, CRYP_HandleTypeDef::Lock, CRYP_HandleTypeDef::Phase, and CRYP_HandleTypeDef::State.

DeInitializes CRYP MSP.

Parameters:
hcryppointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module
Return values:
None

Definition at line 709 of file stm32f4xx_hal_cryp.c.

Referenced by HAL_CRYP_DeInit().

Initializes the CRYP MSP.

Parameters:
hcryppointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module
Return values:
None

Definition at line 694 of file stm32f4xx_hal_cryp.c.

Referenced by HAL_CRYP_Init().