2 ******************************************************************************
3 * @file stm32l0xx_hal_cryp_ex.c
4 * @author MCD Application Team
6 * @date 06-February-2015
7 * @brief CRYPEx HAL module driver.
9 * This file provides firmware functions to manage the following
10 * functionalities of the Cryptography (CRYP) extension peripheral:
11 * + Computation completed callback.
13 ******************************************************************************
16 * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
18 * Redistribution and use in source and binary forms, with or without modification,
19 * are permitted provided that the following conditions are met:
20 * 1. Redistributions of source code must retain the above copyright notice,
21 * this list of conditions and the following disclaimer.
22 * 2. Redistributions in binary form must reproduce the above copyright notice,
23 * this list of conditions and the following disclaimer in the documentation
24 * and/or other materials provided with the distribution.
25 * 3. Neither the name of STMicroelectronics nor the names of its contributors
26 * may be used to endorse or promote products derived from this software
27 * without specific prior written permission.
29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
30 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
32 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
33 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
35 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
36 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
37 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 ******************************************************************************
43 #if defined (STM32L041xx) || defined (STM32L061xx) || defined (STM32L062xx) || defined (STM32L063xx) || (STM32L081xx) || defined (STM32L082xx) || defined (STM32L083xx)
44 /* Includes ------------------------------------------------------------------*/
45 #include "stm32l0xx_hal.h"
47 #ifdef HAL_CRYP_MODULE_ENABLED
48 /** @addtogroup STM32L0xx_HAL_Driver
52 /** @defgroup CRYPEx CRYPEx
53 * @brief CRYP HAL Extended module driver.
58 /* Private typedef -----------------------------------------------------------*/
59 /* Private define ------------------------------------------------------------*/
60 /* Private macro -------------------------------------------------------------*/
61 /* Private variables ---------------------------------------------------------*/
62 /* Private function prototypes -----------------------------------------------*/
63 /* Private functions ---------------------------------------------------------*/
65 /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
70 /** @defgroup CRYPEx_Exported_Functions_Group1 Extended features functions
71 * @brief Extended features functions.
74 ===============================================================================
75 ##### Extended features functions #####
76 ===============================================================================
77 [..] This section provides callback functions:
78 (+) Computation completed.
85 * @brief Computation completed callbacks.
86 * @param hcryp: pointer to a CRYP_HandleTypeDef structure that contains
87 * the configuration information for CRYP module
90 __weak void HAL_CRYPEx_ComputationCpltCallback(CRYP_HandleTypeDef *hcryp)
92 /* NOTE : This function Should not be modified, when the callback is needed,
93 the HAL_CRYP_ComputationCpltCallback could be implemented in the user file
113 #endif /* HAL_CRYP_MODULE_ENABLED */
114 #endif /* STM32L041xx || STM32L061xx || STM32L062xx || STM32L063xx || STM32L081xx || STM32L082xx || STM32L083xx */
115 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/