STM32F479xx HAL User Manual
stm32f4xx_hal_cryp_ex.h
Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    stm32f4xx_hal_cryp_ex.h
00004   * @author  MCD Application Team
00005   * @brief   Header file of CRYP HAL Extension module.
00006   ******************************************************************************
00007   * @attention
00008   *
00009   * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
00010   * All rights reserved.</center></h2>
00011   *
00012   * This software component is licensed by ST under BSD 3-Clause license,
00013   * the "License"; You may not use this file except in compliance with the
00014   * License. You may obtain a copy of the License at:
00015   *                        opensource.org/licenses/BSD-3-Clause
00016   *
00017   ******************************************************************************
00018   */
00019 
00020 /* Define to prevent recursive inclusion -------------------------------------*/
00021 #ifndef __STM32F4xx_HAL_CRYP_EX_H
00022 #define __STM32F4xx_HAL_CRYP_EX_H
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 /* Includes ------------------------------------------------------------------*/
00029 #include "stm32f4xx_hal_def.h"
00030 
00031 /** @addtogroup STM32F4xx_HAL_Driver
00032   * @{
00033   */
00034 
00035 /** @addtogroup CRYPEx
00036   * @{
00037   */
00038 /* Exported types ------------------------------------------------------------*/
00039 /** @defgroup CRYPEx_Exported_Types CRYPEx Exported types
00040   * @{
00041   */
00042 
00043 /**
00044   * @}
00045   */
00046 /* Exported constants --------------------------------------------------------*/
00047 /** @defgroup CRYPEx_Exported_Constants CRYPEx Exported constants
00048   * @{
00049   */
00050 
00051 /**
00052   * @}
00053   */
00054 
00055 /* Private types -------------------------------------------------------------*/
00056 /** @defgroup CRYPEx_Private_Types CRYPEx Private Types
00057   * @{
00058   */
00059 
00060 /**
00061   * @}
00062   */
00063 
00064 /* Private variables ---------------------------------------------------------*/
00065 /** @defgroup CRYPEx_Private_Variables CRYPEx Private Variables
00066   * @{
00067   */
00068 
00069 /**
00070   * @}
00071   */
00072 
00073 /* Private constants ---------------------------------------------------------*/
00074 /** @defgroup CRYPEx_Private_Constants CRYPEx Private Constants
00075   * @{
00076   */
00077 
00078 /**
00079   * @}
00080   */
00081 
00082 /* Private macros ------------------------------------------------------------*/
00083 /** @defgroup CRYPEx_Private_Macros CRYPEx Private Macros
00084   * @{
00085   */
00086 
00087 /**
00088   * @}
00089  */
00090 
00091 /* Private functions ---------------------------------------------------------*/
00092 /** @defgroup CRYPEx_Private_Functions CRYPEx Private Functions
00093   * @{
00094   */
00095 
00096 /**
00097   * @}
00098   */
00099 
00100 /* Exported functions --------------------------------------------------------*/
00101 /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
00102   * @{
00103   */
00104 #if defined (CRYP) || defined (AES)
00105 /** @addtogroup CRYPEx_Exported_Functions_Group1
00106   * @{
00107   */
00108 HAL_StatusTypeDef HAL_CRYPEx_AESGCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
00109 HAL_StatusTypeDef HAL_CRYPEx_AESCCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
00110 /**
00111   * @}
00112   */
00113 #endif /* CRYP||AES */
00114 
00115 #if defined (AES)
00116 /** @addtogroup CRYPEx_Exported_Functions_Group2
00117   * @{
00118   */
00119 void  HAL_CRYPEx_EnableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
00120 void  HAL_CRYPEx_DisableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
00121 /**
00122   * @}
00123   */
00124 #endif /* AES */
00125 
00126 /**
00127   * @}
00128   */
00129 
00130 /**
00131   * @}
00132   */
00133 
00134 /**
00135   * @}
00136   */
00137 
00138 #ifdef __cplusplus
00139 }
00140 #endif
00141 
00142 #endif /* __STM32F4xx_HAL_CRYP_EX_H */
00143 
00144 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/