2 ******************************************************************************
3 * @file stm32l1xx_hal_cryp_ex.c
4 * @author MCD Application Team
6 * @date 5-September-2014
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) 2014 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 /* Includes ------------------------------------------------------------------*/
44 #include "stm32l1xx_hal.h"
46 #ifdef HAL_CRYP_MODULE_ENABLED
48 /** @addtogroup STM32L1xx_HAL_Driver
52 /** @defgroup CRYPEx CRYPEx
53 * @brief CRYP HAL Extended module driver.
57 #if defined(STM32L162xC) || defined(STM32L162xCA) || defined(STM32L162xD) || defined(STM32L162xE)
59 /* Private typedef -----------------------------------------------------------*/
60 /* Private define ------------------------------------------------------------*/
61 /* Private macro -------------------------------------------------------------*/
62 /* Private variables ---------------------------------------------------------*/
63 /* Private function prototypes -----------------------------------------------*/
64 /* Private functions ---------------------------------------------------------*/
66 /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
71 /** @defgroup CRYPEx_Exported_Functions_Group1 Extended features functions
72 * @brief Extended features functions.
75 ===============================================================================
76 ##### Extended features functions #####
77 ===============================================================================
78 [..] This section provides callback functions:
79 (+) Computation completed.
86 * @brief Computation completed callbacks.
87 * @param hcryp: pointer to a CRYP_HandleTypeDef structure that contains
88 * the configuration information for CRYP module
91 __weak void HAL_CRYPEx_ComputationCpltCallback(CRYP_HandleTypeDef *hcryp)
93 /* NOTE : This function Should not be modified, when the callback is needed,
94 the HAL_CRYP_ComputationCpltCallback could be implemented in the user file
107 #endif /* STM32L162xC || STM32L162xCA || STM32L162xD || STM32L162xE*/
117 #endif /* HAL_CRYP_MODULE_ENABLED */
118 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/