1 /**
2 ******************************************************************************
3 * @file stm32l1xx_hal_cryp_ex.c
4 * @author MCD Application Team
5 * @brief CRYPEx HAL module driver.
6 *
7 * This file provides firmware functions to manage the following
8 * functionalities of the Cryptography (CRYP) extension peripheral:
9 * + Computation completed callback.
10 *
11 ******************************************************************************
12 * @attention
13 *
14 * Copyright (c) 2017 STMicroelectronics.
15 * All rights reserved.
16 *
17 * This software is licensed under terms that can be found in the LICENSE file
18 * in the root directory of this software component.
19 * If no LICENSE file comes with this software, it is provided AS-IS.
20 *
21 ******************************************************************************
22 */
23
24 /* Includes ------------------------------------------------------------------*/
25 #include "stm32l1xx_hal.h"
26
27 #ifdef HAL_CRYP_MODULE_ENABLED
28
29 /** @addtogroup STM32L1xx_HAL_Driver
30 * @{
31 */
32
33 /** @defgroup CRYPEx CRYPEx
34 * @brief CRYP HAL Extended module driver.
35 * @{
36 */
37
38 #if defined(STM32L162xC) || defined(STM32L162xCA) || defined(STM32L162xD) || defined(STM32L162xE) || defined(STM32L162xDX)
39
40 /* Private typedef -----------------------------------------------------------*/
41 /* Private define ------------------------------------------------------------*/
42 /* Private macro -------------------------------------------------------------*/
43 /* Private variables ---------------------------------------------------------*/
44 /* Private function prototypes -----------------------------------------------*/
45 /* Private functions ---------------------------------------------------------*/
46
47 /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
48 * @{
49 */
50
51
52 /** @defgroup CRYPEx_Exported_Functions_Group1 Extended features functions
53 * @brief Extended features functions.
54 *
55 @verbatim
56 ===============================================================================
57 ##### Extended features functions #####
58 ===============================================================================
59 [..] This section provides callback functions:
60 (+) Computation completed.
61
62 @endverbatim
63 * @{
64 */
65
66 /**
67 * @brief Computation completed callbacks.
68 * @param hcryp pointer to a CRYP_HandleTypeDef structure that contains
69 * the configuration information for CRYP module
70 * @retval None
71 */
HAL_CRYPEx_ComputationCpltCallback(CRYP_HandleTypeDef * hcryp)72 __weak void HAL_CRYPEx_ComputationCpltCallback(CRYP_HandleTypeDef *hcryp)
73 {
74 /* Prevent unused argument(s) compilation warning */
75 UNUSED(hcryp);
76
77 /* NOTE : This function Should not be modified, when the callback is needed,
78 the HAL_CRYPEx_ComputationCpltCallback could be implemented in the user file
79 */
80 }
81
82 /**
83 * @}
84 */
85
86
87 /**
88 * @}
89 */
90
91 #endif /* STM32L162xC || STM32L162xCA || STM32L162xD || STM32L162xE || STM32L162xDX*/
92
93 /**
94 * @}
95 */
96
97 /**
98 * @}
99 */
100
101 #endif /* HAL_CRYP_MODULE_ENABLED */
102