1 /**
2   ******************************************************************************
3   * @file    stm32mp1xx_hal_cryp_ex.h
4   * @author  MCD Application Team
5   * @brief   Header file of CRYP HAL Extension module.
6   ******************************************************************************
7   * @attention
8   *
9   * Copyright (c) 2019 STMicroelectronics.
10   * All rights reserved.
11   *
12   * This software is licensed under terms that can be found in the LICENSE file
13   * in the root directory of this software component.
14   * If no LICENSE file comes with this software, it is provided AS-IS.
15   *
16   ******************************************************************************
17   */
18 
19 /* Define to prevent recursive inclusion -------------------------------------*/
20 #ifndef STM32MP1xx_HAL_CRYP_EX_H
21 #define STM32MP1xx_HAL_CRYP_EX_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /* Includes ------------------------------------------------------------------*/
28 #include "stm32mp1xx_hal_def.h"
29 
30 /** @addtogroup STM32MP1xx_HAL_Driver
31   * @{
32   */
33 #if defined (CRYP1) || defined (CRYP2)
34 /** @addtogroup CRYPEx
35   * @{
36   */
37 
38 /* Exported types ------------------------------------------------------------*/
39 /* Exported constants --------------------------------------------------------*/
40 
41 /* Private types -------------------------------------------------------------*/
42 /** @defgroup CRYPEx_Private_Types CRYPEx Private Types
43   * @{
44   */
45 
46 /**
47   * @}
48   */
49 
50 /* Private variables ---------------------------------------------------------*/
51 /** @defgroup CRYPEx_Private_Variables CRYPEx Private Variables
52   * @{
53   */
54 
55 /**
56   * @}
57   */
58 
59 /* Private constants ---------------------------------------------------------*/
60 /** @defgroup CRYPEx_Private_Constants CRYPEx Private Constants
61   * @{
62   */
63 
64 /**
65   * @}
66   */
67 
68 /* Private macros ------------------------------------------------------------*/
69 /** @defgroup CRYPEx_Private_Macros CRYPEx Private Macros
70   * @{
71   */
72 
73 /**
74   * @}
75  */
76 
77 /* Private functions ---------------------------------------------------------*/
78 /** @defgroup CRYPEx_Private_Functions CRYPEx Private Functions
79   * @{
80   */
81 
82 /**
83   * @}
84   */
85 
86 /* Exported functions --------------------------------------------------------*/
87 /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
88   * @{
89   */
90 
91 /** @addtogroup CRYPEx_Exported_Functions_Group1
92   * @{
93   */
94 HAL_StatusTypeDef HAL_CRYPEx_AESGCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
95 HAL_StatusTypeDef HAL_CRYPEx_AESCCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
96 
97 
98 /**
99   * @}
100   */
101 
102 
103 /**
104   * @}
105   */
106 
107 /**
108   * @}
109   */
110 #endif /* CRYP1 || CRYP2 */
111 /**
112   * @}
113   */
114 
115 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif /* STM32MP1xx_HAL_CRYP_EX_H */
121