STM32G474xx HAL用户手册
stm32g4xx_hal_cryp_ex.h
转到此文件的文档。
00001 /**
00002   ******************************************************************************
00003   * @file    stm32g4xx_hal_cryp_ex.h
00004   * @author  MCD Application Team
00005   * @brief   Header file of CRYPEx HAL module.
00006   ******************************************************************************
00007   * @attention
00008   *
00009   * Copyright (c) 2019 STMicroelectronics.
00010   * All rights reserved.
00011   *
00012   * This software is licensed under terms that can be found in the LICENSE file
00013   * in the root directory of this software component.
00014   * If no LICENSE file comes with this software, it is provided AS-IS.
00015   *
00016   ******************************************************************************
00017   */
00018 
00019 /* Define to prevent recursive inclusion -------------------------------------*/
00020 #ifndef STM32G4xx_HAL_CRYP_EX_H
00021 #define STM32G4xx_HAL_CRYP_EX_H
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 /* Includes ------------------------------------------------------------------*/
00028 #include "stm32g4xx_hal_def.h"
00029 
00030 /** @addtogroup STM32G4xx_HAL_Driver
00031   * @{
00032   */
00033 
00034 #if defined(AES)
00035 
00036 /** @defgroup CRYPEx CRYPEx
00037   * @brief CRYP Extension HAL module driver.
00038   * @{
00039   */
00040 
00041 /* Exported types ------------------------------------------------------------*/
00042 /* Exported constants --------------------------------------------------------*/
00043 /* Private types -------------------------------------------------------------*/
00044 /** @defgroup CRYPEx_Private_Types CRYPEx Private Types
00045   * @{
00046   */
00047 
00048 /**
00049   * @}
00050   */
00051 
00052 /* Private variables ---------------------------------------------------------*/
00053 /** @defgroup CRYPEx_Private_Variables CRYPEx Private Variables
00054   * @{
00055   */
00056 
00057 /**
00058   * @}
00059   */
00060 
00061 /* Private constants ---------------------------------------------------------*/
00062 /** @defgroup CRYPEx_Private_Constants CRYPEx Private Constants
00063   * @{
00064   */
00065 
00066 /**
00067   * @}
00068   */
00069 
00070 /* Private macros ------------------------------------------------------------*/
00071 /** @defgroup CRYPEx_Private_Macros CRYPEx Private Macros
00072   * @{
00073   */
00074 
00075 /**
00076   * @}
00077   */
00078 
00079 /* Private functions ---------------------------------------------------------*/
00080 /** @defgroup CRYPEx_Private_Functions CRYPEx Private Functions
00081   * @{
00082   */
00083 
00084 /**
00085   * @}
00086   */
00087 
00088 /* Exported functions --------------------------------------------------------*/
00089 /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
00090   * @{
00091   */
00092 
00093 /** @addtogroup CRYPEx_Exported_Functions_Group1
00094   * @{
00095   */
00096 HAL_StatusTypeDef HAL_CRYPEx_AESGCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, const uint32_t *AuthTag,
00097                                                     uint32_t Timeout);
00098 HAL_StatusTypeDef HAL_CRYPEx_AESCCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, const uint32_t *AuthTag,
00099                                                     uint32_t Timeout);
00100 
00101 /**
00102   * @}
00103   */
00104 
00105 /** @addtogroup CRYPEx_Exported_Functions_Group2
00106   * @{
00107   */
00108 void  HAL_CRYPEx_EnableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
00109 void  HAL_CRYPEx_DisableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
00110 
00111   * @}
00112   */
00113 
00114 /**
00115   * @}
00116   */
00117 
00118 /**
00119   * @}
00120   */
00121   */
00122 #endif /* AES */
00123 
00124 /**
00125   * @}
00126   */
00127 
00128 #ifdef __cplusplus
00129 }
00130 #endif
00131 
00132 #endif /* STM32G4xx_HAL_CRYP_EX_H */